/* ============================================================
   FV Rot-Weiß Erpel 1919 e.V. — Rechtliches (Impressum, Datenschutz)
   Vereins-Designsystem: Big Shoulders Display / Newsreader /
   IBM Plex Mono, Vereinsrot, eckig, keine Schatten.
   Bausteine (.fvrecht-*) wirken auch im Theme-Rückfall,
   der Seitenrahmen nur auf body.fvrecht-vollseite.
   ============================================================ */

.fvrecht,
.fvrecht-hero,
.fvrecht-text {
	--fvrecht-rot: #c8102e;
	--fvrecht-rot-hell: color-mix(in srgb, #c8102e 68%, #fff);
	--fvrecht-schwarz: #111214;
	--fvrecht-tinte: #1c1d1f;
	--fvrecht-grau: #6d6f73;
	--fvrecht-linie: rgba(0, 0, 0, .12);
	--fvrecht-papier: #f0eee9;
	--fvrecht-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
	--fvrecht-text: "Newsreader", Georgia, "Times New Roman", serif;
	--fvrecht-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

/* ------------------------------------------------------------------ Rahmen */

body.fvrecht-vollseite {
	margin: 0;
	background: #fff;
	color: #1c1d1f;
	font-family: "Newsreader", Georgia, "Times New Roman", serif;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

html.fve-vollseite {
	scroll-behavior: smooth;
}

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

body.fvrecht-vollseite .fvrecht-vollseite__kopf {
	position: sticky;
	top: -10px;
	z-index: 1000;
}

body.fvrecht-vollseite.admin-bar .fvrecht-vollseite__kopf {
	top: 22px;
}

@media (max-width: 782px) {
	body.fvrecht-vollseite.admin-bar .fvrecht-vollseite__kopf {
		top: 36px;
	}
}

@media (max-width: 600px) {
	body.fvrecht-vollseite.admin-bar .fvrecht-vollseite__kopf {
		top: -10px;
	}
}

body.fvrecht-vollseite .fvrecht-vollseite__inhalt {
	display: block;
	margin: 0;
	padding: 0;
	background: #fff;
}

.fvrecht-wrap {
	width: min(100% - 40px, 820px);
	margin-inline: auto;
}

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

.fvrecht-hero {
	position: relative;
	overflow: hidden;
	background: var(--fvrecht-schwarz);
	color: #fff;
}

.fvrecht-hero::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(34%, 420px);
	background: var(--fvrecht-rot);
	opacity: .78;
	clip-path: polygon(46% 0, 100% 0, 100% 100%, 0 100%);
}

.fvrecht-hero .fvrecht-wrap {
	position: relative;
	z-index: 1;
	padding: clamp(44px, 7vw, 84px) 0 clamp(36px, 5vw, 60px);
}

.fvrecht-hero__eyebrow {
	margin: 0 0 14px;
	font-family: var(--fvrecht-mono);
	font-size: .76rem;
	font-weight: 600;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--fvrecht-rot-hell);
}

.fvrecht-hero__titel {
	margin: 0;
	font-family: var(--fvrecht-display);
	font-weight: 800;
	font-size: clamp(3rem, 9vw, 6rem);
	line-height: .9;
	letter-spacing: -.005em;
	text-transform: uppercase;
	color: #fff;
}

.fvrecht-hero__stand {
	margin: 18px 0 0;
	font-family: var(--fvrecht-mono);
	font-size: .78rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .72);
}

@media (max-width: 700px) {
	.fvrecht-hero::after {
		width: 46%;
		opacity: .45;
	}
}

/* ------------------------------------------------------------------ Text */

.fvrecht-text {
	padding: clamp(32px, 5vw, 56px) 0 clamp(56px, 8vw, 96px);
	color: var(--fvrecht-tinte);
	font-family: var(--fvrecht-text);
	font-size: 1.0625rem;
	line-height: 1.75;
}

.fvrecht h2,
.fvrecht-text h2 {
	margin: 2.2em 0 .6em;
	font-family: var(--fvrecht-display);
	font-weight: 800;
	font-size: clamp(1.7rem, 3.2vw, 2.3rem);
	line-height: 1;
	letter-spacing: .005em;
	text-transform: uppercase;
	scroll-margin-top: 110px;
}

.fvrecht h2:first-child,
.fvrecht-inhalt + h2,
.fvrecht-impressum > h2:first-child {
	margin-top: 0;
}

.fvrecht h3,
.fvrecht-text h3 {
	margin: 1.8em 0 .4em;
	font-family: var(--fvrecht-mono);
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--fvrecht-rot);
}

.fvrecht h4,
.fvrecht-text h4 {
	margin: 1.4em 0 .3em;
	font-family: var(--fvrecht-text);
	font-size: 1.05rem;
	font-weight: 600;
}

.fvrecht p,
.fvrecht ul,
.fvrecht ol {
	margin: 0 0 1em;
}

.fvrecht a {
	color: var(--fvrecht-rot);
	text-underline-offset: 3px;
}

.fvrecht a:focus-visible {
	outline: 2px solid var(--fvrecht-rot);
	outline-offset: 3px;
}

.fvrecht hr {
	display: none; /* Trennlinien aus Generatortexten – die Überschriften gliedern genug */
}

/* Inhaltsverzeichnis */
.fvrecht-inhalt {
	margin: 0 0 2.5em;
	padding: 18px 22px;
	background: var(--fvrecht-papier);
	border-left: 3px solid var(--fvrecht-rot);
}

.fvrecht-inhalt__titel {
	margin: 0 0 8px !important;
	font-family: var(--fvrecht-mono);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--fvrecht-grau);
}

.fvrecht-inhalt ol {
	margin: 0 !important;
	padding-left: 1.4em;
	columns: 2 260px;
	column-gap: 32px;
}

.fvrecht-inhalt li {
	break-inside: avoid;
	margin: 0 0 4px;
}

.fvrecht-inhalt a {
	color: var(--fvrecht-tinte);
	text-decoration: none;
}

.fvrecht-inhalt a:hover {
	color: var(--fvrecht-rot);
	text-decoration: underline;
}

/* Impressum */
.fvrecht-anbieter strong {
	font-weight: 600;
}

.fvrecht-liste {
	padding-left: 0;
	list-style: none;
}

.fvrecht-liste li {
	padding: 4px 0;
	border-bottom: 1px solid var(--fvrecht-linie);
}

.fvrecht-liste__funktion {
	display: inline-block;
	min-width: 12em;
	font-family: var(--fvrecht-mono);
	font-size: .8rem;
	letter-spacing: .06em;
	color: var(--fvrecht-grau);
}

.fvrecht-rechtsgrundlage {
	margin-top: -.2em !important;
	font-family: var(--fvrecht-mono);
	font-size: .74rem;
	letter-spacing: .06em;
	color: var(--fvrecht-grau);
}

.fvrecht-quelle {
	margin-top: 2.5em !important;
	font-size: .86rem;
	color: var(--fvrecht-grau);
}

.fvrecht-zusatz {
	margin-top: 2.5em;
	padding-top: 1.5em;
	border-top: 1px solid var(--fvrecht-linie);
	font-size: .98rem;
}

/* Cookie-Übersicht */
.fvrecht-cookies {
	margin-top: 3em;
	padding-top: 2em;
	border-top: 3px solid var(--fvrecht-tinte);
	scroll-margin-top: 110px;
}

.fvrecht-knoepfe {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.fvrecht a.fvrecht-knopf {
	display: inline-block;
	padding: 10px 16px;
	border: 1px solid var(--fvrecht-rot);
	background: var(--fvrecht-rot);
	color: #fff;
	font-family: var(--fvrecht-mono);
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-decoration: none;
	text-transform: uppercase;
}

.fvrecht a.fvrecht-knopf--leise {
	background: transparent;
	border-color: var(--fvrecht-tinte);
	color: var(--fvrecht-tinte);
}

.fvrecht a.fvrecht-knopf:hover {
	background: var(--fvrecht-tinte);
	border-color: var(--fvrecht-tinte);
	color: #fff;
}

.fvrecht-tabelle {
	overflow-x: auto;
	margin: 0 0 1em;
	border: 1px solid var(--fvrecht-linie);
}

.fvrecht-tabelle table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
	font-size: .86rem;
	line-height: 1.5;
}

.fvrecht-tabelle th,
.fvrecht-tabelle td {
	padding: 8px 10px;
	border-bottom: 1px solid var(--fvrecht-linie);
	text-align: left;
	vertical-align: top;
}

.fvrecht-tabelle th {
	background: var(--fvrecht-papier);
	font-family: var(--fvrecht-mono);
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	white-space: nowrap;
}

.fvrecht-tabelle + p {
	font-size: .9rem;
	color: var(--fvrecht-grau);
}

/* Vereinseigene Abschnitte und Cookie-Richtlinie */
.fvrecht-ergaenzungen,
.fvrecht-cookies {
	scroll-margin-top: 110px;
}

.fvrecht-cookies ul,
.fvrecht-ergaenzungen ul {
	padding-left: 1.3em;
}

.fvrecht-cookies li,
.fvrecht-ergaenzungen li {
	margin-bottom: .35em;
}

/* Fußzeilen-Links */
.fvrecht-links a {
	color: inherit;
}

@media print {
	.fvrecht-hero::after,
	.fvrecht-knoepfe {
		display: none;
	}
}
