/* weinbau-museum.ch – design follows the approved proposal (Webkonzept 2027): brand colours and fonts of the
   previous site (Rebgrün, Anthrazit, Traubenschwarz; Merriweather + Raleway), plus Kalkweiss and Eichenholz. */
:root {
    --vine: #558B2F;
    --vine-2: #689F38;
    --vine-dark: #33691e;
    --vine-soft: #eef5e7;
    --ink: #212121;
    --grape: #1a1117;
    --kalk: #F5F2EA;
    --kalk-2: #ECE6D8;
    --eiche: #9A7148;
    --muted: #5f5a52;
    --line: rgba(33, 33, 33, .12);
    --serif: "Merriweather", Georgia, serif;
    --sans: "Raleway", "Helvetica Neue", Arial, sans-serif;
    --r: 22px;
    --max: 1240px;
    --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--ink); background: #fff; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--vine); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; }
.icon { flex: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 900px; }
.muted { color: var(--muted); }
.note { color: var(--muted); font-size: 15px; margin-top: 22px; max-width: 70ch; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }
.eyebrow { display: block; font: 700 12px/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--vine); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--vine); }
h2 { font-size: clamp(30px, 4vw, 52px); margin-top: 14px; }
h3, .h3 { font-size: 22px; }
h2.h3 { margin-top: 0; }
.prose + h2.h3 { margin-top: 40px; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 54ch; margin-top: 18px; }

/* Buttons & chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 24px; border-radius: 999px; font: 700 15px/1 var(--sans); letter-spacing: .03em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; background: none; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 14px; }
.btn--vine { background: var(--vine); color: #fff; }
.btn--vine:hover { background: var(--vine-dark); }
.btn--line { border-color: currentColor; }
.btn--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--white { background: #fff; color: var(--vine-dark); }
.btn--white:hover { background: var(--kalk); }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 15px; font-weight: 600; text-decoration: none; transition: .2s; }
a.chip:hover, .chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line); background: #fff; cursor: pointer; text-decoration: none; color: var(--ink); flex: none; }
.icon-circle { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--vine-soft); color: var(--vine); }
.line-link { display: flex; gap: 10px; align-items: center; text-decoration: none; min-height: 34px; }
a.line-link:hover { color: var(--vine); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 24px; }
.logo img { height: 64px; width: auto; }
nav.primary { display: flex; gap: 34px; font-weight: 600; font-size: 15.5px; letter-spacing: .02em; }
nav.primary a { position: relative; padding: 8px 0; text-decoration: none; }
nav.primary a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--vine); transition: right .25s; }
nav.primary a:hover::after, nav.primary a[aria-current]::after { right: 0; }
.hactions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; }

/* Mobile menu */
.menu { position: fixed; inset: 0; z-index: 80; background: var(--grape); color: #fff; padding: 18px var(--gutter) 28px; display: flex; flex-direction: column; gap: 24px; overflow-y: auto; transform: translateY(-100%); visibility: hidden; transition: transform .35s ease, visibility 0s .35s; }
.menu[data-open="true"] { transform: none; visibility: visible; transition: transform .35s ease; }
.menu__head { display: flex; justify-content: space-between; align-items: center; }
.menu__head .logo img { height: 56px; }
.menu__head .icon-btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-family: var(--serif); font-size: 28px; font-weight: 700; text-decoration: none; }
.menu__links a[aria-current] { color: #c5e1a5; }
.menu__foot { display: grid; gap: 10px; margin-top: auto; }

/* Sections */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section--tight { padding-top: 0; }
.section--flush { padding-top: 0; }
.soft { background: var(--kalk); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: 48px; flex-wrap: wrap; }
.sec-head h2 { max-width: 16ch; }
.sec-head__text { max-width: 46ch; color: var(--muted); }
.empty { padding: 40px; text-align: center; background: var(--kalk); border: 1px dashed var(--kalk-2); border-radius: var(--r); color: var(--muted); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 4vw, 44px); }
.soft .card { border-color: transparent; }
.crumb { display: block; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* Page hero */
.page-hero { padding: clamp(44px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 72px); font-weight: 900; margin: 14px 0 0; max-width: 18ch; }
.page-hero .lead { max-width: 62ch; }

/* Sub navigation (museum) */
.subnav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 92px; z-index: 40; }
.subnav .wrap { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; padding: 16px 0; font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 2px solid transparent; color: var(--muted); }
.subnav a:hover, .subnav a[aria-current] { color: var(--ink); border-color: var(--vine); }

/* Hero */
.hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--grape); }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media picture { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,17,23,0) 30%, rgba(26,17,23,.8) 100%), linear-gradient(90deg, rgba(26,17,23,.5), rgba(26,17,23,0) 60%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(48px, 7vw, 72px); padding-top: 120px; }
.hero h1 { font-size: clamp(44px, 7vw, 96px); font-weight: 900; max-width: 12ch; }
.hero h1 em { color: #c5e1a5; }
.hero .lead { color: #efe9e1; max-width: 46ch; font-size: clamp(17px, 1.6vw, 21px); }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

/* Facts */
.facts { background: var(--kalk); border-bottom: 1px solid var(--kalk-2); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 30px 26px 30px 0; display: flex; gap: 16px; align-items: flex-start; text-decoration: none; }
.fact + .fact { padding-left: 26px; border-left: 1px solid var(--kalk-2); }
.fact .icon { color: var(--vine); margin-top: 2px; }
.fact small { display: block; font: 700 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.fact b { display: block; font: 700 17px/1.35 var(--serif); }
.fact span span { display: block; font-size: 14px; color: var(--muted); margin-top: 3px; }
.fact:hover b { color: var(--vine-dark); }

/* Events (home) */
.events { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; }
.ev-main { position: relative; border-radius: var(--r); overflow: hidden; min-height: 460px; color: #fff; display: flex; align-items: flex-end; text-decoration: none; background: var(--grape); }
.ev-main img, .ev-main picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
a.ev-main:hover img { transform: scale(1.03); }
.ev-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,17,23,.05), rgba(26,17,23,.85)); }
.ev-main__in { position: relative; z-index: 2; padding: 40px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ev-main h3 { font-size: clamp(26px, 3vw, 36px); margin-top: 10px; }
.ev-main__in > span:last-child { color: #e5ddd3; }
.tag { display: inline-block; background: var(--vine); color: #fff; font: 700 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 7px 12px; border-radius: 6px; }
.ev-list { display: flex; flex-direction: column; gap: 14px; }
.ev-list .btn { align-self: flex-start; margin-top: 6px; }
.ev { display: grid; grid-template-columns: 78px 1fr auto; gap: 20px; align-items: center; padding: 18px 22px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; transition: border-color .2s, transform .2s; background: #fff; }
.ev:hover { border-color: var(--vine); transform: translateX(4px); }
.ev > .icon { color: var(--vine); }
.ev h3 { font-size: 18px; margin-bottom: 2px; }
.ev__body > span { font-size: 14px; color: var(--muted); }
.date { text-align: center; background: var(--kalk); border-radius: 12px; padding: 12px 0; line-height: 1; }
.date b { display: block; font: 900 30px/1 var(--serif); }
.date i { font: 700 11px var(--sans); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--vine); }

/* Rundgang (dark) */
.floors { background: var(--grape); color: #efe9e1; }
.floors .eyebrow { color: #9ccc65; }
.floors .sec-head__text, .floors .lead { color: #b7aca2; }
.floors h2 { color: #fff; }
.stack { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.levels { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.14); }
.levels .btn { margin-top: 30px; align-self: flex-start; }
.lvl { display: grid; grid-template-columns: 84px 1fr; gap: 18px; padding: 24px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.14); background: none; color: inherit; text-align: left; cursor: pointer; }
.lvl__n { font: 300 30px/1.1 var(--serif); color: #6d6168; transition: color .25s; }
.lvl h3 { font-size: 24px; color: #fff; }
.lvl__text { display: block; color: #b7aca2; font-size: 15px; max-height: 0; overflow: hidden; transition: max-height .35s, margin .35s; }
.lvl.is-on .lvl__n { color: #9ccc65; }
.lvl.is-on .lvl__text { max-height: 160px; margin-top: 8px; }
.no-js .lvl__text { max-height: none; margin-top: 8px; }
.floorimg { position: sticky; top: 130px; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: rgba(255,255,255,.06); }
.floorimg img { width: 100%; height: 100%; object-fit: cover; }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--top, .split--form { align-items: start; }
.split__media { border-radius: var(--r); overflow: hidden; background: var(--kalk); }
.split__media img, .split__media picture { width: 100%; height: 100%; object-fit: cover; }
.split--form .split__media { margin-top: 32px; }
.checks { list-style: none; display: grid; gap: 10px; margin: 26px 0 0; }
.checks li { display: flex; gap: 10px; align-items: center; }
.checks .icon { color: var(--vine); }
.checks + .btn { margin-top: 30px; }

/* History page */
.history { list-style: none; position: relative; display: grid; gap: 0; }
.history::before { content: ""; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--eiche), var(--vine)); }
.history__item { display: grid; grid-template-columns: 100px 1fr 320px; gap: 0 56px; padding: 0 0 56px; position: relative; }
.history__item::before { content: ""; position: absolute; left: 111px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--vine); }
.history__year { font: 900 30px/1 var(--serif); }
.history__body h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 10px; }
.history__body p { color: #3a3633; max-width: 62ch; }
.history__img { border-radius: 16px; overflow: hidden; }

/* Stations (museum page) */
.stations { display: grid; gap: 72px; }
.station { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.station:nth-child(even) .station__img { order: 2; }
.station__img { border-radius: var(--r); overflow: hidden; }
.station__label { display: inline-block; font: 300 44px/1 var(--serif); color: var(--vine); }
.station h2 { margin-top: 8px; }
details.credits { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 26px; }
details.credits summary { cursor: pointer; font-weight: 700; }
details.credits .prose { margin-top: 16px; font-size: 15px; }

/* Prose */
.prose { display: flex; flex-direction: column; gap: 14px; }
.prose p, .prose li { color: #3a3633; }
.prose h3 { font-size: 22px; margin-top: 12px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 6px; }
.prose a:not(.btn) { color: var(--vine-dark); }
.prose--dark p, .prose--dark li { color: rgba(255,255,255,.82); }
.prose--article { font-size: 18px; }
.article { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.article__media { border-radius: var(--r); overflow: hidden; position: sticky; top: 170px; }

/* Price lists */
.prices { margin: 26px 0 0; border-top: 1px solid var(--line); }
.prices div { display: flex; justify-content: space-between; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.prices dd { font-family: var(--serif); font-weight: 700; white-space: nowrap; }
.facts-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts-list div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 180px 1fr; gap: 16px; }
.facts-list dt { font: 700 12px/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--vine); }
.downloads { list-style: none; display: grid; gap: 6px; margin-top: 26px; }
.downloads a { display: flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 600; padding: 8px 0; }
.downloads a:hover { color: var(--vine); }
.downloads .icon { color: var(--vine); }

/* Opening days */
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.day { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.day b { font: 700 18px var(--serif); display: block; }
.day span { font-size: 13.5px; color: var(--muted); }
.day--next { background: var(--vine); border-color: var(--vine); color: #fff; }
.day--next span { color: #dcedc8; }

/* Regions */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.rcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.rcard:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -26px rgba(26,17,23,.4); }
.rcard img { aspect-ratio: 700 / 480; object-fit: cover; width: 100%; }
.rcard__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rcard .muted { font-size: 15px; }
.go { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--vine-dark); font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; padding: 16px; }

/* Kulturraum */
.room { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.room__img { position: relative; border-radius: var(--r); overflow: hidden; min-height: 420px; }
.room__img img, .room__img picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.badges { position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; gap: 8px; flex-wrap: wrap; z-index: 2; }
.badges span { background: #fff; padding: 8px 14px; border-radius: 999px; font: 700 13px var(--sans); }
.legend { display: flex; gap: 20px; font-size: 14px; color: var(--muted); margin-top: 22px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 8px; vertical-align: -1px; }
.legend .free { background: var(--vine-soft); border: 1px solid #cfe3bb; }
.legend .busy { background: #eadede; }
.cal-wrap { display: grid; gap: 16px; }
.cal h3 { font-size: 20px; margin-bottom: 14px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal__h { font: 700 11px var(--sans); letter-spacing: .1em; color: var(--muted); padding-bottom: 4px; }
.cal__d { display: grid; place-items: center; min-height: 40px; border-radius: 10px; font-weight: 600; font-size: 14px; text-decoration: none; background: var(--vine-soft); color: var(--vine-dark); transition: background .15s; }
a.cal__d:hover { background: var(--vine); color: #fff; }
.cal__d.is-busy { background: #f3eeee; color: #b9a7a7; text-decoration: line-through; }
.cal__d.is-past { background: transparent; color: #c9c4bd; }
.js [data-cal-more].is-collapsed { display: none; }

/* Events page */
.ecards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 24px; }
.ecard { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; background: #fff; }
.ecard:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -26px rgba(26,17,23,.4); }
.ecard__img { position: relative; aspect-ratio: 800 / 520; background: linear-gradient(135deg, var(--grape), #3a2a33); display: block; }
.ecard__img img { width: 100%; height: 100%; object-fit: cover; }
.ecard__img .date { position: absolute; left: 18px; top: 18px; width: 70px; background: #fff; }
.ecard__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ecard__body .muted { font-size: 14.5px; }
details.archive { border-bottom: 1px solid var(--line); }
details.archive summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; list-style: none; }
details.archive summary::-webkit-details-marker { display: none; }
details.archive summary b { font: 700 24px var(--serif); }
details.archive ul { list-style: none; padding: 0 0 18px; display: grid; gap: 2px; }
details.archive a { display: flex; gap: 18px; padding: 8px 0; text-decoration: none; }
details.archive a span { color: var(--muted); font-variant-numeric: tabular-nums; min-width: 52px; }
details.archive a:hover { color: var(--vine-dark); }

/* People & winemakers */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 32px 24px; }
.person { display: flex; flex-direction: column; gap: 6px; }
.person__img { aspect-ratio: 5 / 6; border-radius: var(--r); overflow: hidden; background: var(--kalk); margin-bottom: 12px; }
.person__img img { width: 100%; height: 100%; object-fit: cover; }
.person .line-link { font-size: 14.5px; color: var(--vine-dark); }
.callout { display: flex; flex-direction: column; gap: 6px; margin-top: 28px; padding: 22px 24px; background: var(--vine-soft); border-radius: 16px; }
.callout a:not(.btn) { color: var(--vine-dark); }
.callout--wide { margin-top: 56px; flex-direction: row; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.callout--wide b { font: 700 20px/1.4 var(--serif); max-width: 46ch; }
.makers { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 16px; }
.maker { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; padding: 16px 20px 16px 16px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; transition: border-color .2s; }
a.maker:hover { border-color: var(--vine); }
.maker__logo { width: 96px; height: 64px; border-radius: 10px; background: var(--kalk); overflow: hidden; display: grid; place-items: center; }
.maker__logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.maker b { display: block; font-family: var(--serif); }
.maker .muted { font-size: 14px; }

/* Contact */
.office { display: flex; gap: 22px; align-items: flex-start; }
.office__img { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; flex: none; background: var(--kalk); }
.office__img img { width: 100%; height: 100%; object-fit: cover; }
.contact-lines { margin: 26px 0; display: grid; gap: 4px; }
.split--form .facts-list div { grid-template-columns: 1fr; gap: 2px; }

/* Join (green) */
.join { background: linear-gradient(120deg, var(--vine-dark), var(--vine)); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.join .eyebrow { color: #dcedc8; }
.join h2 { color: #fff; }
.join p { color: #e3f0d6; margin-top: 16px; max-width: 52ch; }
.join blockquote { font: italic 300 19px/1.6 var(--serif); color: #fff; padding-left: 24px; border-left: 3px solid rgba(255,255,255,.5); }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 4vw, 44px); scroll-margin-top: 140px; }
.soft .form-card { border-color: transparent; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field--full, .consent, .form-error, .form__submit, .form .field__error { grid-column: 1 / -1; }
.field input, .field select, .field textarea { font-weight: 400; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--kalk); min-height: 50px; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--vine); outline-offset: 0; border-color: transparent; background: #fff; }
.field--error input, .field--error select, .field--error textarea { border-color: #b3261e; }
fieldset.field { border: 0; }
fieldset.field legend { margin-bottom: 8px; }
.choices { display: grid; gap: 8px; }
.choice { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-weight: 500; cursor: pointer; background: var(--kalk); }
.choice:has(input:checked) { border-color: var(--vine); background: var(--vine-soft); }
.choice input, .consent input { accent-color: var(--vine); width: 18px; height: 18px; flex: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 3px; }
.consent--small { font-size: 13px; }
.consent a { color: inherit; }
.field__error, .form-error { color: #b3261e; font-size: 14px; font-weight: 600; }
.form-error { padding: 12px 16px; background: #fbeeee; border-radius: 12px; }
.form__submit { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 6px; }
.form__submit .muted { font-size: 14px; }
.form-sent { display: flex; flex-direction: column; gap: 18px; min-height: 300px; justify-content: center; }
.form-sent h2 { font-size: clamp(26px, 3vw, 38px); margin: 0; }

/* Newsletter & footer */
.news { padding: clamp(56px, 8vw, 96px) 0; background: var(--kalk); }
.news__box { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px 56px; align-items: center; }
.news h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 10px; }
.news__form { display: grid; gap: 12px; }
.news__row { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 6px; }
.news__row input { flex: 1; border: 0; background: none; padding: 0 18px; min-width: 0; outline: none; font-size: 16px; }
.site-footer { background: var(--grape); color: #bdb6ad; padding: 76px 0 34px; font-size: 15px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #c5e1a5; }
.footer__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer__cols > div { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.footer__cols h2 { color: #fff; font: 700 12px var(--sans); letter-spacing: .18em; text-transform: uppercase; margin: 0 0 10px; }
.site-footer .logo img { height: 80px; margin-bottom: 18px; }
.footer__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; font-size: 13px; flex-wrap: wrap; gap: 12px; }

/* Reveal on scroll (progressive enhancement, only with JS) */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s, transform .8s; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .rv { opacity: 1; transform: none; transition: none; }
    .menu, .ev, .rcard, .ecard, .ev-main img, .lvl__text { transition: none; }
}

@media (max-width: 1080px) {
    nav.primary { display: none; }
    .burger { display: inline-grid; }
    .footer__cols { grid-template-columns: 1fr 1fr; }
    .history__item { grid-template-columns: 100px 1fr; }
    .history__img { grid-column: 2; margin-top: 18px; max-width: 420px; }
}
@media (max-width: 860px) {
    :root { --gutter: 18px; }
    body { font-size: 16px; }
    .site-header .wrap { height: 74px; }
    .site-header .logo img { height: 50px; }
    .hactions .btn { display: none; }
    .subnav { top: 74px; }
    .hero { min-height: 640px; }
    .facts .wrap { grid-template-columns: 1fr 1fr; }
    .fact, .fact + .fact { padding: 20px 12px 20px 0; border-left: 0; border-top: 1px solid var(--kalk-2); }
    .events, .stack, .split, .room, .join, .news__box, .station, .article { grid-template-columns: 1fr; gap: 32px; }
    .station:nth-child(even) .station__img { order: 0; }
    .stations { gap: 56px; }
    .floorimg { position: relative; top: 0; aspect-ratio: 16 / 11; order: -1; }
    .article__media { position: static; }
    .ev-main { min-height: 380px; }
    .ev-main__in { padding: 26px; }
    .history::before { left: 8px; }
    .history__item { grid-template-columns: 1fr; padding-left: 40px; }
    .history__item::before { left: 1px; top: 4px; }
    .history__year { margin-bottom: 8px; }
    .history__img { grid-column: 1; }
    .facts-list div { grid-template-columns: 1fr; gap: 4px; }
    .form { grid-template-columns: 1fr; }
    .footer__cols { grid-template-columns: 1fr; }
    .room__img { min-height: 320px; }
    .callout--wide { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
    .facts .wrap { grid-template-columns: 1fr; }
    .ev { grid-template-columns: 64px 1fr; padding: 14px 16px; gap: 14px; }
    .ev > .icon { display: none; }
    .news__row { flex-direction: column; border-radius: 18px; }
    .news__row input { padding: 12px; }
    .maker { grid-template-columns: 72px 1fr; }
    .maker .icon-btn { display: none; }
    .maker__logo { width: 72px; height: 54px; }
    .office { flex-direction: column; }
    .lvl { grid-template-columns: 64px 1fr; }
    .lvl__n { font-size: 24px; }
}
