/* NXTL-Footer (inc/footer.php) im Stil der NXTL-Blöcke: dunkel wie .nxs--dunkel, Schrift Sandbox,
 * Überschriften wie .nxs-eyebrow, Inhaltsspalte 1120 px wie .nxs-wrap. */

.nxf {
	--nxf-bg: #0b0f14;
	--nxf-text: #fff;
	--nxf-muted: #b9c6d3;
	--nxf-line: rgba(255, 255, 255, .12);
	--nxf-primary: #008fff;
	--nxf-primary-dark: #0072cc;
	position: relative;
	padding: clamp(48px, 6vw, 72px) 0 0;
	background: var(--nxf-bg);
	border-top: 1px solid var(--nxf-line);
	color: var(--nxf-text);
	font-family: Sandbox, sandbox, SandboxVR, sans-serif;
	font-size: 15px;
	line-height: 1.5;
}
.nxf *, .nxf *::before, .nxf *::after { box-sizing: border-box; }

/* Zarter Farbverlauf oben, wie die Akzente der Blöcke */
.nxf::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--nxf-primary) 30%, var(--nxf-primary) 70%, transparent);
	opacity: .55;
}

.nxf__wrap {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 20px;
}

.nxf__top {
	display: grid;
	/* Marke | Buchen | Company | Locations (zweispaltig, deshalb breiter) | Events */
	grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr) minmax(0, .75fr) minmax(0, 1.55fr) minmax(0, 1.15fr);
	gap: 40px 32px;
	padding-bottom: 48px;
}

.nxf__logo { display: inline-block; line-height: 0; }
.nxf__logo img { width: 132px; height: auto; display: block; }

.nxf__claim {
	margin: 18px 0 22px;
	max-width: 34ch;
	color: var(--nxf-muted);
	font-size: 15px;
}

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

/* Buttons: eigene Klassen statt Kit-.btn. Die Knöpfe tragen zusätzlich btn-buchen/btn-gutschein (GTM-Trigger);
 * das Kit füllt .btn-gutschein grau (#556e83) und rundet 24 px, deshalb Füllung/Rahmen hier mit !important. */
.nxf a.nxf__btn {
	display: inline-flex;
	width: auto !important; /* Kit macht .btn-gutschein sonst volle Breite */
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.nxf a.nxf__btn--primary { background: var(--nxf-primary) !important; border: 1px solid transparent !important; /* Kit-Verlauf liegt darunter, ein farbiger Rand wäre als hellblauer Saum sichtbar */ color: #fff !important; border-radius: 999px !important; }
.nxf a.nxf__btn--primary:hover,
.nxf a.nxf__btn--primary:focus-visible { background: var(--nxf-primary-dark) !important; border-color: transparent !important; color: #fff !important; }
.nxf a.nxf__btn--ghost { background: transparent !important; border: 1px solid rgba(255, 255, 255, .35) !important; color: #fff !important; border-radius: 999px !important; }
.nxf a.nxf__btn--ghost:hover,
.nxf a.nxf__btn--ghost:focus-visible { border-color: #fff !important; background: rgba(255, 255, 255, .06) !important; color: #fff !important; }

/* Spaltenköpfe wie .nxs-eyebrow */
.nxf__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 6px 0 16px;
	color: var(--nxf-primary);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.nxf__title::after {
	content: "";
	flex: 0 0 28px;
	height: 2px;
	background: currentColor;
	opacity: .6;
}

.nxf__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nxf__list--2 { grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: 24px; }
.nxf__list li { margin: 0; padding: 0; }

/* Links: Kit setzt global „a, a:hover { color: white }“ – Farben daher fest je Zustand. */
.nxf .nxf__list a,
.nxf .nxf__legal a {
	color: var(--nxf-text);
	text-decoration: none;
	background: none;
	border: 0;
	padding: 0;
	font-size: 15px;
	font-weight: 500;
	transition: color .15s ease;
}
.nxf .nxf__list a:hover,
.nxf .nxf__list a:focus-visible,
.nxf .nxf__legal a:hover,
.nxf .nxf__legal a:focus-visible { color: #7cc4ff; text-decoration: underline; text-underline-offset: 3px; }
.nxf a:focus-visible { outline: 2px solid var(--nxf-primary); outline-offset: 3px; border-radius: 4px; }

.nxf__soon { color: var(--nxf-muted); font-size: 15px; }

.nxf__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding: 22px 0 28px;
	border-top: 1px solid var(--nxf-line);
}
.nxf__copy { margin: 0; color: var(--nxf-muted); font-size: 14px; }
.nxf__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.nxf .nxf__legal a { color: var(--nxf-muted); font-size: 14px; }

/* Platz für die Sticky-Leiste (#stickyBar „Jetzt buchen / Gutschein kaufen“), die am Seitenende eingeblendet bleibt */
.nxf__bottom { padding-bottom: 92px; }

/* Tablet: Marke oben über volle Breite, darunter vier Spalten bzw. zwei */
@media (max-width: 1100px) {
	.nxf__top { grid-template-columns: minmax(0, .9fr) minmax(0, .8fr) minmax(0, 1.5fr) minmax(0, 1.1fr); }
	.nxf__brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 8px 32px; align-items: center; }
	.nxf__brand .nxf__claim { margin: 0; max-width: 60ch; }
	.nxf__brand .nxf__actions { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	.nxf__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; padding-bottom: 36px; }
	.nxf__brand { display: block; }
	.nxf__brand .nxf__claim { margin: 16px 0 20px; }
	.nxf__actions a.nxf__btn { flex: 1 1 180px; }
	/* Standorte über volle Breite, zwei Spalten statt einer langen Liste */
	.nxf__col--locations { grid-column: 1 / -1; order: 3; }
	.nxf__col--events { order: 2; }
	.nxf__col--locations .nxf__list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nxf__list { gap: 6px; }
	.nxf .nxf__list a, .nxf__soon { display: inline-block; padding: 5px 0; }
	.nxf__bottom { flex-direction: column; align-items: flex-start; }
}
