@font-face { font-family: 'Nulshock'; src: url('/fonts/nulshock-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/barlow-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/barlow-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/barlow-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/barlow-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/barlow-condensed-latin-700-italic.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/barlow-condensed-latin-800-italic.woff2') format('woff2'); font-weight: 800; font-style: italic; font-display: swap; }

:root {
  --night: #29242B; --night-2: #1E1A20; --night-3: #3A343D;
  --sun: #F9C92E; --sun-dark: #E2B419; --rust: #B4532A;
  --sand: #F2ECE2; --line: #DDD6CB; --paper: #FFFFFF; --ink: #29242B; --muted: #6A636D;
  --ok: #2E9E5B; --warn: #EE8A1E; --full: #D63B2F; --soon: #5E6E7C; --err: #B3261E;
  --display: 'Nulshock', 'Arial Black', Impact, sans-serif;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px; --gap: clamp(1rem, 3vw, 2rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 70ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

/* Typografie: Nulshock voor merk-koppen, condensed italic voor de rally-sectiekoppen */
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.05; }
h1, .display { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 5.5vw, 3.6rem); letter-spacing: .01em; overflow-wrap: break-word; }
h2, .title { font-family: var(--cond); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(1.8rem, 4.2vw, 2.8rem); letter-spacing: .01em; }
h3 { font-family: var(--cond); font-weight: 700; font-style: italic; text-transform: uppercase; font-size: 1.45rem; }
.title-bar { position: relative; padding-bottom: .35em; }
.title-bar::after { content: ''; position: absolute; left: 0; bottom: 0; width: 64px; height: 6px; background: var(--sun); transform: skewX(-20deg); }
.center .title-bar::after { left: 50%; margin-left: -32px; }
.lead { font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.5; }
.center { text-align: center; }

/* Knoppen: schuine rally-vorm */
.btn { --bg: var(--sun); --fg: var(--night); --bd: var(--sun); position: relative; z-index: 0; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .6rem 1.6rem; border: 0; background: none; color: var(--fg); font: italic 700 1.12rem/1 var(--cond); text-transform: uppercase; letter-spacing: .03em; text-decoration: none; cursor: pointer; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--bg); border: 2px solid var(--bd); transform: skewX(-12deg); transition: background-color .15s, border-color .15s; }
.btn:hover::before { --bg: var(--sun-dark); --bd: var(--sun-dark); }
.btn-dark { --bg: var(--night); --fg: #fff; --bd: var(--night); }
.btn-dark:hover::before { --bg: #000; --bd: #000; }
.btn-line { --bg: transparent; --fg: currentColor; --bd: currentColor; }
.btn-line:hover::before { --bg: rgba(255,255,255,.12); --bd: currentColor; }
.btn-white { --bg: #fff; --fg: var(--night); --bd: #fff; }
.btn-block { width: 100%; }
.btn-small { min-height: 38px; padding: .35rem 1rem; font-size: 1rem; }
.link { color: var(--rust); font-weight: 600; text-underline-offset: 3px; }
.more { font: italic 700 1.1rem var(--cond); text-transform: uppercase; color: var(--rust); text-decoration: none; }
.more::after { content: ' ›'; }

/* Bovenbalk en header */
.demo-bar { background: var(--rust); color: #fff; font-size: .88rem; text-align: center; padding: .3rem 1rem; }
.topbar { background: var(--night-2); color: rgba(255,255,255,.8); font-size: .9rem; }
.topbar .wrap { display: flex; align-items: center; gap: 1rem; min-height: 36px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--sun); }
.topbar .right { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.langs { display: flex; gap: .15rem; }
.langs a { padding: .1rem .4rem; font: 600 .85rem var(--cond); text-transform: uppercase; letter-spacing: .05em; }
.langs a[aria-current="true"] { background: var(--sun); color: var(--night); }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--night); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; gap: 1rem; }
.brand { display: block; width: 270px; }
.brand img { width: 100%; }
.nav { display: flex; gap: .2rem; align-items: center; }
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }
.nav a { padding: .5rem .7rem; text-decoration: none; font: italic 700 1.12rem var(--cond); text-transform: uppercase; letter-spacing: .03em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--sun); }
.nav-toggle, .mobile-nav { display: none; }
@media (max-width: 1080px) {
  .site-header .wrap { grid-template-columns: auto 1fr; min-height: 64px; }
  .nav-left, .nav-right { display: none; }
  .brand { width: 170px; }
  .nav-toggle { display: inline-flex; justify-self: end; align-items: center; background: none; border: 2px solid rgba(255,255,255,.4); color: #fff; min-height: 42px; padding: 0 .9rem; font: italic 700 1.05rem var(--cond); text-transform: uppercase; cursor: pointer; }
  .mobile-nav.open { display: block; background: var(--night); border-top: 1px solid rgba(255,255,255,.1); padding: .5rem var(--gap) 1.25rem; }
  .mobile-nav a { display: block; padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.08); text-decoration: none; font: italic 700 1.3rem var(--cond); text-transform: uppercase; }
  .mobile-nav .btn { margin-top: 1rem; }
  .topbar .hide-sm { display: none; }
}

/* Hero met wisselende foto's en aftelklok */
.hero { position: relative; color: #fff; background: var(--night); min-height: min(86vh, 780px); display: flex; align-items: flex-end; overflow: hidden; }
.hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero .slide.on { opacity: 1; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,26,32,.75) 0%, rgba(30,26,32,.3) 55%, rgba(30,26,32,0) 100%), linear-gradient(0deg, rgba(30,26,32,.8) 0%, rgba(30,26,32,0) 45%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; padding-block: 7rem 5.5rem; width: min(100% - 2 * var(--gap), var(--wrap)); }
.hero h1 { max-width: 16ch; margin-bottom: .4em; }
.hero .lead { max-width: 46ch; margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 1.3rem; transform: translateX(-50%); display: flex; gap: .5rem; }
.hero-dots button { width: 34px; height: 5px; border: 0; background: rgba(255,255,255,.4); cursor: pointer; transform: skewX(-20deg); padding: 0; }
.hero-dots button.on { background: var(--sun); }
.countdown { display: block; color: #fff; position: absolute; z-index: 3; right: var(--gap); bottom: 3.4rem; background: rgba(30,26,32,.85); border-left: 6px solid var(--sun); padding: .9rem 1.3rem; text-decoration: none; max-width: 300px; }
.countdown b { display: block; font: italic 800 2.6rem/1 var(--cond); text-transform: uppercase; color: var(--sun); }
.countdown span { display: block; font: italic 700 1.05rem/1.2 var(--cond); text-transform: uppercase; }
.countdown small { display: block; color: rgba(255,255,255,.75); font-size: .88rem; margin-top: .2rem; }
@media (max-width: 760px) { .countdown { position: relative; right: auto; bottom: auto; margin: 1.5rem 0 0; } .hero .wrap { padding-block: 6rem 4rem; } }
.hero-page { min-height: 52vh; }
.hero-page .wrap { padding-block: 6rem 3rem; }
.hero-page img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.crumb { font: italic 700 1.05rem var(--cond); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .4rem; }
.crumb a { text-decoration: none; color: var(--sun); }

/* Leppink-band */
.heritage { background: var(--sun); color: var(--night); position: relative; }
.heritage .wrap { display: grid; gap: 1rem 2rem; align-items: center; padding-block: 1.6rem; }
.heritage strong { display: block; font: italic 800 1.6rem/1.1 var(--cond); text-transform: uppercase; margin-bottom: .25rem; }
.heritage p { margin: 0; font-size: 1.05rem; }
@media (min-width: 860px) { .heritage .wrap { grid-template-columns: 1fr auto; } }

section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-head h2 { margin: 0; }
.bg-sand { background: var(--sand); }
.bg-night { background: var(--night); color: #fff; }

/* Beschikbaarheid */
.avail { display: inline-flex; align-items: center; gap: .4rem; font: italic 700 .98rem/1 var(--cond); text-transform: uppercase; letter-spacing: .03em; padding: .38rem .7rem .32rem; color: #fff; background: var(--ok); transform: skewX(-10deg); }
.avail > * { transform: skewX(10deg); }
.avail::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; opacity: .9; transform: skewX(10deg); }
.avail-bijna { background: var(--warn); }
.avail-vol { background: var(--full); }
.avail-binnenkort, .avail-afgelopen { background: var(--soon); }

/* Reizen-mozaïek */
.mosaic { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .mosaic { grid-template-columns: 1.6fr 1fr; grid-auto-rows: 300px; } .mosaic .tile { min-height: 0; } .mosaic .tile:first-child { grid-row: span 2; } .mosaic.two { grid-template-columns: 1fr 1fr; } .mosaic.two .tile { grid-row: span 2; } }
.tile { position: relative; display: block; min-height: 320px; overflow: hidden; color: #fff; text-decoration: none; background: var(--night); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,17,22,.92) 0%, rgba(20,17,22,.35) 50%, rgba(20,17,22,0) 75%); }
.tile .avail { position: absolute; z-index: 2; top: 1rem; left: 1.1rem; }
.tile .in { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 1.2rem 1.3rem; }
.tile .country { font: italic 700 1.05rem var(--cond); text-transform: uppercase; color: var(--sun); letter-spacing: .04em; }
.tile h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: .1rem 0 .35rem; }
.tile .meta { display: flex; flex-wrap: wrap; gap: .2rem 1rem; font-size: .96rem; color: rgba(255,255,255,.85); }
.tile .price { font: italic 800 1.4rem var(--cond); }
.tile .price small { font-family: var(--body); font-style: normal; font-weight: 500; font-size: .85rem; opacity: .8; }

/* Zo werkt het */
.how { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: how; }
.how div { border-top: 4px solid var(--sun); padding-top: 1rem; }
.how h3 { color: #fff; }
.how p { color: rgba(255,255,255,.8); margin: 0; }

.split { display: grid; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.split > * { min-width: 0; }
.split img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Verhalen */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card-post { display: flex; flex-direction: column; text-decoration: none; background: #fff; border-bottom: 4px solid var(--sun); }
.card-post .img { aspect-ratio: 3/2; overflow: hidden; background: var(--sand); }
.card-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card-post:hover img { transform: scale(1.04); }
.card-post .in { padding: 1rem 0 1.2rem; }
.card-post time { font: 600 .9rem var(--cond); text-transform: uppercase; letter-spacing: .05em; color: var(--rust); }
.card-post h3 { font-size: 1.5rem; margin: .2rem 0 .4rem; }
.card-post p { margin: 0; color: var(--muted); }

/* Partners */
.partners { border-top: 1px solid var(--line); padding-block: 2.2rem; }
.partners .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 3rem; justify-content: center; }
.partners h2 { font-size: 1.2rem; margin: 0; color: var(--muted); }
.partners a { font: italic 800 1.7rem var(--cond); text-transform: uppercase; color: #9A949C; text-decoration: none; letter-spacing: .04em; }
.partners a:hover { color: var(--night); }

/* Reispagina */
.trip-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; align-items: center; font-weight: 600; }
.trip-layout { display: grid; gap: 2.5rem; }
@media (min-width: 980px) { .trip-layout { grid-template-columns: minmax(0, 1fr) 370px; align-items: start; } }
.trip-layout > * { min-width: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 1.6rem 0 2rem; }
.facts div { background: #fff; padding: .9rem 1rem; }
.facts b { display: block; font: italic 800 1.6rem/1.1 var(--cond); text-transform: uppercase; }
.facts span { font-size: .9rem; color: var(--muted); }
.book-box { background: var(--night); color: #fff; padding: 1.5rem; position: sticky; top: 96px; }
.book-box .price { font: italic 800 2.6rem/1 var(--cond); color: var(--sun); }
.book-box .avail { margin: .8rem 0 .4rem; }
.book-box h3 { font-size: 1.15rem; color: rgba(255,255,255,.75); margin: 1.2rem 0 .4rem; }
.terms { list-style: none; margin: 0 0 1.2rem; padding: 0; font-size: .97rem; }
.terms li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.book-box .btn + .btn { margin-top: .8rem; }
.book-box .note { font-size: .9rem; color: rgba(255,255,255,.7); margin: .9rem 0 0; }
.level { display: inline-flex; gap: 3px; vertical-align: middle; }
.level i { width: 12px; height: 12px; background: var(--line); transform: skewX(-15deg); }
.level i.on { background: var(--rust); }
.book-box .level i { background: rgba(255,255,255,.25); }
.book-box .level i.on, .tile .level i.on { background: var(--sun); }
.tile .level i { background: rgba(255,255,255,.3); }
.lists { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-block: 2rem; }
.lists h3 { font-size: 1.3rem; padding-bottom: .4rem; border-bottom: 4px solid var(--sun); }
.lists ul { list-style: none; padding: 0; margin: 0; }
.lists li { padding: .4rem 0 .4rem 1.4rem; position: relative; border-bottom: 1px solid var(--line); }
.lists li::before { content: ''; position: absolute; left: 0; top: .9rem; width: .6rem; height: .6rem; background: var(--night); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.lists .excluded li::before { background: var(--muted); clip-path: none; height: 2px; top: 1.1rem; }

/* Roadbook-dagprogramma */
.roadbook { border: 3px solid var(--night); background: #fff; }
.rb-row { display: grid; grid-template-columns: 80px 88px 1fr; border-top: 2px solid var(--night); }
.rb-row:first-child { border-top: 0; }
.rb-num { background: var(--night); color: var(--sun); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .75rem .25rem; line-height: 1; }
.rb-num span { font: 600 .8rem var(--cond); text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: .2rem; letter-spacing: .06em; }
.rb-num b { font: italic 800 1.9rem var(--cond); }
.rb-tulip { border-right: 2px dashed var(--line); display: grid; place-items: center; padding: .5rem; }
.rb-tulip svg { width: 56px; height: 56px; }
.rb-text { padding: 1rem 1.2rem; }
.rb-text h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.rb-text p { margin: 0; }
@media (max-width: 560px) { .rb-row { grid-template-columns: 60px 1fr; } .rb-tulip { display: none; } .rb-num b { font-size: 1.5rem; } }
.gallery { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.gallery a { display: block; aspect-ratio: 3/2; overflow: hidden; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* Formulieren */
.form { display: grid; gap: 1rem; }
.form-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; }
legend { font: italic 800 1.5rem var(--cond); text-transform: uppercase; margin-bottom: .8rem; padding: 0; }
label { display: block; font-weight: 600; margin-bottom: .3rem; }
label .opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=password], input[type=number], input[type=file], select, textarea { width: 100%; min-height: 48px; padding: .65rem .8rem; border: 2px solid var(--line); border-radius: 0; font: inherit; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--night); box-shadow: 0 0 0 3px rgba(249,201,46,.5); }
textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; }
.check input { width: 22px; height: 22px; margin-top: .15rem; flex: none; accent-color: var(--night); }
.choice { display: grid; gap: .6rem; }
.choice label { display: flex; gap: .8rem; align-items: flex-start; border: 2px solid var(--line); padding: .85rem 1rem; font-weight: 400; cursor: pointer; }
.choice label:has(input:checked) { border-color: var(--night); background: var(--sand); }
.choice input { margin-top: .3rem; accent-color: var(--night); width: 20px; height: 20px; flex: none; }
.choice strong { display: block; }
.option-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.option-row select { width: auto; min-width: 100px; }
.option-row small { display: block; color: var(--muted); }
.alert { padding: .9rem 1.1rem; margin-bottom: 1.25rem; border-left: 5px solid; }
.alert-err { background: #FBE9E4; border-color: var(--err); }
.alert-ok { background: #E4F3EA; border-color: var(--ok); }
.alert-info { background: var(--sand); border-color: var(--rust); }
.alert ul { margin: .25rem 0 0; padding-left: 1.2rem; }
.summary { background: var(--sand); padding: 1.25rem; }
.summary table { width: 100%; border-collapse: collapse; }
.summary td { padding: .4rem 0; vertical-align: top; }
.summary td:last-child { text-align: right; white-space: nowrap; padding-left: .5rem; }
.summary tr.total td { border-top: 2px solid var(--night); font-weight: 700; padding-top: .7rem; }
.summary h2 { font-size: 1.5rem; }

/* FAQ en tekstpagina's */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2.5rem 1rem 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .25rem; top: .6rem; font: italic 800 1.8rem var(--cond); color: var(--rust); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding-bottom: 1rem; margin: 0; }
.faq h2 { margin-top: 2.5rem; font-size: 1.8rem; }
.prose h2 { font-size: 2rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .35rem; }
.post-cover { width: 100%; aspect-ratio: 16/8; object-fit: cover; margin-bottom: 2rem; }

/* Footer */
.site-footer { background: var(--night-2); color: rgba(255,255,255,.82); padding-block: 3rem 2rem; font-size: .97rem; }
.site-footer .cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer h2 { font-size: 1.3rem; color: #fff; margin-bottom: .6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .88rem; color: rgba(255,255,255,.6); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* Deelnemersomgeving */
.portal-head { background: var(--night); color: #fff; padding-block: 2rem 1.5rem; }
.portal-head h1 { font-size: clamp(1.5rem, 4vw, 2.4rem); margin: 0; }
.portal-nav { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: 1.1rem; }
.portal-nav a, .portal-nav button { color: #fff; padding: .45rem .9rem; text-decoration: none; background: rgba(255,255,255,.1); border: 0; font: italic 700 1.05rem var(--cond); text-transform: uppercase; cursor: pointer; }
.portal-nav a[aria-current="page"] { background: var(--sun); color: var(--night); }
.card { background: #fff; border: 1px solid var(--line); padding: 1.25rem; margin-bottom: 1.25rem; }
.card h2 { font-size: 1.6rem; }
.pay-scroll { overflow-x: auto; }
.pay-table { width: 100%; border-collapse: collapse; }
.pay-table th, .pay-table td { text-align: left; padding: .65rem .35rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pay-table th { font: 600 .85rem var(--cond); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.pay-table .r { text-align: right; }
.badge { display: inline-block; font-size: .82rem; font-weight: 600; padding: .15rem .55rem; background: #E8E2D8; }
.badge.ok { background: #D6EEDF; color: #1E6B3E; }
.badge.open { background: #FCEFC3; color: #6F5600; }
.badge.err { background: #F6D8D0; color: var(--err); }
.progress { height: 10px; background: #E8E2D8; overflow: hidden; margin: .5rem 0 .25rem; }
.progress span { display: block; height: 100%; background: var(--rust); }
.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.people { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.people li { background: var(--sand); padding: .35rem .8rem; }
.album { display: grid; gap: .4rem; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.album a { display: block; aspect-ratio: 1; overflow: hidden; }
.album img { width: 100%; height: 100%; object-fit: cover; }
.auth-box { max-width: 440px; margin: 3rem auto; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
