@font-face {
	font-family: "Miriam Libre";
	src: url("../fonts/MiriamLibre-wght.ttf") format("truetype");
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--paper: #fbf5e9;
	--paper-strong: #fdf8ee;
	--sand: #d9bc8c;
	--sand-light: #e5d0a8;
	--sand-deep: #c9a36c;
	--ink: #2b241f;
	--muted: #766959;
	--line: #e8dcc6;
	--coffee: #b06402;
	--caramel: #c8862e;
	--caramel-soft: #b8703f;
	--olive: #8a9060;
	--olive-dark: #697144;
	--max: 1240px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--sand);
	color: var(--ink);
	font-family: "Miriam Libre", "Avenir Next", "Trebuchet MS", sans-serif;
	line-height: 1.5;
	text-rendering: optimizeLegibility;
}

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

a {
	color: inherit;
	text-decoration: none;
}

a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--coffee);
	outline-offset: 4px;
}

.skip-link {
	position: absolute;
	top: 12px;
	left: 16px;
	z-index: 50;
	padding: 8px 12px;
	background: var(--ink);
	color: var(--paper);
	transform: translateY(-160%);
}

.skip-link:focus {
	transform: translateY(0);
}

.nav {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(251, 245, 233, 0.94);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(16px);
}

.nav-inner,
.section-inner,
.hero-content {
	width: min(var(--max), calc(100% - 40px));
	margin: 0 auto;
}

.nav-inner {
	min-height: 68px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand {
	color: var(--caramel);
	font-size: 22px;
	font-weight: 800;
}

.nav-links {
	display: flex;
	gap: clamp(18px, 3vw, 40px);
	color: #5b544a;
	font-size: 16px;
}

.nav-links a:hover {
	color: var(--coffee);
}

.hero {
	position: relative;
	min-height: clamp(620px, 57vw, 720px);
	overflow: hidden;
	background:
		radial-gradient(circle at 78% 12%, rgba(200, 120, 40, 0.24), transparent 45%),
		linear-gradient(160deg, var(--sand-light) 0%, var(--sand) 55%, var(--sand-deep) 100%);
}

.hero::before,
.event-board::before {
	position: absolute;
	top: 14px;
	left: -8%;
	width: 116%;
	height: 80px;
	content: "";
	border-top: 3px solid rgba(43, 36, 31, 0.92);
	border-radius: 50%;
	transform: rotate(-1deg);
}

.hero::after,
.event-board::after {
	position: absolute;
	top: 23px;
	left: 0;
	width: 100%;
	height: 62px;
	content: "";
	background:
		radial-gradient(circle at 12% 54%, #ffe4a6 0 9px, #a76f32 10px 12px, transparent 13px),
		radial-gradient(circle at 34% 68%, #ffe4a6 0 9px, #a76f32 10px 12px, transparent 13px),
		radial-gradient(circle at 56% 48%, #ffe4a6 0 9px, #a76f32 10px 12px, transparent 13px),
		radial-gradient(circle at 79% 68%, #ffe4a6 0 9px, #a76f32 10px 12px, transparent 13px);
	opacity: 0.9;
	pointer-events: none;
}

.hero-grain {
	position: absolute;
	inset: 0;
	opacity: 0.2;
	background-image: radial-gradient(rgba(85, 62, 37, 0.3) 0.6px, transparent 0.8px);
	background-size: 8px 8px;
	pointer-events: none;
}

.hero-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: clamp(88px, 9vw, 116px) 0 48px;
	text-align: center;
}

.hero-logo {
	width: min(270px, 54vw);
	aspect-ratio: 1;
	margin-bottom: 18px;
	border-radius: 50%;
}

.hero-drinks {
	position: absolute;
	z-index: 1;
	width: clamp(108px, 16vw, 210px);
	opacity: 0.95;
	mix-blend-mode: multiply;
	pointer-events: none;
}

.hero-drinks-left {
	top: clamp(190px, 20vw, 248px);
	left: clamp(28px, 16vw, 260px);
}

.hero-drinks-right {
	top: clamp(190px, 20vw, 248px);
	right: clamp(28px, 16vw, 260px);
	transform: scaleX(-1);
}

.eyebrow,
.label {
	margin: 0 0 12px;
	color: var(--caramel);
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
}

.eyebrow {
	margin-bottom: 10px;
}

.label {
	margin-bottom: 24px;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1 {
	max-width: 900px;
	margin-bottom: 0;
	font-size: clamp(48px, 6.5vw, 78px);
	line-height: 1.04;
}

.lead {
	max-width: 720px;
	margin: 18px 0 0;
	color: var(--muted);
	font-size: clamp(19px, 2.1vw, 23px);
	line-height: 1.5;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 28px;
}

.button {
	min-height: 50px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid #cbbfa2;
	border-radius: 8px;
	padding: 0 24px;
	font-size: 16px;
	font-weight: 800;
	transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
	transform: translateY(-1px);
}

.button.primary {
	border-color: var(--caramel);
	background: var(--caramel);
	color: var(--paper-strong);
}

.section {
	padding: clamp(58px, 8vw, 96px) 0;
	background: var(--sand);
	border-top: 1px solid rgba(236, 223, 196, 0.82);
}

#abende,
#ort,
#verein,
#mitmachen,
#kontakt,
#galerie {
	scroll-margin-top: 112px;
}

.section.alt {
	background: var(--sand-light);
}

.event-board-section {
	position: relative;
	overflow: hidden;
	padding: clamp(88px, 9vw, 128px) 0 clamp(58px, 8vw, 94px);
	background:
		radial-gradient(circle at 78% 12%, rgba(200, 120, 40, 0.24), transparent 45%),
		linear-gradient(160deg, var(--sand-light) 0%, var(--sand) 55%, var(--sand-deep) 100%);
}

.event-board {
	position: relative;
	z-index: 1;
	overflow: hidden;
	color: var(--ink);
}

.event-board::before {
	top: -76px;
}

.event-board::after {
	top: -67px;
}

.event-board-head {
	position: relative;
	min-height: 272px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.board-kicker {
	margin: 0;
	font-size: clamp(45px, 7vw, 82px);
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.board-subrule {
	margin: 12px 0 0;
	color: var(--caramel-soft);
	font-size: clamp(17px, 2.4vw, 24px);
	font-weight: 800;
	text-transform: uppercase;
}

.board-subrule::before,
.board-subrule::after {
	display: inline-block;
	width: 34px;
	margin: 0 12px;
	border-top: 2px solid currentColor;
	content: "";
	vertical-align: middle;
}

.board-brand {
	margin: 20px 0 0;
	color: var(--caramel);
	font-size: clamp(34px, 4.8vw, 52px);
	font-weight: 800;
	line-height: 1;
}

.board-tagline {
	margin: 10px 0 0;
	color: #8a6a45;
	font-size: clamp(18px, 2.5vw, 28px);
}

.board-drinks {
	position: absolute;
	top: 50%;
	width: clamp(108px, 14vw, 178px);
	opacity: 0.95;
	mix-blend-mode: multiply;
	transform: translateY(-46%);
	pointer-events: none;
}

.board-drinks-left {
	left: clamp(8px, 8vw, 100px);
}

.board-drinks-right {
	right: clamp(8px, 8vw, 100px);
	transform: translateY(-46%) scaleX(-1);
}

.opening-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(20px, 4vw, 44px);
	margin-top: 20px;
}

.opening-card {
	min-height: 348px;
	padding: clamp(28px, 4vw, 42px);
	border: 1px solid rgba(160, 120, 70, 0.3);
	border-bottom: 6px solid rgba(150, 110, 65, 0.28);
	border-radius: 22px;
	background: var(--paper-strong);
	text-align: center;
}

.opening-card p {
	display: inline-flex;
	margin-bottom: 22px;
	padding: 8px 22px;
	border-radius: 8px;
	background: var(--caramel);
	color: var(--paper-strong);
	font-size: 17px;
	font-weight: 800;
	text-transform: uppercase;
}

.opening-card.afterwork p {
	background: var(--olive);
}

.opening-card h2 {
	margin-bottom: 17px;
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1;
	text-transform: uppercase;
}

.opening-card strong {
	display: inline-block;
	margin-bottom: 18px;
	padding: 12px 30px;
	border: 3px solid var(--ink);
	border-radius: 999px;
	color: #4a3826;
	font-size: clamp(29px, 4vw, 42px);
	line-height: 1;
	white-space: nowrap;
}

.opening-card span {
	display: block;
	max-width: 420px;
	margin: 0 auto;
	color: #7a6a54;
	font-size: 18px;
	line-height: 1.5;
}

.next-events {
	max-width: 930px;
	margin: clamp(54px, 7vw, 76px) auto 0;
}

.event-list {
	border-top: 1px solid rgba(160, 120, 70, 0.36);
}

.event-row {
	display: grid;
	grid-template-columns: minmax(136px, 0.28fr) 1fr;
	gap: clamp(18px, 4vw, 50px);
	padding: 22px 0;
	border-bottom: 1px solid rgba(160, 120, 70, 0.28);
}

.event-row time {
	color: var(--caramel);
	font-size: 18px;
	font-weight: 800;
}

.event-row h3 {
	margin-bottom: 4px;
	font-size: clamp(23px, 3vw, 32px);
	line-height: 1.1;
}

.event-row p,
.event-empty {
	margin-bottom: 0;
	color: #655947;
	font-size: 17px;
}

.event-links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 12px;
}

.event-links a,
.calendar-link a {
	color: var(--coffee);
	font-weight: 800;
}

.event-board-note {
	margin: 20px 0 0;
	color: var(--olive-dark);
	font-size: 16px;
	font-weight: 800;
}

.calendar-link {
	margin: 18px 0 0;
}

.statement {
	max-width: 680px;
	color: var(--ink);
	font-size: clamp(20px, 2.4vw, 25px);
	line-height: 1.65;
}

.statement p:first-child {
	font-weight: 800;
}

.statement p:last-child {
	margin-bottom: 0;
}

.statement strong {
	color: var(--coffee);
}

.place {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(36px, 7vw, 82px);
	align-items: center;
}

.place-copy {
	font-size: clamp(22px, 3vw, 33px);
	line-height: 1.28;
}

.place-copy p + p {
	margin-top: 20px;
	color: #55493a;
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.55;
}

.photo-placeholder,
.photo-frame {
	min-height: 360px;
	display: grid;
	place-items: center;
	overflow: hidden;
	border: 1px solid rgba(160, 120, 70, 0.35);
	border-radius: 10px;
	padding: 28px;
	background: var(--paper-strong);
	color: var(--muted);
	text-align: center;
}

.photo-frame {
	padding: 0;
}

.photo-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.action-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	overflow: hidden;
	border: 1px solid rgba(160, 120, 70, 0.35);
	border-radius: 6px;
	background: rgba(160, 120, 70, 0.25);
}

.action-box {
	min-height: 254px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	padding: clamp(28px, 4vw, 46px);
	background: var(--paper-strong);
}

.action-box + .action-box {
	border-left: 1px solid rgba(160, 120, 70, 0.25);
}

.action-box h2 {
	margin-bottom: 0;
	font-size: clamp(27px, 3vw, 38px);
	line-height: 1.08;
}

.action-box p {
	max-width: 500px;
	margin-bottom: 0;
	color: #55493a;
	font-size: 18px;
	line-height: 1.55;
}

.text-link {
	color: var(--coffee);
	font-weight: 800;
}

.club {
	background: var(--sand);
	color: var(--ink);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.club .section-inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 32px;
	align-items: end;
}

.club .label {
	color: var(--caramel);
}

.club p {
	max-width: 730px;
	margin-bottom: 0;
	color: #3d3226;
	font-size: clamp(22px, 3vw, 32px);
	line-height: 1.45;
}

.club strong {
	color: var(--ink);
}

.club-downloads {
	margin-top: 20px;
}

.downloads-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
}

.participate {
	background: var(--sand-light);
}

.participate-head {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(26px, 6vw, 74px);
	align-items: end;
	margin-bottom: clamp(30px, 5vw, 50px);
}

.participate-head h2 {
	margin-bottom: 0;
	font-size: clamp(38px, 5vw, 62px);
	line-height: 1.02;
}

.participate-copy {
	color: #55493a;
	font-size: 18px;
	line-height: 1.6;
}

.participate-copy p:last-child {
	margin-bottom: 0;
}

.participate-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	overflow: hidden;
	border: 1px solid rgba(160, 120, 70, 0.35);
	border-radius: 6px;
	background: rgba(160, 120, 70, 0.25);
}

.participate-grid article {
	min-height: 226px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	padding: clamp(24px, 3vw, 36px);
	background: var(--paper-strong);
}

.participate-grid article + article {
	border-left: 1px solid rgba(160, 120, 70, 0.25);
}

.participate-grid h3 {
	margin-bottom: 10px;
	font-size: 25px;
	line-height: 1.12;
}

.participate-grid p {
	margin-bottom: 0;
	color: #55493a;
	font-size: 17px;
}

.instagram-grid {
	display: grid;
	grid-template-columns: 1.1fr repeat(3, minmax(0, 0.8fr));
	overflow: hidden;
	border: 1px solid rgba(160, 120, 70, 0.35);
	border-radius: 6px;
	background: rgba(160, 120, 70, 0.25);
}

.instagram-intro,
.insta-card {
	min-height: 202px;
	padding: clamp(24px, 3vw, 34px);
	background: var(--paper-strong);
}

.insta-card {
	border-left: 1px solid rgba(160, 120, 70, 0.25);
}

.instagram-intro h2,
.insta-card strong {
	display: block;
	margin-bottom: 10px;
	font-size: 24px;
}

.instagram-intro p,
.insta-card small {
	color: #6d614f;
	font-size: 16px;
}

.insta-card span {
	display: block;
	margin-bottom: 16px;
	color: var(--caramel);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

.instagram-grid .insta-card:last-of-type {
	background: #f4ead8;
}

.instagram-grid .insta-card:last-of-type span {
	color: var(--olive-dark);
}

.sponsors {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	color: #5b544a;
	font-size: 16px;
}

.legal-page {
	min-height: 60vh;
}

.legal-page .narrow {
	max-width: 780px;
}

.legal-page h1 {
	margin-bottom: 28px;
}

.text-body {
	color: #55493a;
	font-size: 18px;
}

.text-body h2 {
	margin-top: 34px;
	color: var(--ink);
}

.footer {
	padding: 42px 0 54px;
	background: var(--paper);
	color: #5b544a;
	font-size: 15px;
}

.footer-inner {
	width: min(var(--max), calc(100% - 40px));
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 24px;
}

.footer-text {
	margin-top: 14px;
	color: var(--ink);
}

.footer-text p {
	margin: 0 0 4px;
}

.footer-text strong {
	color: var(--coffee);
}

.footer a:hover,
.sponsors a:hover,
.text-link:hover,
.calendar-link a:hover,
.event-links a:hover {
	color: var(--coffee);
	text-decoration: underline;
}

@media (max-width: 900px) {
	.hero-drinks {
		width: 132px;
	}

	.hero-drinks-left {
		left: 8%;
	}

	.hero-drinks-right {
		right: 8%;
	}

	.board-drinks {
		width: 124px;
	}

	.instagram-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.instagram-intro,
	.insta-card:nth-child(3) {
		border-left: 0;
	}
}

@media (max-width: 740px) {
	.nav-inner {
		align-items: flex-start;
		flex-direction: column;
		padding: 14px 0;
	}

	.nav-links {
		width: 100%;
		justify-content: space-between;
		gap: 12px;
		font-size: 14px;
	}

	.hero {
		min-height: 690px;
	}

	.hero::before {
		top: 10px;
		height: 58px;
		border-top-width: 2px;
	}

	.hero::after {
		top: 17px;
		height: 46px;
		background-size: 160px 46px;
	}

	.hero-content {
		padding-top: 88px;
	}

	.hero-logo {
		width: min(234px, 55vw);
		margin-bottom: 16px;
	}

	.hero-drinks {
		top: 205px;
		width: 90px;
		opacity: 0.58;
	}

	.hero-drinks-left {
		left: -10px;
	}

	.hero-drinks-right {
		right: -10px;
	}

	h1 {
		font-size: clamp(46px, 14vw, 62px);
	}

	.lead {
		font-size: 19px;
	}

	.button {
		flex: 1 1 100%;
	}

	.event-board-section {
		padding-top: 78px;
	}

	.event-board::before {
		top: -65px;
	}

	.event-board::after {
		top: -58px;
	}

	.event-board-head {
		min-height: 220px;
	}

	.board-kicker {
		font-size: clamp(26px, 8.5vw, 45px);
	}

	.board-drinks {
		top: 58%;
		width: 78px;
		opacity: 0.72;
	}

	.board-drinks-left {
		left: -6px;
	}

	.board-drinks-right {
		right: -6px;
	}

	.board-subrule::before,
	.board-subrule::after {
		width: 18px;
		margin: 0 8px;
	}

	.opening-grid,
	.event-row,
	.place,
	.action-grid,
	.club .section-inner,
	.participate-head,
	.participate-grid,
	.instagram-grid {
		grid-template-columns: 1fr;
	}

	.opening-card {
		min-height: 0;
		border-radius: 16px;
	}

	.event-row {
		gap: 6px;
	}

	.photo-placeholder,
	.photo-frame {
		min-height: 270px;
	}

	.action-box + .action-box,
	.participate-grid article + article,
	.insta-card,
	.instagram-intro,
	.insta-card:nth-child(3) {
		border-top: 1px solid rgba(160, 120, 70, 0.25);
		border-left: 0;
	}

	.participate-grid article {
		min-height: 184px;
	}
}

.gallery-section h2 {
	margin-bottom: 24px;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.05;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 14px;
}

.gallery-item {
	display: block;
	padding: 0;
	border: 0;
	border-radius: 10px;
	overflow: hidden;
	cursor: zoom-in;
	background: var(--sand-deep);
	aspect-ratio: 4 / 3;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.gallery-item:hover img {
	transform: scale(1.05);
}

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: clamp(20px, 5vw, 60px);
	background: rgba(43, 36, 31, 0.92);
}

.lightbox[hidden] {
	display: none;
}

.lightbox-image {
	max-width: 100%;
	max-height: 78vh;
	border-radius: 6px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-caption {
	max-width: 720px;
	margin: 0;
	color: var(--paper);
	text-align: center;
	font-size: 16px;
}

.lightbox-close {
	position: absolute;
	top: 18px;
	right: 24px;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(251, 245, 233, 0.4);
	border-radius: 50%;
	background: transparent;
	color: var(--paper);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.lightbox-close:hover {
	background: rgba(251, 245, 233, 0.12);
}

@media (max-width: 640px) {
	.gallery-grid {
		grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
		gap: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
