/* zeps.dev — Stylesheet
 *
 * Einziges Stylesheet der Seite. Farbwelt und Anmutung stammen vom
 * ursprünglichen Erscheinungsbild: schwarzer Grund, weiße Schrift,
 * Akzentrot #d9534f, System-Sans. Layout, Typografie und Abstände sind neu.
 * Zur Vorgeschichte siehe RESTORE.md.
 */

/* ---------- Grundwerte ---------- */

:root {
	--grund: #000000;
	--flaeche: #0e0e10;
	--flaeche-hoch: #16161a;
	--linie: #26262b;
	--linie-hell: #34343b;

	--text: #ffffff;
	--text-leise: #a9a9b2;
	--text-sehr-leise: #74747e;

	--akzent: #d9534f;
	--akzent-hell: #e8716d;
	--akzent-dunkel: #b8403c;
	/* Nur fuer Flaechen, auf denen weisser Text steht. --akzent (#d9534f)
	   erreicht mit Weiss nur 3,96:1 und verfehlt damit WCAG AA (4,5:1) fuer
	   normalgrossen Text; der Buttontext ist mit ~16px/600 zu klein fuer die
	   3:1-Ausnahme. #c34b47 kommt auf 4,75:1 und bleibt im selben Farbton.
	   --akzent bleibt unveraendert, weil es als Textfarbe auf Schwarz steht
	   und dort durch Abdunkeln schlechter wuerde. */
	--akzent-knopf: #c34b47;

	--schrift: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;

	--breite: 1120px;
	--radius: 10px;
	--radius-klein: 6px;

	--kopf-hoehe: 72px;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--kopf-hoehe) + 16px);
}

body {
	margin: 0;
	background: var(--grund);
	color: var(--text);
	font-family: var(--schrift);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a {
	color: var(--akzent-hell);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--text);
}

:focus-visible {
	outline: 2px solid var(--akzent-hell);
	outline-offset: 3px;
	border-radius: 2px;
}

h1,
h2,
h3 {
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.015em;
	margin: 0 0 0.5em;
}

h1 {
	font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
}

h2 {
	font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem);
}

h3 {
	font-size: 1.2rem;
	font-weight: 600;
}

p {
	margin: 0 0 1.1em;
}

.inhalt {
	width: min(100% - 2.5rem, var(--breite));
	margin-inline: auto;
}

.schmal {
	max-width: 70ch;
}

.leise {
	color: var(--text-leise);
}

/* Nur für Screenreader, bei Tastaturfokus sichtbar */
.nur-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.nur-sr:focus {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 200;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 20px;
	clip-path: none;
	background: var(--akzent-knopf);
	color: #fff;
	border-radius: var(--radius-klein);
	text-decoration: none;
}

/* ---------- Kopfbereich ---------- */

.kopf {
	position: sticky;
	top: 0;
	z-index: 100;
	min-height: var(--kopf-hoehe);
	display: flex;
	align-items: center;
	background: rgba(0, 0, 0, 0.82);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--linie);
}

.kopf__innen {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	width: min(100% - 2.5rem, var(--breite));
	margin-inline: auto;
}

.marke {
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--text);
	text-decoration: none;
	white-space: nowrap;
}

.marke:hover {
	color: var(--text);
}

.marke__punkt {
	color: var(--akzent);
}

.nav__liste {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav__link {
	display: block;
	padding: 0.5rem 0.85rem;
	border-radius: var(--radius-klein);
	color: var(--text);
	font-size: 0.94rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.nav__link:hover {
	background: var(--flaeche-hoch);
	color: var(--text);
}

.nav__link[aria-current="page"] {
	background: var(--akzent-knopf);
	color: #fff;
}

.nav__schalter {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--linie-hell);
	border-radius: var(--radius-klein);
	background: transparent;
	color: var(--text);
	cursor: pointer;
}

.nav__schalter span,
.nav__schalter span::before,
.nav__schalter span::after {
	display: block;
	width: 20px;
	height: 2px;
	margin-inline: auto;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__schalter span::before,
.nav__schalter span::after {
	content: "";
	position: relative;
}

.nav__schalter span::before {
	top: -6px;
}

.nav__schalter span::after {
	top: 4px;
}

.nav__schalter[aria-expanded="true"] span {
	background: transparent;
}

.nav__schalter[aria-expanded="true"] span::before {
	transform: translateY(6px) rotate(45deg);
}

.nav__schalter[aria-expanded="true"] span::after {
	transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 760px) {
	.nav__schalter {
		display: block;
	}

	.nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		padding: 0.6rem 1.25rem 1rem;
		background: rgba(0, 0, 0, 0.97);
		border-bottom: 1px solid var(--linie);
	}

	.nav[data-offen="true"] {
		display: block;
	}

	.nav__liste {
		flex-direction: column;
		align-items: stretch;
		gap: 0.15rem;
	}

	.nav__link {
		padding: 0.75rem 0.9rem;
	}
}

.zeitleiste__hinweis {
	margin-top: 2rem;
}

/* ---------- Hero ---------- */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(76vh, 620px);
	padding: 5rem 0;
	overflow: hidden;
}

/* <picture> soll keine eigene Box bilden - das absolut positionierte
   .hero__bild darin verhaelt sich damit genau wie vorher. */
.hero picture {
	display: contents;
}

.hero__bild {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		100deg,
		rgba(0, 0, 0, 0.92) 0%,
		rgba(0, 0, 0, 0.78) 38%,
		rgba(0, 0, 0, 0.35) 70%,
		rgba(0, 0, 0, 0.15) 100%
	);
}

.hero__inhalt {
	position: relative;
	z-index: 2;
	max-width: 46ch;
}

.hero__hut {
	display: inline-block;
	margin-bottom: 1rem;
	padding: 0.3rem 0.7rem;
	border: 1px solid var(--akzent);
	border-radius: 999px;
	color: var(--akzent-hell);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hero h1 {
	margin-bottom: 0.4em;
}

.hero__text {
	font-size: 1.15rem;
	color: #e6e6ea;
}

/* ---------- Seitenkopf der Unterseiten ---------- */

.seitenkopf {
	padding: 4.5rem 0 2.5rem;
	border-bottom: 1px solid var(--linie);
}

.seitenkopf h1 {
	margin-bottom: 0.25em;
}

.seitenkopf p {
	max-width: 62ch;
	margin: 0;
	color: var(--text-leise);
	font-size: 1.08rem;
}

/* ---------- Abschnitte ---------- */

.abschnitt {
	padding: 4rem 0;
}

.abschnitt + .abschnitt {
	border-top: 1px solid var(--linie);
}

.abschnitt__kopf {
	margin-bottom: 2rem;
}

.abschnitt__kopf h2 {
	margin-bottom: 0.3em;
}

.abschnitt__kopf h2::after {
	content: "";
	display: block;
	width: 44px;
	height: 3px;
	margin-top: 0.6rem;
	background: var(--akzent);
	border-radius: 2px;
}

.abschnitt__kopf p {
	max-width: 62ch;
	margin: 0;
	color: var(--text-leise);
}

/* ---------- Karten ---------- */

.karten {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 1.25rem;
}

.karte {
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	background: var(--flaeche);
	border: 1px solid var(--linie);
	border-radius: var(--radius);
	transition: border-color 0.18s ease, transform 0.18s ease;
}

.karte:hover {
	border-color: var(--linie-hell);
	transform: translateY(-2px);
}

.karte h3 {
	margin-bottom: 0.4em;
}

.karte p {
	margin-bottom: 1rem;
	color: var(--text-leise);
}

.karte__fuss {
	margin-top: auto;
	padding-top: 0.5rem;
}

.marken {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.marken li {
	padding: 0.2rem 0.6rem;
	background: var(--flaeche-hoch);
	border: 1px solid var(--linie);
	border-radius: 999px;
	color: var(--text-leise);
	font-size: 0.82rem;
}

/* ---------- Zeitleiste ---------- */

.zeitleiste {
	position: relative;
	margin: 0;
	padding: 0 0 0 1.75rem;
	list-style: none;
	border-left: 1px solid var(--linie);
}

.zeitleiste > li {
	position: relative;
	padding-bottom: 2.25rem;
}

.zeitleiste > li:last-child {
	padding-bottom: 0;
}

.zeitleiste > li::before {
	content: "";
	position: absolute;
	top: 0.55rem;
	left: calc(-1.75rem - 5px);
	width: 9px;
	height: 9px;
	background: var(--akzent);
	border-radius: 50%;
}

.zeitleiste__zeit {
	display: block;
	margin-bottom: 0.15rem;
	color: var(--akzent-hell);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.03em;
}

.zeitleiste h3 {
	margin-bottom: 0.15em;
}

.zeitleiste__ort {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--text-sehr-leise);
	font-size: 0.92rem;
}

.zeitleiste p {
	margin: 0;
	color: var(--text-leise);
}

/* ---------- Beschreibungslisten und Fließtext ---------- */

.text h2 {
	margin-top: 2.2rem;
}

.text h2:first-child {
	margin-top: 0;
}

.text h3 {
	margin-top: 1.6rem;
}

.text ul {
	margin: 0 0 1.1em;
	padding-left: 1.2rem;
}

.text li {
	margin-bottom: 0.35em;
}

.text address {
	margin-bottom: 1.1em;
	font-style: normal;
	color: var(--text-leise);
}

/* ---------- Kontakt ---------- */

.kontakt-gitter {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.25rem;
	align-items: start;
}

.knopf {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.7rem 1.3rem;
	background: var(--akzent-knopf);
	border: 1px solid var(--akzent-knopf);
	border-radius: var(--radius-klein);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.knopf:hover {
	background: var(--akzent-dunkel);
	color: #fff;
}

.knopf--leer {
	background: transparent;
	border-color: var(--linie-hell);
	color: var(--text);
}

.knopf--leer:hover {
	background: var(--flaeche-hoch);
	border-color: var(--text-sehr-leise);
}

.knopfreihe {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

/* ---------- Profile ---------- */

.profile {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.profil {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.55rem 1rem;
	background: var(--flaeche);
	border: 1px solid var(--linie);
	border-radius: var(--radius-klein);
	color: var(--text);
	font-size: 0.94rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.profil:hover {
	background: var(--flaeche-hoch);
	border-color: var(--akzent);
	color: var(--text);
}

.profil svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
	flex-shrink: 0;
}

/* ---------- Platzhalter ---------- */

/* Hebt unausgefüllte [FELDER] hervor, damit sie vor dem Veröffentlichen
   nicht übersehen werden. Beim Ausfüllen verschwindet die Markierung
   automatisch mit dem Wegfall der Klammern. */
.platzhalter {
	padding: 0 0.25rem;
	background: rgba(217, 83, 79, 0.14);
	border-bottom: 1px dashed var(--akzent);
	color: var(--akzent-hell);
	font-style: normal;
}

/* ---------- Fußbereich ---------- */

.fuss {
	padding: 3.5rem 0 2rem;
	background: var(--flaeche);
	border-top: 1px solid var(--linie);
}

.fuss__gitter {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2rem;
	padding-bottom: 2rem;
}

.fuss h2 {
	margin-bottom: 0.9rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-sehr-leise);
}

.fuss ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fuss li {
	margin-bottom: 0.4rem;
}

.fuss a:not(.profil) {
	color: var(--text-leise);
	text-decoration: none;
}

.fuss a:not(.profil):hover {
	color: var(--text);
}

.fuss__unten {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	justify-content: space-between;
	padding-top: 1.5rem;
	border-top: 1px solid var(--linie);
	color: var(--text-sehr-leise);
	font-size: 0.88rem;
}

.fuss__unten p {
	margin: 0;
}

/* ---------- Nach oben ---------- */

.hoch {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	background: var(--akzent-knopf);
	border-radius: var(--radius-klein);
	color: #fff;
	text-decoration: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.hoch[data-sichtbar="true"] {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.hoch:hover {
	background: var(--akzent-dunkel);
	color: #fff;
}

.hoch svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* ---------- Bewegung reduzieren ---------- */

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
