/* ==========================================================================
   Uebereck – Styles
   Umbruchpunkt Mobil/Desktop: 960px
   ========================================================================== */

/* ---------- Schriften (lokal) ---------- */

@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url(../fonts/jost-latin-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url(../fonts/jost-latin-ext-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Newsreader";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url(../fonts/newsreader-latin-opsz-normal.woff2) format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Newsreader";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url(../fonts/newsreader-latin-ext-opsz-normal.woff2) format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Newsreader";
	font-style: italic;
	font-weight: 200 800;
	font-display: swap;
	src: url(../fonts/newsreader-latin-opsz-italic.woff2) format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Newsreader";
	font-style: italic;
	font-weight: 200 800;
	font-display: swap;
	src: url(../fonts/newsreader-latin-ext-opsz-italic.woff2) format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */

:root {
	--anthrazit: #2C2E35;
	--papier: #F4F1EA;
	--muted: #b9b8b4;
	--muted-on-light: #5c5e64;
	--line: #45474f;
	--gelb: #E8B04A;
	--placeholder: #cfc9bd;
	--sans: "Jost", system-ui, sans-serif;
	--serif: "Newsreader", Georgia, serif;
	--pad: 56px;
	--gap: 12px;
	--sidebar: 380px;
	--content-max: 1100px; /* maximale Breite des Inhalts rechts neben der Seitenleiste */
}

/* ---------- Basis ---------- */

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

body {
	margin: 0;
	background: var(--anthrazit);
	color: var(--papier);
	font-family: var(--sans);
	font-weight: 300;
	font-size: 17px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: opacity .15s; }
a:hover { opacity: .7; }

:focus-visible { outline: 2px solid var(--papier); outline-offset: 2px; }
.banner :focus-visible { outline-color: var(--anthrazit); }

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

address { font-style: normal; }

.screen-reader-text {
	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: 12px; top: -100px;
	z-index: 200;
	padding: 12px 20px;
	background: var(--papier);
	color: var(--anthrazit);
	font-size: 15px;
}
.skip-link:focus { top: 12px; }

/* Englische Zeile */
.en {
	display: block;
	margin-top: 6px;
	font-family: var(--serif);
	font-style: italic;
	font-weight: 300;
	font-size: 14px;
	line-height: 1.35;
	letter-spacing: 0;
	text-transform: none;
	color: var(--muted);
}
.en--inline { display: inline; margin: 0 0 0 10px; }

.label {
	margin: 0;
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--muted);
}

.headline {
	margin: 0;
	font-family: var(--serif);
	font-weight: 300;
}
.headline--xl { max-width: 640px; font-size: 42px; line-height: 1.2; }
.headline--xl .en { font-size: 22px; }
.headline--l { font-size: 34px; line-height: 1.25; }
.headline--l .en { font-size: 20px; }

.only-mobile { display: none; }

/* ---------- Buttons ---------- */

.button {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-align: center;
}
.button .en { font-size: 14px; }
.button--primary { padding: 16px 32px; background: var(--papier); color: var(--anthrazit); font-weight: 500; }
.button--primary .en { color: var(--muted-on-light); }
.button--outline { border: 1px solid var(--papier); color: var(--papier); }
.button--block { display: flex; width: 100%; padding: 15px 0; letter-spacing: .16em; }

/* ---------- Hinweis-Streifen ---------- */

.banner {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 32px;
	padding: 14px var(--pad);
	background: var(--gelb);
	color: var(--anthrazit);
}
.banner__text { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.banner__text strong { font-size: 17px; font-weight: 500; letter-spacing: .02em; }
.banner__text .en { margin: 0; font-size: 16px; color: var(--anthrazit); }
.banner__button {
	display: flex;
	flex-direction: column;
	padding: 10px 22px;
	background: var(--anthrazit);
	color: var(--papier);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-align: center;
	white-space: nowrap;
}
.banner__button .en { margin-top: 2px; font-size: 13px; color: #d9d6cf; }

/* ---------- Layout ---------- */

.layout {
	display: grid;
	grid-template-columns: var(--sidebar) minmax(0, var(--content-max));
}

.mobile-header { display: none; }

.sidebar {
	position: sticky;
	top: 0;
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: 40px;
	max-height: 100vh;
	overflow-y: auto;
	padding: 40px 44px;
}
.sidebar__logo img { width: 100%; }
.nav-close { display: none; }

.main-nav__list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--serif);
	font-size: 26px;
	font-weight: 300;
	line-height: 1.2;
}
.main-nav__list a { display: block; }
.main-nav__list .en { font-size: 15px; }

.sidebar__info { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.sidebar__info p { margin: 0; font-size: 15px; line-height: 1.6; }

.content {
	display: flex;
	flex-direction: column;
	gap: var(--gap);
	min-width: 0;
	padding: 12px 12px 12px 0;
}
.content:focus { outline: none; }

/* ---------- Startseite ---------- */

.hero img {
	width: 100%;
	height: 620px;
	object-fit: cover;
	background: var(--placeholder);
}

.section { display: flex; flex-direction: column; gap: var(--gap); scroll-margin-top: 12px; }

.intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
	padding: 64px var(--pad);
}
.intro__buttons { display: flex; gap: 12px; }

.grid { display: grid; gap: var(--gap); }
.grid img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: var(--placeholder);
}
.grid--karte { grid-template-columns: repeat(12, 1fr); }
.grid--karte > * { grid-column: span 3; }
.grid--karte > :nth-child(-n+3) { grid-column: span 4; }
.lightbox-link { display: block; cursor: zoom-in; }
.lightbox-link:hover { opacity: .85; }
.grid--galerie { grid-template-columns: repeat(4, 1fr); }

.center { display: flex; justify-content: center; margin: 0; padding: 48px 0 32px; }

.raum__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
	padding: 64px var(--pad);
}
.raum__text { display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.raum__head .button { padding: 14px 26px; }
.raum__bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--placeholder); }

.section--galerie { gap: 24px; padding-top: 96px; }
.section__label { padding: 0 var(--pad); }

.section--kontakt {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: start;
	gap: 48px;
	padding: 96px var(--pad) 0;
}
.kontakt__head {
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.kontakt__head > div { display: flex; flex-direction: column; gap: 16px; }
.kontakt__adresse { display: flex; flex-direction: column; gap: 6px; font-size: 17px; line-height: 1.5; }
.kontakt__zeiten { margin-top: 10px; }
.kontakt__zeiten .en { font-size: 15px; }
.kontakt__route { margin-top: 10px; font-size: 15px; }
.map { display: block; width: 100%; height: auto; background: #34363d; }
a.kontakt__karte { display: block; }
a.kontakt__karte:hover { opacity: .85; }

/* ---------- Lightbox ---------- */

.lightbox {
	width: 100vw;
	max-width: none;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(28, 29, 34, .96);
	color: var(--papier);
	overscroll-behavior: contain;
}
.lightbox::backdrop { background: rgba(28, 29, 34, .96); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__figure { margin: 0; padding: 64px 88px; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__count {
	position: absolute;
	bottom: 20px;
	left: 0;
	right: 0;
	margin: 0;
	text-align: center;
	font-size: 13px;
	letter-spacing: .14em;
	color: var(--muted);
}
.lightbox__btn {
	position: absolute;
	width: 56px;
	height: 56px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--papier);
	cursor: pointer;
}
.lightbox__btn:hover { opacity: .7; }
.lightbox__btn::before,
.lightbox__btn::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background: currentColor;
}
.lightbox__close { top: 12px; right: 12px; }
.lightbox__close::before,
.lightbox__close::after { width: 26px; height: 2px; margin: -1px 0 0 -13px; transform: rotate(45deg); }
.lightbox__close::after { transform: rotate(-45deg); }
.lightbox__prev { top: 50%; left: 16px; margin-top: -28px; }
.lightbox__next { top: 50%; right: 16px; margin-top: -28px; }
.lightbox__prev::before,
.lightbox__next::before {
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	background: none;
	border-top: 2px solid currentColor;
	border-left: 2px solid currentColor;
}
.lightbox__prev::before { transform: translateX(3px) rotate(-45deg); }
.lightbox__next::before { transform: translateX(-3px) rotate(135deg); }
.lightbox__prev::after,
.lightbox__next::after { display: none; }

/* ---------- Footer ---------- */

.site-footer {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin-top: 84px;
	/* Spalten bündig mit dem Inhalt: links Seitenleiste + Innenabstand, rechts Ende des Inhalts */
	padding: 56px max(56px, calc(100% - var(--sidebar) - var(--content-max) + 56px)) 56px calc(var(--sidebar) + 56px);
	border-top: 1px solid var(--line);
	font-size: 15px;
	line-height: 1.5;
}
.site-footer__col { display: flex; flex-direction: column; gap: 8px; }
.site-footer__col p { margin: 0; }
.site-footer .label { font-size: 12px; color: var(--papier); }

/* ---------- Textseiten ---------- */

.text-page { padding: 96px var(--pad) 0; }
.text-page__header,
.entry { max-width: 720px; }
.text-page__header { display: flex; flex-direction: column; gap: 32px; margin-bottom: 56px; }

.tabs { display: flex; gap: 32px; overflow-x: auto; }
.tabs a {
	display: inline-flex;
	align-items: center;
	padding-bottom: 6px;
	border-bottom: 1px solid transparent;
	color: var(--muted);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: .14em;
	text-transform: uppercase;
	white-space: nowrap;
}
.tabs a[aria-current="page"] { color: var(--papier); border-bottom-color: var(--papier); }

.text-page__title { margin: 0; font-family: var(--serif); font-size: 56px; font-weight: 300; line-height: 1.1; }
.text-page__title .en { font-size: 24px; line-height: 1.4; }

.entry h2 {
	margin: 56px 0 12px;
	padding-top: 40px;
	border-top: 1px solid var(--line);
	font-family: var(--serif);
	font-size: 26px;
	font-weight: 400;
	line-height: 1.25;
}
.entry h3 { margin: 32px 0 8px; font-family: var(--serif); font-size: 20px; font-weight: 400; }
.entry > :first-child { margin-top: 0; }
.entry p,
.entry li { font-size: 17px; line-height: 1.7; text-wrap: pretty; }
.entry p,
.entry ul,
.entry ol { margin: 0 0 12px; }
.entry ul,
.entry ol { padding-left: 1.2em; }
.entry a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry .is-style-en,
.entry .is-style-en li {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 300;
	font-size: 17px;
	line-height: 1.6;
	color: var(--muted);
}
.entry h2 + .is-style-en { margin-top: -6px; margin-bottom: 16px; line-height: 1.4; }
.entry hr { margin: 40px 0; border: 0; border-top: 1px solid var(--line); }

/* ==========================================================================
   Mobil (< 960px)
   ========================================================================== */

@media (max-width: 959px) {
	:root { --pad: 20px; --gap: 8px; }

	.only-mobile { display: block; }
	.button.only-mobile { display: flex; }
	.label { color: var(--papier); letter-spacing: .28em; }
	.en { margin-top: 4px; }

	.banner { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 20px; }
	.banner__text strong { font-size: 16px; }
	.banner__text .en { font-size: 15px; }
	.banner__button { justify-content: center; min-height: 44px; padding: 8px 20px; white-space: normal; }

	.mobile-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 12px 20px;
		border-bottom: 1px solid var(--line);
	}
	.mobile-header__logo img { width: auto; height: 30px; }
	.nav-toggle {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 6px;
		width: 48px;
		height: 48px;
		margin-right: -12px;
		padding: 0;
		border: 0;
		background: none;
		cursor: pointer;
	}
	.nav-toggle__bar { display: block; width: 24px; height: 2px; background: var(--papier); }

	.layout { display: block; }

	/* Seitenleiste wird zum aufgeklappten Menü */
	.sidebar { display: none; }
	.nav-open { overflow: hidden; }
	.nav-open .sidebar {
		position: fixed;
		inset: 0;
		z-index: 100;
		display: flex;
		max-height: none;
		min-height: 100vh;
		min-height: 100dvh;
		padding: 24px 20px 40px;
		background: var(--anthrazit);
	}
	.sidebar__logo { max-width: 200px; }
	.nav-close {
		position: absolute;
		top: 12px;
		right: 8px;
		display: block;
		width: 48px;
		height: 48px;
		padding: 0;
		border: 0;
		background: none;
		cursor: pointer;
	}
	.nav-close::before,
	.nav-close::after {
		content: "";
		position: absolute;
		top: 23px;
		left: 12px;
		width: 24px;
		height: 2px;
		background: var(--papier);
		transform: rotate(45deg);
	}
	.nav-close::after { transform: rotate(-45deg); }
	.main-nav__list { gap: 20px; font-size: 30px; }

	.content { gap: 0; padding: 0; }
	.button { min-height: 52px; padding: 12px 20px; }
	.button--primary { padding: 12px 20px; }

	.hero img { height: auto; aspect-ratio: 4 / 5; }

	.intro { align-items: stretch; gap: 16px; padding: 44px var(--pad); }
	.intro .label { font-size: 12px; }
	.headline--xl { font-size: 34px; line-height: 1.15; }
	.headline--xl .en { font-size: 19px; }
	.headline--l { font-size: 30px; line-height: 1.2; }
	.headline--l .en { font-size: 18px; }
	.intro__hours { margin: 0; font-size: 15px; letter-spacing: .06em; }
	.intro__buttons { flex-direction: column; margin-top: 8px; }

	.section--karte .grid,
	.section--galerie .grid { padding: 0 var(--pad); }
	.grid--karte { grid-template-columns: repeat(2, 1fr); }
	.grid--karte > *,
	.grid--karte > :nth-child(-n+3) { grid-column: auto; }
	.grid--karte > :first-child { grid-column: span 2; }
	.grid--galerie { grid-template-columns: repeat(2, 1fr); }

	.center { display: block; padding: 36px var(--pad) 56px; }
	.center .button { display: flex; width: 100%; }

	.raum__bild { order: -1; }
	.raum__bild img { aspect-ratio: 4 / 5; }
	.raum__head { flex-direction: column; align-items: stretch; gap: 24px; padding: 32px var(--pad) 40px; }
	.raum__head .button { white-space: normal; }

	.section--galerie { gap: 20px; padding-top: 72px; }

	.section--kontakt { display: flex; gap: 24px; padding: 72px var(--pad) 0; }
	.kontakt__head { gap: 24px; }
	.kontakt__adresse { gap: 4px; }
	.kontakt__zeiten { margin-top: 8px; }
	.kontakt__karte { margin: 8px calc(var(--pad) * -1) 0; }

	.lightbox__figure { padding: 64px 0; }
	.lightbox__prev,
	.lightbox__next { top: auto; bottom: 4px; margin-top: 0; }
	.lightbox__count { bottom: 24px; }

	.site-footer { grid-template-columns: 1fr; gap: 32px; margin-top: 72px; padding: 56px var(--pad); }

	.text-page { padding: 48px var(--pad) 0; }
	.tabs a { min-height: 44px; padding-bottom: 0; }
	.text-page__title { font-size: 38px; }
	.text-page__title .en { font-size: 20px; }
	.entry h2 { font-size: 24px; }
	.entry p,
	.entry li { font-size: 16px; line-height: 1.65; }
	.entry .is-style-en,
	.entry .is-style-en li { font-size: 16px; }
}
