/* Faktenseite /fakten/ – wird nur auf dieser Seite geladen (functions.php) */

.gp {
	--gp-blue: #1655a3;
	--gp-blue-dark: #0f3f7a;
	--gp-blue-soft: #eef3fa;
	--gp-yellow: #ffd600;
	--gp-text: #1d1d1d;
	--gp-muted: #5b6573;
	--gp-line: #e3e8ef;
	--gp-radius: 1rem;
	color: var(--gp-text);
	font-size: 1rem;
	line-height: 1.65;
	max-width: 1100px;
	margin: 0 auto 3rem;
}

.gp a {
	color: var(--gp-blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.gp a:hover {
	color: var(--gp-blue-dark);
}

.gp h2 {
	color: var(--gp-blue);
	font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
	line-height: 1.25;
	margin: 0 0 1.25rem;
}

.gp h3 {
	font-size: 1.1rem;
	line-height: 1.3;
	margin: 0 0 .5rem;
}

.gp h3 a {
	text-decoration: none;
}

/* Einleitung */

.gp-intro {
	background: linear-gradient(135deg, var(--gp-blue) 0%, var(--gp-blue-dark) 100%);
	color: #fff;
	border-radius: var(--gp-radius);
	padding: clamp(1.5rem, 1rem + 3vw, 3rem);
	margin-bottom: 2.5rem;
	box-shadow: 0 10px 30px rgba(22, 85, 163, .25);
}

.gp-intro p {
	max-width: 52rem;
}

.gp-eyebrow {
	display: inline-block;
	background: var(--gp-yellow);
	color: var(--gp-text);
	font-weight: 700;
	font-size: .8rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	border-radius: 2rem;
	padding: .3rem .9rem;
	margin-bottom: 1rem;
}

.gp-lead {
	font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem);
	font-weight: 600;
	line-height: 1.5;
}

.gp-stats {
	list-style: none;
	padding: 0;
	margin: 2rem 0 .75rem;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

.gp-stats li {
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: .75rem;
	padding: 1rem 1.1rem;
	display: flex;
	flex-direction: column;
}

.gp-stat-value {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.1;
	color: var(--gp-yellow);
}

.gp-stat-value .fa {
	font-size: 1.4rem;
}

.gp-stat-label {
	font-size: .9rem;
	line-height: 1.4;
	margin-top: .35rem;
}

.gp-note {
	font-size: .8rem;
	opacity: .8;
	margin: 0;
}

/* Abschnitte */

.gp-section {
	background: #fff;
	border-radius: var(--gp-radius);
	box-shadow: 0 3px 4px rgba(0, 0, 0, .1);
	padding: clamp(1.25rem, 1rem + 2vw, 2.5rem);
	margin-bottom: 1.75rem;
	scroll-margin-top: 180px;
}

.gp-section > p:last-child {
	margin-bottom: 0;
}

/* Kerndaten */

.gp-facts {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0 2rem;
	margin: 0;
}

.gp-facts > div {
	display: grid;
	grid-template-columns: 11rem 1fr;
	gap: 1rem;
	padding: .8rem 0;
	border-bottom: 1px solid var(--gp-line);
}

.gp-facts dt {
	color: var(--gp-muted);
	font-weight: 600;
	font-size: .9rem;
}

.gp-facts dd {
	margin: 0;
}

/* Karten */

.gp-cards {
	display: grid;
	gap: 1.25rem;
	margin-bottom: 1.25rem;
}

.gp-cards:last-child {
	margin-bottom: 0;
}

.gp-cards-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gp-cards-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gp-card {
	background: var(--gp-blue-soft);
	border-radius: .75rem;
	padding: 1.4rem;
	border: 1px solid transparent;
	transition: border-color .2s, transform .2s;
}

.gp-card:hover {
	border-color: rgba(22, 85, 163, .25);
	transform: translateY(-2px);
}

.gp-card p {
	margin-bottom: .5rem;
}

.gp-card p:last-child {
	margin-bottom: 0;
}

.gp-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: .6rem;
	background: var(--gp-blue);
	color: #fff;
	font-size: 1.25rem;
	margin-bottom: .9rem;
}

.gp-location {
	background: #fff;
	border: 1px solid var(--gp-line);
	border-top: 5px solid var(--gp-blue);
}

.gp-tag {
	display: inline-block;
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--gp-blue);
	background: var(--gp-blue-soft);
	border-radius: 2rem;
	padding: .2rem .7rem;
}

.gp-address {
	font-size: 1.05rem;
}

.gp-address .fa {
	color: var(--gp-blue);
	margin-right: .3rem;
}

.gp-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.gp-links li {
	padding: .2rem 0;
}

.gp-links li::before {
	content: "➔";
	color: var(--gp-blue);
	margin-right: .5rem;
}

/* Ablauf */

.gp-steps {
	list-style: none;
	counter-reset: gp-step;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1rem;
}

.gp-steps li {
	counter-increment: gp-step;
	position: relative;
	padding-top: 3.25rem;
}

.gp-steps li::before {
	content: counter(gp-step);
	position: absolute;
	top: 0;
	left: 0;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--gp-yellow);
	color: var(--gp-text);
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gp-steps li::after {
	content: "";
	position: absolute;
	top: 1.25rem;
	left: 3rem;
	right: .25rem;
	border-top: 2px dashed var(--gp-line);
}

.gp-steps li:last-child::after {
	display: none;
}

.gp-steps p {
	font-size: .92rem;
	margin: 0;
}

/* Tabelle */

.gp-table-wrap {
	overflow-x: auto;
	margin-bottom: 1rem;
}

.gp-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 420px;
}

.gp-table th,
.gp-table td {
	text-align: left;
	padding: .85rem 1rem;
	border-bottom: 1px solid var(--gp-line);
}

.gp-table thead th {
	background: var(--gp-blue);
	color: #fff;
	font-weight: 600;
}

.gp-table thead th:first-child {
	border-top-left-radius: .6rem;
}

.gp-table thead th:last-child {
	border-top-right-radius: .6rem;
}

.gp-table tbody tr:nth-child(even) {
	background: var(--gp-blue-soft);
}

.gp-table td:nth-child(2) {
	font-weight: 700;
	white-space: nowrap;
}

/* Marken */

.gp-chips {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem;
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
}

.gp-chips li {
	border: 1px solid var(--gp-line);
	border-radius: 2rem;
	padding: .5rem 1.1rem;
	font-weight: 700;
}

.gp-chips span {
	font-weight: 400;
	color: var(--gp-muted);
	font-size: .85rem;
	margin-left: .35rem;
}

/* Bewertung */

.gp-rating {
	font-size: 1.1rem;
	color: var(--gp-muted);
}

.gp-rating span {
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--gp-blue);
	line-height: 1;
}

.gp-rating .fa {
	color: #f5b301;
}

/* FAQ */

.gp-faq details {
	border-bottom: 1px solid var(--gp-line);
}

.gp-faq summary {
	cursor: pointer;
	list-style: none;
	font-weight: 600;
	padding: 1rem 2.5rem 1rem 0;
	position: relative;
}

.gp-faq summary::-webkit-details-marker {
	display: none;
}

.gp-faq summary::after {
	content: "+";
	position: absolute;
	right: .25rem;
	top: 50%;
	transform: translateY(-50%);
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: var(--gp-blue-soft);
	color: var(--gp-blue);
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gp-faq details[open] summary::after {
	content: "–";
}

.gp-faq details p {
	padding-bottom: 1rem;
	margin: 0;
}

/* Profile, Stand */

.gp-profiles {
	list-style: none;
	padding: 0;
}

.gp-profiles li {
	padding: .35rem 0;
}

.gp-profiles .fa {
	color: var(--gp-blue);
	width: 1.25rem;
}

.gp-status {
	background: var(--gp-blue-soft);
	box-shadow: none;
	font-size: .92rem;
}

.gp-status h2 {
	font-size: 1.2rem;
}

/* Responsiv */

@media (max-width: 991px) {
	.gp-stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.gp-cards-3 {
		grid-template-columns: repeat(2, 1fr);
	}

	.gp-facts {
		grid-template-columns: 1fr;
	}

	.gp-steps {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.gp-steps li {
		padding: 0 0 0 3.5rem;
		min-height: 2.5rem;
	}

	.gp-steps li::after {
		display: none;
	}
}

@media (max-width: 575px) {
	.gp-cards-2,
	.gp-cards-3 {
		grid-template-columns: 1fr;
	}

	.gp-facts > div {
		grid-template-columns: 1fr;
		gap: .15rem;
	}

	.gp-stat-value {
		font-size: 1.6rem;
	}

	.gp-table {
		min-width: 0;
		font-size: .92rem;
	}

	.gp-table th,
	.gp-table td {
		padding: .7rem .5rem;
	}

	.gp-table th:first-child,
	.gp-table td:first-child {
		padding-left: .75rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gp-card {
		transition: none;
	}

	.gp-card:hover {
		transform: none;
	}
}
