/* ======================================================================
   FSV 63 Luckenwalde – Impressum
   Child Theme: alchemists-child
   ====================================================================== */

/* ----------------------------------------------------------------------
   1. Grundlayout / Variablen
   ---------------------------------------------------------------------- */

.fsv-impressum {
	--fsv-blue: #004bb8;
	--fsv-blue-mid: #075bd3;
	--fsv-blue-dark: #001f4f;
	--fsv-blue-deep: #001333;
	--fsv-yellow: #ffd400;
	--fsv-text: #102044;
	--fsv-muted: #677491;
	--fsv-line: rgba(0, 42, 120, 0.14);
	--fsv-card: rgba(255, 255, 255, 0.96);

	position: relative;
	z-index: 1;
	background: #f4f7fc;
	color: var(--fsv-text);
}

body.page-template-template-impressum .site-content,
body.page-template-template-impressum .content,
body.page-template-template-impressum .page {
	overflow: visible;
}

/* ----------------------------------------------------------------------
   2. Hero
   ---------------------------------------------------------------------- */

.fsv-imp-hero {
	position: relative;
	overflow: hidden;
	padding: 62px 20px 82px;
	text-align: center;
	color: #fff;
	border-top: 4px solid var(--fsv-blue);
	background:
		linear-gradient(135deg, rgba(0, 54, 145, 0.97), rgba(0, 91, 210, 0.95)),
		radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.16), transparent 34%);
}

.fsv-imp-hero::before,
.fsv-imp-hero::after {
	content: "";
	position: absolute;
	inset: auto -10% -60px;
	height: 160px;
	background:
		linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px);
	opacity: 0.55;
	pointer-events: none;
}

.fsv-imp-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 980px;
	margin: 0 auto;
}

.fsv-imp-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	color: var(--fsv-yellow);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.fsv-imp-kicker::before,
.fsv-imp-kicker::after {
	content: "";
	width: 30px;
	height: 2px;
	border-radius: 99px;
	background: var(--fsv-yellow);
}

.fsv-imp-hero h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(42px, 5vw, 66px);
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.fsv-imp-hero h1::after {
	content: "";
	display: block;
	width: 78px;
	height: 5px;
	margin: 24px auto 0;
	border-radius: 999px;
	background: var(--fsv-yellow);
	box-shadow: 0 8px 18px rgba(255, 212, 0, 0.35);
}

.fsv-imp-hero p {
	max-width: 720px;
	margin: 22px auto 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.7;
}

/* ----------------------------------------------------------------------
   3. Inhaltsbereich
   ---------------------------------------------------------------------- */

.fsv-imp-content {
	position: relative;
	z-index: 3;
	margin-top: -34px;
	padding: 0 20px 72px;
	background: linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%);
}

.fsv-imp-wrap {
	position: relative;
	z-index: 5;
	width: min(1180px, 100%);
	margin: 0 auto;
}

.fsv-imp-top {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 30px;
	align-items: stretch;
}

.fsv-imp-contact,
.fsv-imp-info-card,
.fsv-imp-legal-card {
	background: var(--fsv-card);
	border: 1px solid rgba(0, 42, 120, 0.13);
	border-radius: 18px;
	box-shadow: 0 22px 55px rgba(0, 31, 79, 0.13);
	backdrop-filter: blur(6px);
}

/* ----------------------------------------------------------------------
   4. Kontaktkarte
   ---------------------------------------------------------------------- */

.fsv-imp-contact {
	padding: 30px;
	border-left: 5px solid var(--fsv-blue);
}

.fsv-imp-section-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 28px;
}

.fsv-imp-section-title span {
	width: 4px;
	height: 22px;
	border-radius: 99px;
	background: var(--fsv-blue);
	box-shadow: 0 0 0 4px rgba(0, 75, 184, 0.08);
}

.fsv-imp-section-title h2 {
	margin: 0;
	color: #002b6d;
	font-size: 20px;
	font-weight: 900;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.fsv-imp-contact__item {
	display: grid;
	grid-template-columns: 42px 1fr;
	gap: 14px;
	align-items: flex-start;
	padding: 18px 0;
	border-bottom: 1px solid rgba(0, 42, 120, 0.1);
}

.fsv-imp-contact__item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.fsv-imp-contact__icon,
.fsv-imp-info-card__icon,
.fsv-imp-legal-card__icon {
	display: grid;
	place-items: center;
	color: var(--fsv-blue);
}

.fsv-imp-contact__icon {
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background: rgba(0, 75, 184, 0.08);
}

.fsv-imp-contact svg,
.fsv-imp-info-card svg,
.fsv-imp-legal-card svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.fsv-imp-contact strong {
	display: block;
	color: #002b6d;
	font-size: 14px;
	font-weight: 900;
	line-height: 1.4;
}

.fsv-imp-contact p {
	margin: 5px 0 0;
	color: #3d4b68;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.6;
}

/* ----------------------------------------------------------------------
   5. Obere Infokarten
   ---------------------------------------------------------------------- */

.fsv-imp-cardgrid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	align-content: start;
}

.fsv-imp-info-card {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	gap: 22px;
	align-items: flex-start;
	min-height: 145px;
	padding: 28px 32px 28px 28px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.fsv-imp-info-card:hover {
	transform: translateY(-3px);
	border-color: rgba(0, 75, 184, 0.28);
	box-shadow: 0 22px 54px rgba(0, 31, 79, 0.12);
}

.fsv-imp-info-card__icon {
	width: 46px;
	height: 46px;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(0, 75, 184, 0.1), rgba(0, 75, 184, 0.04));
}

.fsv-imp-info-card > div:last-child {
	min-width: 0;
}

.fsv-imp-info-card h3 {
	margin: 0 0 10px;
	color: #002b6d;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.25;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.fsv-imp-info-card p {
	margin: 0;
	color: #3d4b68;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.55;
}

.fsv-imp-info-card span {
	color: var(--fsv-muted);
}

/* Lange Titel etwas ruhiger darstellen */
.fsv-imp-cardgrid .fsv-imp-info-card:nth-child(2) h3,
.fsv-imp-cardgrid .fsv-imp-info-card:nth-child(5) h3 {
	font-size: 12.5px;
	line-height: 1.2;
}

/* Der Webdesign-Text ist länger als die anderen Karten */
.fsv-imp-cardgrid .fsv-imp-info-card:nth-child(5) p {
	font-size: 13.5px;
	line-height: 1.5;
}

/* Einzelne letzte Karte bei 7 Infokarten sauber stehen lassen */
.fsv-imp-cardgrid .fsv-imp-info-card:last-child:nth-child(7) {
	grid-column: 1 / 2;
}

/* ----------------------------------------------------------------------
   6. Rechtliches-Karten
   ---------------------------------------------------------------------- */

.fsv-imp-divider {
	height: 1px;
	margin: 34px 0 26px;
	background: linear-gradient(90deg, transparent, rgba(0, 42, 120, 0.22), transparent);
}

.fsv-imp-legalgrid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.fsv-imp-legal-card {
	position: relative;
	overflow: hidden;
	min-height: 360px;
	padding: 34px 32px;
}

.fsv-imp-legal-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: linear-gradient(90deg, var(--fsv-blue), var(--fsv-yellow));
}

.fsv-imp-legal-card__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}

.fsv-imp-legal-card__icon {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	color: #fff;
	background: var(--fsv-blue);
	box-shadow: 0 12px 24px rgba(0, 75, 184, 0.22);
}

.fsv-imp-legal-card h2 {
	margin: 0;
	color: var(--fsv-blue-dark);
	font-size: 22px;
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.fsv-imp-legal-card p {
	margin: 0 0 15px;
	color: #33415f;
	font-size: 15px;
	line-height: 1.72;
}

.fsv-imp-legal-card p:last-child {
	margin-bottom: 0;
}

/* ----------------------------------------------------------------------
   7. Datenschutzkarte
   ---------------------------------------------------------------------- */

.fsv-imp-legal-card--blue {
	display: flex;
	flex-direction: column;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.08);
	background: linear-gradient(145deg, #075bd3 0%, #003b9d 48%, #001a45 100%);
	box-shadow: 0 24px 60px rgba(0, 31, 79, 0.22);
}

.fsv-imp-legal-card--blue::before {
	background: var(--fsv-yellow);
}

.fsv-imp-legal-card--blue h2,
.fsv-imp-legal-card--blue p {
	color: #fff;
}

.fsv-imp-legal-card--blue p {
	color: rgba(255, 255, 255, 0.88);
}

.fsv-imp-legal-card--blue .fsv-imp-legal-card__icon {
	color: var(--fsv-blue-dark);
	background: var(--fsv-yellow);
	box-shadow: 0 12px 24px rgba(255, 212, 0, 0.22);
}

/* ----------------------------------------------------------------------
   8. Button
   ---------------------------------------------------------------------- */

.fsv-imp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: fit-content;
	margin-top: auto;
	padding: 14px 18px;
	border-radius: 10px;
	color: var(--fsv-blue-dark);
	background: var(--fsv-yellow);
	box-shadow: 0 12px 28px rgba(255, 212, 0, 0.24);
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0.03em;
	text-decoration: none;
	text-transform: uppercase;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fsv-imp-button:hover {
	color: var(--fsv-blue-dark);
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(255, 212, 0, 0.32);
}

.fsv-imp-button span {
	font-size: 18px;
	line-height: 1;
}

/* ----------------------------------------------------------------------
   9. Responsive
   ---------------------------------------------------------------------- */

@media (max-width: 1150px) {
	.fsv-imp-top {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.fsv-imp-cardgrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.fsv-imp-info-card {
		min-height: auto;
	}

	.fsv-imp-legalgrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fsv-imp-legal-card {
		min-height: auto;
		padding: 30px 28px;
	}

	.fsv-imp-legal-card--blue {
		grid-column: 1 / -1;
		min-height: 260px;
	}

	.fsv-imp-legal-card h2 {
		font-size: 20px;
		line-height: 1.15;
	}

	.fsv-imp-legal-card p {
		font-size: 14px;
		line-height: 1.65;
	}
}

@media (max-width: 900px) {
	.fsv-imp-hero {
		padding-top: 88px;
		padding-bottom: 70px;
	}

	.fsv-imp-hero h1 {
		font-size: 42px;
	}

	.fsv-imp-hero p {
		max-width: 88%;
		font-size: 14px;
		line-height: 1.55;
	}
}

@media (max-width: 768px) {
	.fsv-imp-legalgrid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.fsv-imp-legal-card,
	.fsv-imp-legal-card--blue {
		grid-column: auto;
		min-height: auto;
		padding: 26px 22px;
	}

	.fsv-imp-legal-card h2 {
		font-size: 19px;
	}

	.fsv-imp-legal-card p {
		font-size: 14px;
		line-height: 1.65;
	}
}

@media (max-width: 700px) {
	.fsv-imp-cardgrid {
		grid-template-columns: 1fr;
	}

	.fsv-imp-info-card {
		grid-template-columns: 44px minmax(0, 1fr);
		gap: 16px;
		padding: 22px;
	}

	.fsv-imp-contact {
		padding: 24px 22px;
	}
}

@media (max-width: 640px) {
	.fsv-imp-hero {
		padding: 58px 16px 54px;
	}

	.fsv-imp-content {
		padding-right: 14px;
		padding-bottom: 50px;
		padding-left: 14px;
	}

	.fsv-imp-contact,
	.fsv-imp-info-card,
	.fsv-imp-legal-card {
		border-radius: 14px;
	}

	.fsv-imp-legal-card__head {
		align-items: flex-start;
	}
}
