/* Stallmann-Hiestand – front-end styles (no card/box UI) */

:root {
	--sh-bg: #f8f6f5;
	--sh-ink: #232222;
	--sh-brand: #927a60;
	--sh-accent: #d25539;
	--sh-gold: #a49725;
	--sh-radius: 12px;
	--sh-max: 1200px;
	--sh-pad: clamp(1rem, 4vw, 2rem);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--sh-bg);
	color: var(--sh-ink);
	font-family: "Tajawal", "Avenir Next", Avenir, "Segoe UI", sans-serif;
	line-height: 1.6;
}

body.age-gate-pending .sh-age-sensitive {
	filter: blur(8px);
	user-select: none;
	pointer-events: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--sh-brand);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
	color: var(--sh-accent);
}

:focus-visible {
	outline: 2px solid var(--sh-accent);
	outline-offset: 3px;
}

.sh-site-header,
.sh-site-footer,
.sh-hub,
.sh-area,
.sh-wines {
	width: min(100%, var(--sh-max));
	margin-inline: auto;
	padding-inline: var(--sh-pad);
}

/* Header */
.sh-site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 1.25rem;
}

.sh-site-header__brand {
	font-family: "Source Serif 4", "Iowan Old Style", Palatino, serif;
	font-size: clamp(1.1rem, 2.5vw, 1.4rem);
	font-weight: 500;
	color: var(--sh-ink);
	text-decoration: none;
	letter-spacing: 0.01em;
}

.sh-site-header__brand:hover {
	color: var(--sh-brand);
}

.sh-site-header__meta a {
	font-size: 0.9rem;
	color: var(--sh-ink);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.sh-site-header__meta a:hover {
	border-bottom-color: var(--sh-brand);
	color: var(--sh-brand);
}

/* Area switch */
.sh-area-switch__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sh-area-switch__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--sh-ink);
	text-decoration: none;
	font-size: 0.95rem;
	border-bottom: 2px solid transparent;
	padding-bottom: 0.15rem;
}

.sh-area-switch__link:hover {
	color: var(--sh-brand);
}

.sh-area-switch__item.is-active .sh-area-switch__link {
	border-bottom-color: var(--sh-gold);
	color: var(--sh-ink);
	font-weight: 500;
}

.sh-area-switch__icon {
	width: 20px;
	height: 20px;
	opacity: 0.85;
}

/* Hub hero */
.sh-hero-hub {
	position: relative;
	min-height: min(72vh, 640px);
	margin-inline: calc(-1 * var(--sh-pad));
	padding: clamp(3rem, 10vw, 6rem) var(--sh-pad);
	display: flex;
	align-items: flex-end;
	background:
		linear-gradient(180deg, rgba(35, 34, 34, 0.15) 0%, rgba(35, 34, 34, 0.55) 100%),
		url("../images/placeholders/hero-hub.svg") center / cover no-repeat;
	color: #fff;
}

.sh-hero-hub__inner {
	width: min(100%, var(--sh-max));
	margin-inline: auto;
}

.sh-hero-hub__brand {
	font-family: "Source Serif 4", Palatino, serif;
	font-size: clamp(2rem, 6vw, 3.75rem);
	font-weight: 500;
	line-height: 1.1;
	margin: 0 0 0.75rem;
	color: #fff;
}

.sh-hero-hub__lead {
	margin: 0;
	max-width: 32rem;
	font-size: 1.15rem;
	opacity: 0.95;
}

/* Area entries – equal weight, no cards */
.sh-area-entries {
	padding-block: clamp(3rem, 8vw, 5rem);
}

.sh-area-entries__intro {
	max-width: 40rem;
	margin-bottom: 2.5rem;
}

.sh-area-entries__intro h2 {
	font-family: "Source Serif 4", Palatino, serif;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 500;
	margin: 0 0 0.5rem;
}

.sh-area-entries__grid {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 768px) {
	.sh-area-entries__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.sh-area-entry__media {
	border-radius: var(--sh-radius);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #e8e2dc center / cover no-repeat;
	margin-bottom: 1rem;
}

.sh-area-entry__media--weingut {
	background-image: url("../images/placeholders/area-weingut.svg");
}

.sh-area-entry__media--restaurant {
	background-image: url("../images/placeholders/area-restaurant.svg");
}

.sh-area-entry__media--events {
	background-image: url("../images/placeholders/area-events.svg");
}

.sh-area-entry__media--gaestehaus {
	background-image: url("../images/placeholders/area-gaestehaus.svg");
}

.sh-area-entry__title {
	font-family: "Source Serif 4", Palatino, serif;
	font-size: 1.5rem;
	font-weight: 500;
	margin: 0 0 0.35rem;
}

.sh-area-entry__title a {
	color: var(--sh-ink);
	text-decoration: none;
}

.sh-area-entry__title a:hover {
	color: var(--sh-brand);
}

.sh-area-entry__text {
	margin: 0 0 0.75rem;
	color: #4a4847;
}

.sh-text-link {
	color: var(--sh-ink);
	font-weight: 500;
	text-decoration: none;
	border-bottom: 1px solid var(--sh-brand);
}

.sh-text-link:hover {
	color: var(--sh-accent);
	border-bottom-color: var(--sh-accent);
}

/* Area hero */
.sh-area-hero {
	padding-block: clamp(2.5rem, 6vw, 4rem);
}

.sh-area-hero__media {
	border-radius: var(--sh-radius);
	aspect-ratio: 21 / 9;
	background: #e8e2dc url("../images/placeholders/area-weingut.svg") center / cover no-repeat;
	margin-bottom: 1.5rem;
}

.sh-area-hero h1 {
	font-family: "Source Serif 4", Palatino, serif;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 500;
	margin: 0 0 0.5rem;
}

.sh-area-hero p {
	max-width: 36rem;
	margin: 0;
}

.sh-direct-sale {
	padding-block: 2rem 4rem;
	border-top: 1px solid rgba(35, 34, 34, 0.12);
	margin-top: 2rem;
}

/* Wines */
.sh-wines {
	padding-block: 1rem 3rem;
}

.sh-wines__intro h2 {
	font-family: "Source Serif 4", Palatino, serif;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	margin: 0 0 0.5rem;
}

.sh-wine-filters {
	margin: 2rem 0;
}

.sh-wine-filters__label {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 1rem 0 0.5rem;
	color: #5c5958;
}

.sh-wine-filters__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
}

.sh-chip {
	appearance: none;
	background: transparent;
	border: 0;
	border-bottom: 2px solid transparent;
	padding: 0.2rem 0;
	font: inherit;
	font-size: 0.95rem;
	color: var(--sh-ink);
	cursor: pointer;
}

.sh-chip:hover {
	color: var(--sh-brand);
}

.sh-chip.is-active {
	border-bottom-color: var(--sh-gold);
	font-weight: 500;
}

.sh-wine-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.sh-wine {
	display: grid;
	gap: 1.25rem;
	align-items: start;
}

@media (min-width: 640px) {
	.sh-wine {
		grid-template-columns: minmax(140px, 220px) 1fr;
	}
}

.sh-wine.is-hidden {
	display: none;
}

.sh-wine__image,
.sh-wine__media {
	border-radius: var(--sh-radius);
	overflow: hidden;
}

.sh-wine__media--placeholder {
	display: block;
	aspect-ratio: 3 / 4;
	background: #e4ddd6;
}

.sh-wine__title {
	font-family: "Source Serif 4", Palatino, serif;
	font-size: 1.35rem;
	font-weight: 500;
	margin: 0 0 0.35rem;
}

.sh-wine__title a {
	color: var(--sh-ink);
	text-decoration: none;
}

.sh-wine__meta,
.sh-wine__price {
	margin: 0 0 0.35rem;
	color: #5c5958;
}

.sh-wine__price {
	color: var(--sh-ink);
	font-weight: 500;
}

.sh-wine__cta {
	margin: 0.75rem 0 0;
}

/* Footer */
.sh-site-footer {
	padding-block: 3rem 2.5rem;
	margin-top: 2rem;
	border-top: 1px solid rgba(35, 34, 34, 0.12);
}

.sh-site-footer__grid {
	display: grid;
	gap: 2rem;
}

@media (min-width: 720px) {
	.sh-site-footer__grid {
		grid-template-columns: 2fr 1fr 1fr;
	}
}

.sh-site-footer h2 {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 500;
	font-family: inherit;
	margin: 0 0 0.75rem;
}

.sh-site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sh-site-footer li + li {
	margin-top: 0.35rem;
}

.sh-site-footer a {
	color: var(--sh-ink);
	text-decoration: none;
}

.sh-site-footer a:hover {
	color: var(--sh-brand);
}

.sh-site-footer__note {
	margin-top: 2rem;
	font-size: 0.85rem;
	color: #5c5958;
}

/* Age gate */
.sh-age-gate {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	background: rgba(35, 34, 34, 0.55);
}

.sh-age-gate[hidden] {
	display: none !important;
}

.sh-age-gate__panel {
	width: min(100%, 28rem);
	background: var(--sh-bg);
	padding: 2rem;
	border-radius: var(--sh-radius);
}

.sh-age-gate__panel h2 {
	font-family: "Source Serif 4", Palatino, serif;
	margin: 0 0 0.75rem;
}

.sh-age-gate__actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.sh-age-gate__confirm,
.sh-age-gate__decline {
	text-align: center;
	padding: 0.75rem 1rem;
	text-decoration: none;
}

.sh-age-gate__confirm {
	background: var(--sh-ink);
	color: var(--sh-bg);
}

.sh-age-gate__confirm:hover {
	background: var(--sh-brand);
	color: #fff;
}

.sh-age-gate__decline {
	color: var(--sh-ink);
	border-bottom: 1px solid var(--sh-brand);
	align-self: center;
	padding: 0.25rem 0;
}

.sh-placeholder-page {
	padding-block: 4rem;
	max-width: 40rem;
}

.sh-placeholder-page h1 {
	font-family: "Source Serif 4", Palatino, serif;
	font-weight: 500;
}

/* Single wine */
.sh-single-wine {
	padding-block: 2rem 4rem;
	width: min(100%, 720px);
	margin-inline: auto;
	padding-inline: var(--sh-pad);
}

.sh-single-wine__media {
	border-radius: var(--sh-radius);
	overflow: hidden;
	margin-bottom: 1.5rem;
	max-width: 320px;
}

@media (max-width: 640px) {
	.sh-site-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.sh-area-switch__list {
		gap: 0.5rem 0.85rem;
	}
}
