/*
 * Vereinsportal — Website.
 *
 * Eigenständig, ohne Abhängigkeit zum Portal selbst: Diese Seiten sollen sich
 * auch dann noch öffnen lassen, wenn das Portal gerade nicht läuft.
 *
 * Der Aufbau folgt einer einzigen Idee: abwechselnd ein Bild und der Text
 * daneben. Was das Portal kann, sieht man schneller, als man es liest.
 */

:root {
	--akzent: #2f6df6;
	--akzent-tief: #1b4fd0;
	--akzent-weich: rgba(47, 109, 246, 0.1);
	--gruen: #0ca678;
	--orange: #e8590c;
	--lila: #7048e8;

	--bg: #ffffff;
	--bg-weich: #f6f8fb;
	--flaeche: #ffffff;
	--rand: #e4e8ef;
	--text: #10131a;
	--text-leise: #59616f;
	--text-zart: #8b93a1;

	--radius: 14px;
	--radius-gross: 24px;
	--schatten: 0 1px 3px rgba(16, 24, 40, 0.06), 0 8px 30px rgba(16, 24, 40, 0.06);
	--schatten-tief: 0 24px 70px rgba(16, 24, 40, 0.16);
	--breite: 1180px;
	--schrift: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0d1017;
		--bg-weich: #12161f;
		--flaeche: #161b26;
		--rand: #262d3b;
		--text: #eef1f6;
		--text-leise: #a4adbd;
		--text-zart: #737d8f;
		--akzent: #6b9bff;
		--akzent-tief: #8fb4ff;
		--akzent-weich: rgba(107, 155, 255, 0.14);
		--schatten: 0 1px 3px rgba(0, 0, 0, 0.5), 0 8px 30px rgba(0, 0, 0, 0.4);
		--schatten-tief: 0 24px 70px rgba(0, 0, 0, 0.6);
	}
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

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

.huelle {
	max-width: var(--breite);
	margin: 0 auto;
	padding: 0 24px;
}

a {
	color: var(--akzent);
}

/* ---------- Kopfleiste ---------- */

.kopf {
	position: sticky;
	top: 0;
	z-index: 20;
	background: color-mix(in srgb, var(--bg) 82%, transparent);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--rand);
}

.kopf__inhalt {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	height: 66px;
}

.marke {
	display: flex;
	align-items: center;
	gap: 11px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--text);
	text-decoration: none;
	font-size: 1.02rem;
}

.marke__zeichen {
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: linear-gradient(135deg, var(--akzent), var(--lila));
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.kopf__nav {
	display: flex;
	gap: 4px;
	align-items: center;
	flex-wrap: wrap;
}

.kopf__nav a {
	color: var(--text-leise);
	text-decoration: none;
	font-size: 0.93rem;
	padding: 7px 12px;
	border-radius: 8px;
}

.kopf__nav a:hover {
	color: var(--text);
	background: var(--bg-weich);
}

/* ---------- Auftakt ---------- */

.auftakt {
	position: relative;
	padding: 88px 0 64px;
	overflow: hidden;
}

.auftakt::before {
	content: "";
	position: absolute;
	inset: -180px 0 auto 0;
	height: 520px;
	background:
		radial-gradient(680px 300px at 22% 0%, var(--akzent-weich), transparent 70%),
		radial-gradient(520px 260px at 82% 12%, rgba(112, 72, 232, 0.1), transparent 70%);
	pointer-events: none;
}

.auftakt__inhalt {
	position: relative;
	max-width: 760px;
}

.schild {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--akzent-weich);
	color: var(--akzent-tief);
	font-size: 0.83rem;
	font-weight: 600;
	margin-bottom: 22px;
}

h1 {
	font-size: clamp(2.3rem, 5.4vw, 3.5rem);
	line-height: 1.08;
	letter-spacing: -0.032em;
	margin: 0 0 20px;
	font-weight: 750;
}

.vorspann {
	font-size: 1.2rem;
	color: var(--text-leise);
	margin: 0 0 32px;
	max-width: 660px;
}

.knopfreihe {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.knopf {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.97rem;
	text-decoration: none;
	border: 1px solid transparent;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

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

.knopf--voll {
	background: var(--akzent);
	color: #fff;
	box-shadow: 0 6px 20px rgba(47, 109, 246, 0.3);
}

.knopf--leer {
	border-color: var(--rand);
	color: var(--text);
	background: var(--flaeche);
}

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

section {
	padding: 60px 0;
}

.abschnitt-kopf {
	max-width: 680px;
	margin-bottom: 40px;
}

.abschnitt-kopf h2 {
	font-size: clamp(1.6rem, 3.2vw, 2.15rem);
	letter-spacing: -0.024em;
	margin: 0 0 12px;
	font-weight: 700;
}

.abschnitt-kopf p {
	color: var(--text-leise);
	margin: 0;
	font-size: 1.05rem;
}

.weich {
	background: var(--bg-weich);
	border-top: 1px solid var(--rand);
	border-bottom: 1px solid var(--rand);
}

/* ---------- Bild neben Text ---------- */

.reihe {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 52px;
	align-items: center;
	padding: 40px 0;
}

.reihe + .reihe {
	border-top: 1px solid var(--rand);
}

/* Gedreht heißt: Bild rechts. Dann muss auch die breitere Spalte mitwandern,
   sonst sind die Bildschirmfotos abwechselnd groß und klein. */
.reihe--gedreht {
	grid-template-columns: 1fr 1.15fr;
}

.reihe--gedreht .reihe__bild {
	order: 2;
}

.reihe__text h3 {
	font-size: 1.5rem;
	letter-spacing: -0.02em;
	margin: 0 0 6px;
	font-weight: 700;
}

.reihe__text .rolle {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--akzent);
	font-weight: 700;
	margin-bottom: 10px;
}

.reihe__text p {
	color: var(--text-leise);
	margin: 0 0 16px;
}

.punkte {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
	display: grid;
	gap: 8px;
}

.punkte li {
	position: relative;
	padding-left: 26px;
	color: var(--text-leise);
	font-size: 0.96rem;
}

.punkte li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 0.62em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--akzent);
}

.mehr {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	text-decoration: none;
	font-size: 0.96rem;
}

.mehr::after {
	content: "→";
	transition: transform 0.12s ease;
}

.mehr:hover::after {
	transform: translateX(3px);
}

/* ---------- Bildschirmfoto ---------- */

.schirm {
	border-radius: var(--radius-gross);
	overflow: hidden;
	border: 1px solid var(--rand);
	background: var(--flaeche);
	box-shadow: var(--schatten-tief);
}

.schirm__leiste {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 11px 14px;
	background: var(--bg-weich);
	border-bottom: 1px solid var(--rand);
}

.schirm__punkt {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--rand);
}

.schirm img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---------- Kacheln ---------- */

.raster {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
	gap: 18px;
}

.kachel {
	background: var(--flaeche);
	border: 1px solid var(--rand);
	border-radius: var(--radius);
	padding: 24px;
	text-decoration: none;
	color: inherit;
	display: block;
	transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

a.kachel:hover {
	transform: translateY(-3px);
	box-shadow: var(--schatten);
	border-color: color-mix(in srgb, var(--akzent) 45%, var(--rand));
}

.kachel__kopf {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-bottom: 12px;
}

.kachel__zeichen {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: var(--akzent-weich);
	color: var(--akzent-tief);
	font-size: 1.05rem;
	flex: none;
}

.kachel h3 {
	margin: 0;
	font-size: 1.06rem;
	font-weight: 660;
	letter-spacing: -0.012em;
}

.kachel p {
	margin: 0;
	color: var(--text-leise);
	font-size: 0.94rem;
}

.marke-kern {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: var(--akzent);
	color: #fff;
	vertical-align: middle;
}

/* ---------- Hinweiskasten ---------- */

.kasten {
	border: 1px solid var(--rand);
	border-left: 3px solid var(--akzent);
	background: var(--flaeche);
	border-radius: var(--radius);
	padding: 20px 24px;
	margin: 28px 0;
}

.kasten strong {
	display: block;
	margin-bottom: 4px;
}

.kasten p {
	margin: 0;
	color: var(--text-leise);
	font-size: 0.96rem;
}

/* ---------- Detailseiten ---------- */

.detail-auftakt {
	padding: 56px 0 36px;
	border-bottom: 1px solid var(--rand);
	position: relative;
	overflow: hidden;
}

.detail-auftakt::before {
	content: "";
	position: absolute;
	inset: -160px 0 auto 0;
	height: 380px;
	background: radial-gradient(560px 240px at 18% 0%, var(--akzent-weich), transparent 70%);
	pointer-events: none;
}

.zurueck {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--text-leise);
	text-decoration: none;
	font-size: 0.92rem;
	margin-bottom: 18px;
	position: relative;
}

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

.inhalt {
	max-width: 780px;
}

.inhalt h2 {
	font-size: 1.55rem;
	letter-spacing: -0.02em;
	margin: 48px 0 14px;
	font-weight: 700;
}

.inhalt h3 {
	font-size: 1.13rem;
	margin: 30px 0 8px;
	font-weight: 660;
}

.inhalt p {
	color: var(--text-leise);
	margin: 0 0 16px;
}

.inhalt ul {
	color: var(--text-leise);
	padding-left: 22px;
	margin: 0 0 18px;
}

.inhalt li {
	margin-bottom: 7px;
}

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

table {
	width: 100%;
	border-collapse: collapse;
	margin: 8px 0 24px;
	font-size: 0.94rem;
}

th,
td {
	text-align: left;
	padding: 10px 14px;
	border-bottom: 1px solid var(--rand);
	color: var(--text-leise);
}

th {
	color: var(--text);
	font-weight: 640;
	font-size: 0.86rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.tabelle-huelle {
	overflow-x: auto;
}

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

.fuss {
	border-top: 1px solid var(--rand);
	padding: 40px 0;
	color: var(--text-zart);
	font-size: 0.9rem;
}

.fuss__inhalt {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

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

/* ---------- Schmale Bildschirme ---------- */

@media (max-width: 900px) {
	.reihe {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.reihe--gedreht .reihe__bild {
		order: 0;
	}

	.auftakt {
		padding: 56px 0 40px;
	}

	.kopf__nav {
		display: none;
	}

	section {
		padding: 44px 0;
	}
}
