/* Weinbau & Gästezimmer Parisch — template stylesheet
   No framework. Fonts are self-hosted (no requests to third parties). */

@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--paper: #f6f2ea;
	--paper-2: #ece5d6;
	--paper-3: #e2d8c4;
	--ink: #1d2230;
	--ink-soft: #4b5060;
	--ink-mute: #7a7d86;
	--navy: #27336b;
	--navy-deep: #19214a;
	--lime: #c3d629;
	--vine: #52691a;
	--wine: #7a2340;
	--rose: #d88a8f;
	--line: rgba(29, 34, 48, .14);
	--line-strong: rgba(29, 34, 48, .28);

	--serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 6px;
	--arch: 999px 999px var(--radius) var(--radius);
	--section-y: clamp(64px, 10vw, 136px);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	font-feature-settings: "ss01", "cv11";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
.hidden { display: none !important; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--vine); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; font-variation-settings: "SOFT" 50, "WONK" 0; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
address { font-style: normal; }
::selection { background: var(--lime); color: var(--navy-deep); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

.display { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 350; line-height: 1.02; letter-spacing: -.025em; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.display em, h2 em { font-style: italic; font-weight: 300; color: var(--vine); }
.eyebrow { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--vine); margin: 0 0 1.1rem; display: flex; align-items: center; gap: .8rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
	--btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--navy);
	display: inline-flex; align-items: center; gap: .6rem;
	padding: .85rem 1.4rem; border-radius: 999px;
	border: 1px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
	font: 600 .9rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
	transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { --btn-bg: var(--navy); --btn-fg: #fff; color: #fff; }
.btn--solid { --btn-bg: var(--navy); --btn-fg: #fff; }
.btn--solid:hover { --btn-bg: var(--navy-deep); --btn-bd: var(--navy-deep); }
.btn--lime { --btn-bg: var(--lime); --btn-fg: var(--navy-deep); --btn-bd: var(--lime); }
.btn--lime:hover { --btn-bg: #fff; --btn-bd: #fff; --btn-fg: var(--navy-deep); color: var(--navy-deep); }
.btn--ghost-light { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5); }
.btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--navy-deep); color: var(--navy-deep); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.link-arrow { font-weight: 600; font-size: .95rem; text-decoration: none; display: inline-flex; gap: .5rem; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: .15rem; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--paper) 88%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--navy); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--navy); }
.brand__mark { width: 26px; height: 32px; flex: none; }
.brand__wine { fill: var(--lime); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.65rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.brand__tagline { font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--vine); margin-top: .35rem; }
.brand__logo { max-height: 54px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
.site-nav li > a, .site-nav li > span { position: relative; color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 500; padding: .4rem 0; }
.site-nav li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--vine); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav li > a:hover::after, .site-nav li.active > a::after, .site-nav li.current > a::after { transform: scaleX(1); }
.site-nav li.active > a, .site-nav li.current > a { color: var(--navy); }
.site-nav__cta { padding: .7rem 1.15rem; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { position: absolute; left: 50%; width: 18px; height: 1.5px; background: var(--ink); transform: translateX(-50%); transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s; content: ""; }
.nav-toggle__bars { top: 50%; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-open .nav-toggle__bars::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

@media (max-width: 960px) {
	.nav-toggle { display: block; z-index: 2; }
	.site-nav {
		position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2.5rem;
		padding: calc(var(--header-h) + 24px) var(--gutter) 40px; background: var(--paper);
		opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; }
	.site-nav ul { flex-direction: column; gap: .6rem; }
	.site-nav li > a { font-family: var(--serif); font-size: clamp(2rem, 8vw, 2.8rem); font-weight: 350; }
	.brand { z-index: 2; }
	.nav-open { overflow: hidden; }
	/* backdrop-filter would make the header the containing block of the fixed overlay */
	.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
/* two plain sections in a row share one gap; coloured variants always keep their own padding */
.section:not([class*="section--"]) + .section:not([class*="section--"]) { padding-top: 0; }
.section--tint { background: var(--paper-2); }
.section--navy { background: var(--navy-deep); color: #e9eaf0; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: var(--lime); }
.section__title { margin-bottom: 2rem; }
.section-head { display: grid; gap: 1.25rem 4rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { .section-head { grid-template-columns: 1fr 1fr; align-items: end; } }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--ink-soft); max-width: 46ch; }

/* ---------- Hero (start page) ---------- */
.hero { padding-block: clamp(32px, 6vw, 88px) clamp(56px, 8vw, 120px); overflow: hidden; }
.hero__grid { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
.hero__title { margin-bottom: 1.6rem; }
.hero__lead { max-width: 34ch; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__media { position: relative; justify-self: center; width: min(100%, 520px); padding: 0 0 12% 10%; }
.hero__arch { border-radius: var(--arch); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-3); }
.hero__arch img, .hero__round img { width: 100%; height: 100%; object-fit: cover; }
.hero__round { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--paper); box-shadow: 0 20px 50px -20px rgba(25, 33, 74, .45); }
.hero__badge { position: absolute; right: -4%; top: 8%; width: 118px; height: 118px; border-radius: 50%; background: var(--lime); color: var(--navy-deep); display: grid; place-content: center; text-align: center; font-family: var(--serif); line-height: 1; transform: rotate(-8deg); box-shadow: 0 16px 40px -18px rgba(25, 33, 74, .5); }
.hero__badge small { display: block; font: 600 .62rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin-bottom: .35rem; }
.hero__badge strong { font-size: 2.1rem; font-weight: 500; }
.hero__place { margin-top: 2.6rem; display: flex; gap: .6rem 2rem; flex-wrap: wrap; color: var(--ink-mute); font-size: .85rem; }
.hero__place span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__place span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }

/* ---------- Pillars (Verkosten · Genießen · Entspannen) ---------- */
.pillars { display: grid; border-top: 1px solid var(--line-strong); }
@media (min-width: 800px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { padding: clamp(28px, 4vw, 48px) clamp(4px, 3vw, 40px) clamp(20px, 3vw, 32px) 0; }
.pillar + .pillar { border-top: 1px solid var(--line); }
@media (min-width: 800px) { .pillar + .pillar { border-top: 0; border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 40px); } }
.pillar__num { font-family: var(--serif); font-style: italic; color: var(--vine); font-size: 1.1rem; }
.pillar h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: .8rem 0 .7rem; }
.pillar p { color: var(--ink-soft); margin: 0; }

/* ---------- Story split ---------- */
.split { display: grid; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media--arch img { border-radius: var(--arch); aspect-ratio: 4 / 5; }
.split__media figcaption { font-size: .8rem; color: var(--ink-mute); margin-top: .8rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; margin: 0; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats div { border-top: 1px solid rgba(255,255,255,.2); padding-top: 1.2rem; }
.stats dt { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: #fff; font-weight: 350; }
.stats dd { margin: .6rem 0 0; font-size: .9rem; color: #b9bdd0; }
.section--tint .stats div, .prose .stats div { border-top-color: var(--line-strong); }
.section--tint .stats dt, .prose .stats dt { color: var(--navy); }
.section--tint .stats dd, .prose .stats dd { color: var(--ink-soft); }

/* ---------- Cards (rooms teaser) ---------- */
.cards { display: grid; gap: clamp(20px, 3vw, 36px); }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; gap: 1rem; color: inherit; text-decoration: none; }
.card__media { border-radius: var(--arch); overflow: hidden; aspect-ratio: 3 / 4; background: var(--paper-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card h3 { margin: .3rem 0 .2rem; }
.card p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.card__kicker { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--vine); }

/* ---------- Chips (Rieden) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.chips li { border: 1px solid var(--line-strong); border-radius: 999px; padding: .4rem .9rem; font-size: .88rem; }
.section--navy .chips li { border-color: rgba(255,255,255,.28); }

/* ---------- Wine teaser ---------- */
.wine-teaser { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.2); }
.wine-teaser li { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1.2rem; padding: 1.3rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.wine-teaser .dot { width: 12px; height: 12px; border-radius: 50%; margin-top: .75rem; background: var(--lime); grid-row: span 2; }
.wine-teaser .dot--red { background: #a8375a; }
.wine-teaser .dot--rose { background: var(--rose); }
.wine-teaser strong { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; color: #fff; }
.wine-teaser strong em { color: var(--lime); font-weight: 300; }
.wine-teaser span { color: #b9bdd0; font-size: .95rem; }

/* ---------- Quote ---------- */
.section--quote { background: var(--paper-2); text-align: center; overflow: hidden; }
.quote { max-width: 22ch; margin: 0 auto; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.15; color: var(--navy); }
.quote-by { margin-top: 1.5rem; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }
.quote-vine { position: absolute; width: clamp(140px, 18vw, 240px); opacity: .55; pointer-events: none; }
.quote-vine--l { left: -30px; top: -20px; }
.quote-vine--r { right: -30px; bottom: -30px; transform: scale(-1, -1); }

/* ---------- Visit ---------- */
.visit { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .visit { grid-template-columns: 1.1fr .9fr; } }
.visit__map { display: block; border-radius: var(--radius); overflow: hidden; position: relative; }
.visit__map img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s var(--ease); }
.visit__map:hover img { transform: scale(1.03); }
.visit__map span { position: absolute; left: 16px; bottom: 16px; background: var(--paper); color: var(--navy); border-radius: 999px; padding: .55rem 1rem; font-size: .82rem; font-weight: 600; }
.visit__map small { position: absolute; right: 8px; bottom: 6px; font-size: .65rem; color: var(--ink-soft); background: rgba(246, 242, 234, .8); padding: 0 .3rem; }
.visit address { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3; margin-bottom: 1.5rem; color: var(--navy); }
.visit__lines { display: grid; gap: .35rem; margin-bottom: 2rem; }
.visit__lines a { color: var(--ink); }

/* ---------- Inner pages ---------- */
.page-head { padding-block: clamp(40px, 7vw, 96px) clamp(28px, 4vw, 48px); }
.page-head__title { max-width: 16ch; margin: 0; }
.page-head__intro { margin-top: 1.6rem; max-width: 60ch; font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--ink-soft); }
.page-head__intro p:last-child { margin-bottom: 0; }
.page-banner { margin-block: 0 clamp(40px, 6vw, 80px); }
.page-banner img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.page-banner figcaption { font-size: .8rem; color: var(--ink-mute); margin-top: .7rem; }
.page-body { padding-bottom: var(--section-y); }
.page-body--bare { padding-bottom: 0; }

/* Prose: long-form article text, with a few layout helpers usable in the editor */
.prose { font-size: 1.08rem; }
.prose > *:not(.wide):not(.split):not(.cards):not(.stats):not(.rooms):not(.facts):not(.routes):not(.visit) { max-width: 68ch; }
.prose h2 { margin-top: 2.4em; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.prose h3 { margin-top: 2em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul:not(.chips), .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose li::marker { color: var(--vine); }
.prose blockquote { margin: 2.5rem 0; padding: 0 0 0 1.5rem; border-left: 2px solid var(--lime); font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.35; color: var(--navy); }
.prose blockquote cite { display: block; margin-top: .6rem; font: 600 .75rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); font-style: normal; }
.prose .split, .prose .cards, .prose .stats, .prose .rooms, .prose .facts, .prose .routes, .prose .visit, .prose .wide { margin-block: clamp(40px, 6vw, 80px); }
.prose img { border-radius: var(--radius); }
.prose :is(h2, h3) + :is(.split, .cards, .stats, .rooms, .facts, .routes, .visit, .wide) { margin-top: 1.5rem; }

.note { background: var(--paper-2); border-radius: var(--radius); padding: 1.4rem 1.6rem; }
.note > :last-child { margin-bottom: 0; }

/* Rooms */
.rooms { display: grid; gap: clamp(20px, 3vw, 36px); }
@media (min-width: 760px) { .rooms { grid-template-columns: repeat(3, 1fr); } }
.room { border-top: 1px solid var(--line-strong); padding-top: 1.4rem; }
.room h3 { margin: 0 0 .5rem; }
.room p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

/* Facts list (house rules, prices) */
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); margin: 0; }
.facts div { display: grid; gap: .2rem 2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .facts div { grid-template-columns: 220px 1fr; } }
.facts dt { font-weight: 600; color: var(--navy); }
.facts dd { margin: 0; color: var(--ink-soft); }

/* Directions */
.routes { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 860px) { .routes { grid-template-columns: repeat(3, 1fr); } }
.route { background: var(--paper-2); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.8rem; }
.route h3 { font-size: 1.35rem; margin: 0 0 .8rem; }
.route p { margin: 0; font-size: .98rem; color: var(--ink-soft); }

/* ---------- Wine list ---------- */
.winelist { display: grid; gap: clamp(48px, 6vw, 80px); padding-bottom: var(--section-y); }
@media (min-width: 1000px) { .winelist { grid-template-columns: 1fr 1fr; column-gap: clamp(48px, 6vw, 96px); } }
.winelist__heading { display: flex; align-items: center; gap: .8rem; font-size: .8rem; font-family: var(--sans); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: 1rem; border-bottom: 1px solid var(--line-strong); margin: 0; }
.winelist__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--lime); flex: none; }
.winelist__group--red .winelist__dot { background: var(--wine); }
.winelist__group--rose .winelist__dot { background: var(--rose); }
.winelist__group--sparkling .winelist__dot { background: transparent; border: 2px solid var(--lime); }
.winelist__group--juice .winelist__dot { background: #8a5a9e; }
.winelist__items { list-style: none; margin: 0; padding: 0; }
.wine { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.wine__head { display: flex; align-items: baseline; gap: .8rem; }
.wine__name { font-size: 1.5rem; margin: 0; }
.wine__extra { font-style: italic; font-weight: 300; color: var(--vine); margin-left: .3rem; }
.wine__leader { flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-.3em); min-width: 1.5rem; }
.wine__size { font-size: .85rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wine__note { color: var(--ink-soft); font-size: 1rem; margin-top: .4rem; max-width: 52ch; }
.wine__note p { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 72px); padding-bottom: var(--section-y); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .8fr 1.2fr; } }
.contact-card { background: var(--navy-deep); color: #e9eaf0; border-radius: var(--radius); overflow: hidden; }
@media (min-width: 960px) { .contact-card { position: sticky; top: calc(var(--header-h) + 24px); } }
.contact-card__image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.contact-card__body { padding: clamp(24px, 3vw, 40px); }
.contact-card__name { color: #fff; font-size: 2rem; margin: 0; }
.contact-card__role { color: var(--lime); font-size: .9rem; margin: .4rem 0 1.4rem; }
.contact-card__address { font-family: var(--serif); font-size: 1.25rem; line-height: 1.4; margin-bottom: 1.4rem; }
.contact-card__lines { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.2rem; margin: 0; font-size: .98rem; }
.contact-card__lines dt { color: #9ea3bb; }
.contact-card__lines dd { margin: 0; }
.contact-card a { color: #fff; }
.contact-panel__title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .4rem; }
.contact-panel__hint { color: var(--ink-soft); margin-bottom: 2rem; }

/* Core Joomla form markup */
.contact-form form, .contact-panel form { margin: 0; }
fieldset { border: 0; margin: 0 0 1.5rem; padding: 0; min-width: 0; }
legend { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--vine); margin-bottom: 1.2rem; padding: 0; }
.control-group { margin-bottom: 1.2rem; }
.control-label label, .form-label { display: inline-block; font-size: .88rem; font-weight: 600; margin-bottom: .4rem; color: var(--ink); }
.star { color: var(--wine); }
.form-control, .form-select, .contact-panel input[type="text"], .contact-panel input[type="email"], .contact-panel input[type="number"], .contact-panel textarea, .contact-panel select {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
	background: #fffdf8; border: 1px solid var(--line-strong); border-radius: var(--radius);
	padding: .8rem 1rem; transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus, .contact-panel textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(39, 51, 107, .15); }
textarea.form-control { min-height: 9rem; resize: vertical; }
.form-control.invalid, .invalid .form-control, .form-control:user-invalid { border-color: var(--wine); }
label.invalid { color: var(--wine); }
.form-check { display: flex; gap: .6rem; align-items: flex-start; }
.form-check-input { width: 1.1rem; height: 1.1rem; margin-top: .25rem; accent-color: var(--navy); }
.input-group { display: flex; }
.input-group .form-control { border-radius: var(--radius) 0 0 var(--radius); min-width: 0; }
.input-group .btn { border-radius: 0 var(--radius) var(--radius) 0; padding: .6rem .9rem; }
.btn-primary, button[type="submit"].btn { --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: var(--navy); }
.btn-primary:hover { --btn-bg: var(--navy-deep); --btn-bd: var(--navy-deep); }
.btn-secondary { --btn-fg: var(--navy); }
.form-text, .small { font-size: .85rem; color: var(--ink-mute); }
.contact-panel fieldset:first-of-type > legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.contact-panel .field-spacer { font-size: .82rem; color: var(--ink-mute); }
.contact-panel .field-spacer label { font-weight: 400; }
.field-calendar .btn { padding: 0 1rem; }
.icon-calendar { display: inline-block; width: 18px; height: 18px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (min-width: 640px) {
	.contact-panel fieldset { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.2rem; }
	.contact-panel fieldset > legend, .contact-panel fieldset > .field-spacer { grid-column: 1 / -1; }
	.contact-panel fieldset > .control-group:has(textarea), .contact-panel fieldset > .control-group:has(.form-check), .contact-panel fieldset > .control-group:has(select), .contact-panel fieldset > .control-group:only-of-type { grid-column: 1 / -1; }
}

/* System messages */
#system-message-container { margin-top: 1.5rem; }
joomla-alert, .alert { display: block; border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1rem; background: #fffdf8; border: 1px solid var(--line-strong); border-left: 4px solid var(--navy); }
joomla-alert[type="success"], .alert-success { border-left-color: var(--vine); }
joomla-alert[type="danger"], joomla-alert[type="error"], .alert-danger { border-left-color: var(--wine); }
joomla-alert .alert-heading, .alert-heading { font-weight: 600; margin-bottom: .2rem; }
joomla-alert button.joomla-alert--close { float: right; background: none; border: 0; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c3c7d8; padding-top: clamp(56px, 8vw, 96px); font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.site-footer__grid { display: grid; gap: 2.5rem; padding-bottom: clamp(48px, 6vw, 72px); }
@media (min-width: 860px) { .site-footer__grid { grid-template-columns: 1.3fr repeat(3, 1fr); } }
.site-footer__name { display: block; font-family: var(--serif); font-size: 2.4rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; line-height: 1; }
.site-footer__tagline { display: block; margin-top: .6rem; color: var(--lime); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.footer-block__title { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #8f95b0; margin: 0 0 1rem; }
.footer-block p { margin: 0 0 .5rem; }
.footer-block ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem 2rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; color: #8f95b0; }
.site-footer__base ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
.site-footer__base a { color: #c3c7d8; }

/* ---------- Error page ---------- */
.error-page { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.error-page .display { max-width: 14ch; }
.error-page__debug { white-space: pre-wrap; font-size: .8rem; color: var(--ink-mute); }

/* ---------- Motion ---------- */
[data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) {
	[data-reveal], .js [data-reveal]:not(.is-visible) { opacity: 1; transform: none; transition: none; }
	.card__media img, .visit__map img { transition: none; }
}

/* ---------- Print ---------- */
@media print {
	.site-header, .site-footer, .nav-toggle, .hero__media { display: none !important; }
	body { background: #fff; }
}
