@font-face {
	font-family: Oswald;
	font-style: normal;
	font-weight: 200 700;
	font-display: swap;
	src: url("/fonts/oswald.woff2") format("woff2");
	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: Oswald;
	font-style: normal;
	font-weight: 200 700;
	font-display: swap;
	src: url("/fonts/oswald-ext.woff2") format("woff2");
	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: Inter;
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("/fonts/inter.woff2") format("woff2");
}

:root {
	--bg: #121214;
	--bg-2: #1a1a1d;
	--bg-3: #232327;
	--line: #2c2c31;
	--ink: #f1efe9;
	--muted: #a19e97;
	--red: #d8102e;
	--red-ink: #ff5468;
	--paper: #f1efe9;
	--gap: clamp(1rem, 3vw, 2rem);
	--radius: 3px;
	--heading: Oswald, "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--body);
	font-size: 1rem;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

h1, h2, h3 {
	font-family: var(--heading);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	line-height: 1.08;
	margin: 0 0 0.5rem;
	text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.4rem); }
h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem); }
h1 small { font-size: 0.5em; color: var(--muted); font-weight: 400; margin-left: 0.4em; }

a { color: var(--red-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--red-ink); outline-offset: 2px; }

.kicker {
	font-family: var(--heading);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.85rem;
	color: var(--red-ink);
	margin: 0 0 0.4rem;
}
.meta {
	margin: 0;
	color: var(--muted);
	font-size: 0.85rem;
	letter-spacing: 0.02em;
}
.meta .dot { margin: 0 0.45em; opacity: 0.6; }
.meta a { color: var(--muted); text-decoration: underline; text-underline-offset: 0.15em; }
.meta a:hover { color: var(--ink); }
.muted { color: var(--muted); }

.skip {
	position: absolute;
	left: -200vw;
	top: 0.5rem;
	background: var(--red);
	color: #fff;
	padding: 0.5rem 1rem;
	z-index: 100;
}
.skip:focus { left: 0.5rem; }

.wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 var(--gap);
}

header.top {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(18, 18, 20, 0.86);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}
header.top .bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--gap);
	min-height: 64px;
}
header.top .brand img { display: block; width: clamp(180px, 30vw, 280px); height: auto; }
header.top nav { display: flex; align-items: center; gap: clamp(0.4rem, 2vw, 1.4rem); }
header.top nav a, header.top nav button {
	font-family: var(--heading);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 1rem;
	color: var(--ink);
	background: none;
	border: 0;
	padding: 0.4rem 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	border-bottom: 2px solid transparent;
	text-decoration: none;
}
header.top nav a:hover, header.top nav button:hover { border-bottom-color: var(--red); }
@media (max-width: 600px) {
	header.top nav .search-open span { display: none; }
}

main { padding: var(--gap) 0 3.5rem; }

.hero {
	position: relative;
	margin: 0 0 1.5rem;
	background: var(--bg-2);
	overflow: hidden;
	border-radius: var(--radius);
}
.hero-image { display: block; }
.hero-image img {
	display: block;
	width: 100%;
	aspect-ratio: 21 / 9;
	object-fit: cover;
	transition: transform 0.6s ease;
}
.hero:hover .hero-image img { transform: scale(1.02); }
.hero-text {
	position: absolute;
	inset: auto 0 0 0;
	padding: clamp(1.2rem, 4vw, 3rem);
	background: linear-gradient(to top, rgba(10, 10, 12, 0.92) 0%, rgba(10, 10, 12, 0.55) 60%, rgba(10, 10, 12, 0) 100%);
}
.hero-text h1 { font-size: clamp(1.6rem, 1rem + 3.4vw, 3.6rem); margin: 0 0 0.4rem; max-width: 22ch; }
.hero-text h1 a { color: var(--ink); }
.hero-text h1 a:hover { text-decoration: none; color: #fff; }
.hero-text .meta { color: var(--ink); opacity: 0.85; }
@media (max-width: 700px) {
	.hero-image img { aspect-ratio: 4 / 3; }
}

.lead {
	font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
	color: var(--muted);
	max-width: 64ch;
	margin: 0 0 2.5rem;
}

.page-head { margin: 1rem 0 2rem; max-width: 80ch; }
.page-head h1 { margin: 0.3rem 0 0.8rem; }
.page-head .description { color: var(--ink); max-width: 68ch; }
.page-head .description p { margin: 0 0 0.8rem; }
.page-head .count { color: var(--muted); font-size: 0.9rem; margin: 0.4rem 0 0; }
.page-head .years { margin-top: 1.2rem; }

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 2.2rem 1.5rem;
}
.card .cover {
	display: block;
	background: var(--bg-2);
	overflow: hidden;
	border-radius: var(--radius);
	aspect-ratio: 3 / 2;
}
.card .cover img, .card .nocover {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.card:hover .cover img { transform: scale(1.04); }
.card .meta { margin: 0.8rem 0 0.25rem; }
.card h2 { font-size: 1.4rem; margin: 0 0 0.3rem; }
.card h2 a { color: var(--ink); }
.card h2 a:hover { color: #fff; text-decoration: none; }
.card .count { margin: 0; color: var(--muted); font-size: 0.85rem; }

.years, .pager {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
}
.years a, .years strong, .pager a, .pager strong, .pager span {
	font-family: var(--heading);
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	display: inline-block;
	min-width: 2.4rem;
	text-align: center;
	padding: 0.35rem 0.7rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink);
}
.years a:hover, .pager a:hover { border-color: var(--red-ink); text-decoration: none; }
.years strong, .pager strong { background: var(--red); border-color: var(--red); color: #fff; }
.pager span { border: 0; color: var(--muted); min-width: 1rem; }
.pager { margin: 2.5rem 0 0; }
.pager .step { min-width: 0; }
@media (max-width: 600px) {
	.years { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.3rem; scrollbar-width: thin; }
}

.archive { margin: 3rem 0 0; padding-top: 2rem; border-top: 1px solid var(--line); }
.archive h2 { font-size: 1.1rem; color: var(--muted); letter-spacing: 0.1em; margin-bottom: 0.8rem; }

.gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.gallery a {
	display: block;
	flex-grow: calc(var(--w) / var(--h) * 240);
	flex-basis: calc(var(--w) / var(--h) * 240px);
	aspect-ratio: var(--w) / var(--h);
	background: var(--bg-2);
	overflow: hidden;
	border-radius: 2px;
}
.gallery .filler { flex-grow: 1000000; flex-basis: 0; }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease, opacity 0.3s ease; }
.gallery a:hover img { transform: scale(1.03); }
@media (max-width: 600px) {
	.gallery a { flex-basis: calc(var(--w) / var(--h) * 160px); flex-grow: calc(var(--w) / var(--h) * 160); }
}

.neighbours {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin: 3rem 0 0;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}
.neighbour {
	display: block;
	color: var(--ink);
	font-family: var(--heading);
	text-transform: uppercase;
	font-size: 1.15rem;
	line-height: 1.2;
}
.neighbour small { display: block; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.12em; margin-bottom: 0.2rem; }
.neighbour.older { grid-column: 2; text-align: right; }
.neighbour:hover { color: #fff; text-decoration: none; }

.text { max-width: 70ch; }
.text h2 { margin-top: 2.5rem; }
.text address { font-style: normal; }
.text ul { padding-left: 1.2rem; }

section.about {
	background: var(--bg-2);
	border-top: 1px solid var(--line);
	padding: 3.5rem 0;
}
.about-grid {
	display: grid;
	grid-template-columns: auto minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 2.5rem;
	align-items: start;
}
.about-grid .portrait { width: 150px; height: auto; border-radius: var(--radius); filter: grayscale(1) contrast(1.05); }
.about-text p { max-width: 60ch; }
.facts { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem !important; color: var(--muted); font-size: 0.85rem; }
.facts strong { font-family: var(--heading); font-size: 1.7rem; font-weight: 500; color: var(--ink); display: block; line-height: 1; }
.contact { font-style: normal; line-height: 1.7; }
.contact .links { margin-top: 1rem; font-size: 0.9rem; }
@media (max-width: 800px) {
	.about-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
	.about-grid .portrait { width: 110px; }
}

.partners-strip { background: var(--paper); padding: 1.5rem 0; }
.partners {
	list-style: none;
	margin: 0 auto;
	padding: 0 var(--gap);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1.5rem 2.5rem;
}
.partners img { max-height: 44px; width: auto; max-width: 140px; filter: grayscale(1); opacity: 0.75; transition: opacity 0.2s, filter 0.2s; }
.partners a:hover img { filter: none; opacity: 1; }

footer { padding: 2rem var(--gap); text-align: center; color: var(--muted); font-size: 0.85rem; }
footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 0.15em; }

dialog#viewer {
	border: 0;
	padding: 0;
	margin: 0;
	background: #050506;
	color: var(--ink);
	width: 100vw;
	height: 100dvh;
	max-width: none;
	max-height: none;
	overflow: hidden;
}
dialog#viewer::backdrop { background: #050506; }
dialog#viewer figure {
	margin: 0;
	height: calc(100dvh - 3.6rem);
	display: flex;
	align-items: center;
	justify-content: center;
}
dialog#viewer figure img { max-width: 100vw; max-height: calc(100dvh - 3.6rem); object-fit: contain; }
.viewer-bar {
	height: 3.6rem;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 1rem;
	padding: 0 1rem;
	font-size: 0.85rem;
	color: var(--muted);
	border-top: 1px solid var(--line);
}
.viewer-bar p { margin: 0; }
.viewer-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; font-family: var(--heading); letter-spacing: 0.05em; color: var(--ink); }
.viewer-counter { font-variant-numeric: tabular-nums; }
.viewer-actions { display: flex; justify-content: flex-end; gap: 1.2rem; }
.viewer-actions a, .viewer-actions button {
	background: none;
	border: 0;
	padding: 0;
	color: var(--ink);
	font: inherit;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}
dialog#viewer .prev, dialog#viewer .next {
	position: absolute;
	top: 0;
	bottom: 3.6rem;
	width: 18%;
	background: none;
	border: 0;
	color: #fff;
	font-size: 3rem;
	line-height: 1;
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.2s;
	display: flex;
	align-items: center;
	padding: 0 1rem;
}
dialog#viewer .prev { left: 0; justify-content: flex-start; }
dialog#viewer .next { right: 0; justify-content: flex-end; }
dialog#viewer .prev:hover, dialog#viewer .next:hover, dialog#viewer .prev:focus-visible, dialog#viewer .next:focus-visible { opacity: 0.9; }
@media (max-width: 700px) {
	.viewer-bar { grid-template-columns: minmax(0, 1fr) auto; font-size: 0.8rem; }
	.viewer-title { display: none; }
	dialog#viewer .prev, dialog#viewer .next { opacity: 0.6; width: 25%; font-size: 2.4rem; }
}

dialog#suche {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg-2);
	color: var(--ink);
	padding: 0;
	width: min(700px, 94vw);
	margin: 8vh auto;
	max-height: 80vh;
	display: flex;
	flex-direction: column;
}
dialog#suche:not([open]) { display: none; }
dialog#suche::backdrop { background: rgba(5, 5, 6, 0.8); backdrop-filter: blur(4px); }
.search-form { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.6rem 0.6rem 1rem; border-bottom: 1px solid var(--line); }
.search-form input {
	flex: 1;
	background: none;
	border: 0;
	color: var(--ink);
	font: inherit;
	font-size: 1.25rem;
	padding: 0.5rem 0;
	min-width: 0;
}
.search-form input:focus { outline: none; }
.search-form .close { background: none; border: 0; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0.2rem 0.5rem; }
.search-results { list-style: none; margin: 0; padding: 0.4rem 0; overflow-y: auto; }
.search-results li a { display: block; padding: 0.6rem 1rem; color: var(--ink); }
.search-results li a:hover, .search-results li a:focus-visible { background: var(--bg-3); text-decoration: none; outline: none; }
.search-results .name { display: block; font-family: var(--heading); text-transform: uppercase; font-size: 1.05rem; }
.search-results .meta { display: block; }
.search-results .hint { padding: 0.8rem 1rem; color: var(--muted); font-size: 0.9rem; }
