/* Gameplanet: Stile, die theme.json nicht abdeckt. Werte stammen aus dem Original. */

body {
	text-rendering: optimizeLegibility;
	font-feature-settings: "kern", "liga" 0, "clig" 0;
}

a {
	transition: color .15s ease-out;
}

:focus-visible {
	outline: 2px solid var(--wp--preset--color--hellblau);
	outline-offset: 2px;
}

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

.site-header {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0);
	left: 0;
	right: 0;
	z-index: 102;
	background: var(--wp--preset--color--dunkelblau) url(../img/menu_bg.jpg) center center;
	background-blend-mode: multiply;
	box-shadow: 0 0 4px #000519;
	transition: background-color .3s ease;
}

/* Auf der Startseite liegt der Kopf transparent über dem Hero. */
.home .site-header:not(.is-scrolled) {
	background: none;
	box-shadow: none;
}

.site-header__inner {
	height: 80px;
	padding: 0 30px;
	align-items: center;
}

.site-header__logo img {
	display: block;
	height: 40px;
	width: auto;
	filter: drop-shadow(0 0 2px #000);
}

.site-header .wp-block-navigation {
	font-size: 13px;
	font-weight: 600;
	color: var(--wp--preset--color--weiss);
	gap: 20px;
}

.site-header .wp-block-navigation-item__content:hover {
	text-decoration: underline;
}

.site-header .nav-button > .wp-block-navigation-item__content {
	padding: 4px 13px;
	border-radius: 3px;
	background: var(--wp--preset--color--rot);
	font-weight: 700;
	text-transform: uppercase;
	filter: drop-shadow(0 0 2px #000);
}

.site-header .nav-button > .wp-block-navigation-item__content:hover {
	background: var(--wp--preset--color--pink);
	text-decoration: none;
}

/* Hamburger-Menü schon ab 1250 px: Das behebt die Überlappung mit dem Logo,
   die das Original bei 1024 px zeigt. Seit dem Menüpunkt „Kindergeburtstag“
   (Phase 2, 14.11.2026) passen die 9 Punkte erst ab 1240 px in eine Zeile. */
@media (max-width: 1250px) {
	.site-header .wp-block-navigation__responsive-container-open {
		display: flex !important;
		color: var(--wp--preset--color--weiss);
	}

	.site-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}

	.site-header .wp-block-navigation__responsive-container.is-menu-open {
		background: var(--wp--preset--color--dunkelblau) !important;
		color: var(--wp--preset--color--weiss) !important;
	}

	.site-header .is-menu-open .wp-block-navigation-item__content {
		font-size: 24px;
		line-height: 44px;
	}
}

/* Abstand für den fixierten Kopf auf Unterseiten. */
body:not(.home) main {
	padding-top: 80px;
}

/* Wiederkehrende Elemente ---------------------------------------------- */

.preheadline {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--wp--preset--color--blau);
}

.cta1 .preheadline {
	color: var(--wp--preset--color--rot);
}

.hero {
	border-bottom: 5px solid var(--wp--preset--color--rot);
	box-shadow: 0 0 2px #000;
	background-blend-mode: multiply;
}

.hero .preheadline {
	font-size: 17px;
	letter-spacing: 1px;
	color: var(--wp--preset--color--rot-akzent);
}

.hero h1 {
	font-family: var(--wp--preset--font-family--cocogoose);
	font-size: 90px;
	line-height: 1.2;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--wp--preset--color--weiss);
	overflow-wrap: normal;
	hyphens: manual;
}

@media (max-width: 1290px) {
	.hero h1 {
		font-size: 64px;
	}
}

@media (max-width: 980px) {
	.hero h1 {
		font-size: 60px;
	}
}

/* Kleiner als im Original (40 px), damit NORDHAUSEN nicht im Wort umbricht. */
@media (max-width: 480px) {
	.hero h1 {
		font-size: 32px;
	}
}

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

.site-footer {
	padding: 87px 0 63px;
	background: var(--wp--preset--color--dunkelblau) url(../img/worldmap.jpg) center center / cover;
	color: var(--wp--preset--color--hellgrau);
}

.gp-footer {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
}

.gp-footer p {
	margin: 0 0 15px;
}

.gp-footer__titel {
	font-weight: 700;
	color: var(--wp--preset--color--hellblau);
}

.gp-footer a:not(.gp-button) {
	font-weight: 500;
	color: var(--wp--preset--color--rot);
}

.gp-footer a:not(.gp-button):hover {
	color: var(--wp--preset--color--weiss);
	text-decoration: none;
}

.gp-footer__recht a:not(.gp-button) {
	color: var(--wp--preset--color--grau);
}

/* Inhaltsbereiche ------------------------------------------------------ */

.gp-section {
	padding: 200px 30px 120px;
}

.gp-intro {
	font-size: 20px;
	line-height: 32px;
}

main h2 {
	margin: 0 0 10px;
}

main h4 {
	margin: 0 0 .7em;
}

main p + p {
	margin-top: 1em;
}

.wp-block-buttons {
	gap: 10px;
	margin-top: 20px;
}

.gp-buttons-gross .wp-block-button__link {
	font-size: 24px;
	text-transform: none;
}

/* Dunkle Bereiche mit Hintergrundbild */
.cta1,
.maps,
.hero {
	color: var(--wp--preset--color--weiss);
}

.cta1 h2,
.maps h2,
.maps h4,
.hero h2 {
	color: var(--wp--preset--color--weiss);
}

/* Blaue Leiste */
.cta2 {
	padding: 20px 30px 10px;
	background: var(--wp--preset--color--blau) url(/wp-content/uploads/2017/11/cta2bg.jpg) center / cover;
	background-blend-mode: multiply;
}

.gp-leiste {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 60px;
	padding: 10px 0 20px;
}

.gp-leiste a {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 24px;
	font-weight: 700;
	color: var(--wp--preset--color--flaeche);
	text-decoration: none;
}

.gp-leiste a:hover {
	color: var(--wp--preset--color--rot);
	text-decoration: none;
}

.gp-leiste .gp-icon {
	color: var(--wp--preset--color--blau);
}

/* Symbol mit Text (Kontakt) */
.gp-blurb {
	display: flex;
	gap: 20px;
	margin-bottom: 30px;
	text-align: left;
}

.gp-blurb .gp-icon {
	flex: none;
	color: var(--wp--preset--color--blau);
}

.gp-blurb h4 {
	margin-bottom: 4px;
}

.maps p a:not(.gp-button) {
	color: var(--wp--preset--color--hellgrau);
}

.maps p a:not(.gp-button):hover {
	color: var(--wp--preset--color--rot-akzent);
}

/* Roter Hinweis „Wir öffnen nur nach vorheriger Buchung.“ (Phase 2)
   Auf dunklem Grund Markenrot, auf hellem Grund das dunklere Logo-Rot (besser lesbar). */
.gp-hinweis {
	margin: 0 0 8px;
	font-weight: 700;
	color: var(--wp--preset--color--rot);
}

.gp-hinweis--hell {
	color: var(--wp--preset--color--pink);
}

/* Kleine Buttons wie im Original */
.gp-button {
	display: inline-block;
	padding: .3em 1em;
	border: 0;
	border-radius: 3px;
	background: var(--wp--preset--color--rot);
	color: var(--wp--preset--color--weiss) !important;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.7;
	text-decoration: none !important;
	cursor: pointer;
}

.gp-button:hover {
	background: var(--wp--preset--color--pink);
}

.gp-button--blau { background: var(--wp--preset--color--blau); }
.gp-button--mittelblau { background: var(--wp--preset--color--mittelblau); }
.gp-button--hellblau { background: var(--wp--preset--color--hellblau); color: #101010 !important; }

/* 2-Klick-Platzhalter */
.zwei-klick {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 600px;
	padding: 30px;
	border-radius: 3px;
	background: rgba(4, 41, 61, .85);
	color: var(--wp--preset--color--hellgrau);
	text-align: center;
}

.zwei-klick.ist-geladen {
	display: block;
	min-height: 0;
	padding: 0;
	background: none;
}

.zwei-klick__titel {
	font-size: 24px;
	font-weight: 700;
	color: var(--wp--preset--color--weiss);
}

/* Hero-Bereiche ---------------------------------------------------------- */

.hero {
	padding: 160px 30px 100px;
	background-size: cover;
	background-position: center;
}

.hero--home {
	min-height: 930px;
	background-image: url(/wp-content/uploads/2017/11/gameplanet_blaurot_web.jpg), linear-gradient(133deg, #174f68 0%, #59c9e2 100%);
}

.hero--escape {
	background-image: url(/wp-content/uploads/2019/09/trabant.jpg), linear-gradient(133deg, #174f68 0%, #59c9e2 100%);
}

/* Kindergeburtstag: Gruppenfoto aus der Arena, wie beim Escape-Room 1 mit Farbverlauf überlagert */
.hero--kinder {
	background-image: url(/wp-content/uploads/2017/11/20171106_163147_79476.jpg), linear-gradient(133deg, #174f68 0%, #59c9e2 100%);
}

/* Kindergeburtstag: Abschnitt „Euer Geburtstag“ mit zwei Fotos nebeneinander */
.gp-kinder-fotos {
	padding: 150px 30px;
	color: var(--wp--preset--color--weiss);
}

.gp-kinder-fotos h2,
.gp-kinder-fotos p {
	color: var(--wp--preset--color--weiss);
}

.gp-kinder-fotos .gp-kinder-fotos__reihe {
	max-width: min(80vw, 1080px);
	margin: 50px auto 0 !important;
	gap: 30px;
}

.gp-kinder-fotos__reihe figure {
	margin: 0;
}

.gp-kinder-fotos__reihe img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

/* Kindergeburtstag: „Warum Gameplanet?“ auf hellem Grund */
.gp-kinder-warum {
	padding: 120px 30px 70px;
}

.gp-kinder-warum .gp-blurbs-drei {
	max-width: min(80vw, 1080px);
	margin: 40px auto 0;
}

@media (max-width: 600px) {
	.gp-kinder-fotos {
		padding: 100px 20px;
	}

	.gp-kinder-warum {
		padding: 90px 20px 50px;
	}

	.gp-kinder-warum .gp-blurbs-drei {
		max-width: none;
	}

	.gp-kinder-fotos .gp-kinder-fotos__reihe {
		max-width: none;
	}
}

/* Escape-Room 2 (Purge): Foto mit Abdunklung, damit der Text lesbar bleibt */
.hero--escape2 {
	/* Stark aufgehellte Fassung des blauen Fotos (Gamma 0,45, Helligkeit +30 %).
	   Keine Abdunklung oben/Mitte, nur am unteren Rand leicht für den kleinen Text.
	   Bildausschnitt nach links/oben verschoben, damit Figur und Maske sichtbar bleiben. */
	background-image: linear-gradient(rgba(4, 41, 61, 0) 0%, rgba(4, 41, 61, 0) 50%, rgba(4, 41, 61, .35) 100%), url(/wp-content/uploads/2026/11/purge-hero-florian-gagnepain-hell2.jpg);
	background-position: 30% 30%;
	background-color: #04293d;
}

/* Am Handy zeigt der schmale Ausschnitt sonst nur Wand und Kapuze: etwas nach rechts, damit die Maske im Bild ist */
@media (max-width: 600px) {
	.hero--escape2 {
		background-position: 42% 30%;
	}
}

/* Escape-Room 2, Preise: Foto links, Inhalt am Desktop auf der rechten (schwarzen) Hälfte */
@media (min-width: 981px) {
	.gp-preise-rechts .wp-block-cover__inner-container > * {
		max-width: 46% !important;
		margin-left: 50% !important;
		margin-right: 4% !important;
	}
}

/* Escape-Teaser mit zwei Räumen: je eine Karte */
.gp-teaser-raum {
	display: flex;
	flex-direction: column;
	padding: 30px 25px;
	border-radius: 3px;
	background: rgba(4, 41, 61, .8);
	box-shadow: 0 0 4px rgba(0, 0, 0, .5);
}

.gp-teaser-raum .wp-block-buttons {
	margin-top: auto;
	padding-top: 15px;
}

.gp-teaser-raum__nr {
	margin: 0 0 6px !important;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--wp--preset--color--rot);
}

.gp-teaser-raum h3 {
	font-size: 24px;
	font-weight: 700;
	color: var(--wp--preset--color--weiss);
}

/* Bildreihe Purge: quadratische Ausschnitte, 4 pro Reihe, letzte Reihe mittig */
.gp-bildreihe {
	padding: 30px 20px;
}

.gp-galerie.gp-galerie--purge {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px !important;
	max-width: 1080px;
	margin: 0 auto !important;
}

.gp-galerie.gp-galerie--purge figure.wp-block-image {
	width: calc((100% - 61px) / 4) !important;
	flex: 0 0 auto !important;
	margin: 0 !important;
}

.gp-galerie.gp-galerie--purge img {
	aspect-ratio: 1 / 1;
	height: auto !important;
	object-fit: cover;
	border-radius: 3px;
}

@media (max-width: 600px) {
	.gp-galerie.gp-galerie--purge figure.wp-block-image {
		width: calc((100% - 21px) / 2) !important;
	}
}

.gp-dunkel {
	background: linear-gradient(160deg, #174f68 0%, #04293d 100%);
}

.gp-dunkel--tief {
	background: linear-gradient(160deg, #04293d 0%, #0a1620 100%);
}

.hero .preheadline,
.hero h1 {
	text-shadow: 0 0 .2em #000;
	margin-bottom: 30px;
}

.hero .hero__unterzeile {
	font-size: 20px !important;
	line-height: 1.6 !important;
	text-transform: uppercase;
}

.gp-trenner {
	width: 100px;
	margin: 0 auto 25px !important;
	border: 0;
	border-top: 3px solid var(--wp--preset--color--rot-akzent);
	box-shadow: 0 0 3px #000;
	opacity: 1;
}

.hero .gp-intro {
	text-shadow: 0 0 .2em #000;
}

/* Hero-Buttons wie im Original: gefüllt, 17 px, Rot #E35C5B bzw. Blau #1796D2 */
.hero .wp-block-button__link {
	padding: .3em 1em;
	background: var(--wp--preset--color--rot-akzent);
	font-size: 17px;
	text-transform: none;
}

.hero .gp-btn-blau > .wp-block-button__link {
	background: #1796d2;
}

.hero .wp-block-button__link:hover {
	background: var(--wp--preset--color--pink);
}

.hero .gp-btn-blau > .wp-block-button__link:hover {
	background: var(--wp--preset--color--blau);
}

/* Lesbarkeit auf hellen Fotos (wie Original: Textschatten) */
.cta1 h2,
.cta1 .gp-intro {
	text-shadow: 0 0 .2em #000;
}

/* Karten mit Symbol (Spielmodi, Startseite) */
.gp-karten h4 {
	margin-top: 20px;
}

/* Preiskarten -------------------------------------------------------- */

/* Werte gemessen am Original (Divi-Preistabellen) */
.gp-preise {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	align-items: start;
	margin-top: 60px;
}

.gp-preise--abstand {
	gap: 30px;
}

.gp-preis {
	padding-bottom: 25px;
	border-radius: 3px;
	background: var(--wp--preset--color--weiss);
	box-shadow: 0 0 2px rgba(0, 0, 0, .2);
	text-align: center;
}

.gp-preis--hervorgehoben {
	position: relative;
	z-index: 1;
	margin-top: -40px;
	box-shadow: 0 0 4px rgba(0, 0, 0, .5);
}

.gp-preis__kopf {
	padding: 20px 20px 25px;
	border-radius: 3px 3px 0 0;
	background: var(--wp--preset--color--blau);
	color: var(--wp--preset--color--weiss);
}

.gp-preis--hervorgehoben .gp-preis__kopf {
	background: var(--wp--preset--color--rot);
}

.gp-preis__kopf h3 {
	margin: 0 0 5px;
	font-size: 26px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--wp--preset--color--weiss);
}

.gp-preis__kopf p {
	margin: 0;
}

.gp-preis__betrag {
	margin: 0 20px 13px !important;
	padding: 30px 0 20px;
	border-bottom: 1px dotted #d9d9d9;
	font-size: 60px;
	font-weight: 700;
	line-height: 1.03;
	color: var(--wp--preset--color--blau);
}

.gp-preis__betrag span {
	font-size: 24px;
	vertical-align: top;
}

.gp-preis__betrag small {
	font-size: 15px;
	font-weight: 400;
	color: var(--wp--preset--color--text);
}

.gp-preis ul {
	margin: 0;
	padding: 0 25px;
	list-style: none;
}

.gp-preis li {
	padding: 0 0 27px;
	font-size: 17px;
	line-height: 1.6;
	color: #848484;
}

.gp-preis li:first-child {
	font-weight: 700;
	color: var(--wp--preset--color--text);
}

.gp-preis--hervorgehoben .gp-preis__betrag {
	color: var(--wp--preset--color--rot);
}

.gp-preis .gp-button {
	padding: 4.5px 15px;
	background: var(--wp--preset--color--blau);
	font-size: 15px;
}

.gp-preis--hervorgehoben .gp-button {
	background: var(--wp--preset--color--rot);
}

/* Preistabelle Escape-Room */
.gp-tabelle table {
	width: 100%;
	border-collapse: collapse;
	box-shadow: 0 0 8px rgba(0, 0, 0, .6);
	color: #eaeaea;
}

/* Preistabelle mittig (Phase 2, 10.11.2026: vorher klebte sie links) */
.gp-tabelle {
	margin: 30px auto !important;
}

.gp-tabelle th,
.gp-tabelle td {
	padding: 14px 24px;
	border: 2px solid #212121;
	background: #2b2b2b;
	text-align: center;
}

.gp-tabelle th {
	background: #101010;
}

.gp-tabelle td:nth-child(-n+2) {
	font-weight: 700;
}

/* Galerien und Trennlinien */
/* Galerie als eigenes Raster (Bildgrößen wie im Original: 3 bzw. 2 je Reihe) */
.gp-galerie {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px !important;
	margin: 0 auto 80px !important;
}

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

.gp-galerie figure.wp-block-image {
	width: auto !important;
	margin: 0 !important;
}

.gp-galerie img {
	display: block;
	width: 100%;
	height: auto;
}

/* „Was ist Lasertag?“ (Phase 2, 10.11.2026): Fließtext etwas größer */
.gp-was-ist .wp-block-column p {
	font-size: 17px;
	line-height: 1.7;
}

/* Zwischenüberschrift in Markenrot, größer (z. B. „Das Spiel“) */
h3.gp-titel-rot {
	font-size: 30px;
	line-height: 1.25;
	font-weight: 700;
	color: var(--wp--preset--color--rot);
}

/* Bild-Text-Reihen auf „Was ist Lasertag?“ */
.gp-section > .wp-block-columns.are-vertically-aligned-center {
	margin: 30px auto 80px !important;
}

.gp-section > .wp-block-columns.are-vertically-aligned-center img {
	display: block;
	width: 100%;
	height: auto;
}

/* „Hast du Fragen?“: Buttons untereinander, enger Abstand wie im Original */
.gp-fragen h4 {
	margin-bottom: 16.8px;
}

.gp-fragen .wp-block-buttons {
	gap: 5px;
	margin-top: 0;
}

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

.gp-linie {
	margin: 60px auto 40px !important;
	border: 0;
	border-top: 1px solid var(--wp--preset--color--hellgrau);
}

main h3 {
	margin: 0 0 20px;
}

/* Drei Symbolblöcke nebeneinander (Escape-Room) */
.gp-blurbs-drei {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin: 50px 0;
}

.gp-blurb--zentriert {
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.gp-blurb--zentriert .gp-icon {
	width: 48px;
	height: 48px;
	color: var(--wp--preset--color--rot-akzent);
}

.cta1 .gp-blurb h4 {
	color: var(--wp--preset--color--weiss);
}

@media (max-width: 980px) {
	.gp-preise,
	.gp-blurbs-drei {
		grid-template-columns: 1fr;
	}

	.gp-preis--hervorgehoben {
		transform: none;
	}

	.hero {
		padding: 130px 20px 70px;
	}

	.hero--home {
		min-height: 0;
	}
}

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

	.gp-section {
		padding: 180px 0 120px;
	}

	/* Überschriften bleiben wie im Original groß; lange Wörter werden
	   an Silbengrenzen getrennt statt mitten im Wort umgebrochen. */
	h2 {
		hyphens: manual;
		overflow-wrap: break-word;
	}
}

@media (max-width: 600px) {
	.gp-footer {
		grid-template-columns: 1fr;
	}

	/* Blaue Leiste am Handy wie im Original: drei Blöcke untereinander */
	.gp-leiste {
		flex-direction: column;
		align-items: center;
		gap: 60px;
		padding: 30px 0 40px;
	}

	.gp-leiste a {
		flex-direction: column;
		gap: 10px;
	}

	.gp-leiste .gp-icon {
		width: 60px;
		height: 60px;
	}
}
