/* =====================================================================
   APX. Padel Club – main stylesheet
   Dark · urban · premium · League Spartan (self-hosted, no external fonts)
   ===================================================================== */

@font-face {
	font-family: "League Spartan";
	src: url("../fonts/league-spartan-var.woff2") format("woff2-variations"),
	     url("../fonts/league-spartan-var.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--apx-lime: #DEF505;
	--apx-dark: #181818;
	--apx-black: #0E0E0E;
	--apx-white: #FFFFFF;
	--apx-purple: #7A2D8F;
	--apx-muted: #A7A7A7;
	--apx-surface: #202020;
	--apx-line: #2E2E2E;
	--apx-header-h: 92px;
	--apx-wide: 1200px;
	--apx-content: 760px;
	--apx-pad: clamp(1rem, 4vw, 2rem);
	--apx-ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

body {
	margin: 0;
	font-family: "League Spartan", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-weight: 400;
	font-size: clamp(1rem, .97rem + .2vw, 1.0625rem);
	line-height: 1.65;
	color: var(--apx-white);
	background: var(--apx-dark);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, picture, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--apx-lime); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { font-weight: 700; }

h1, h2, h3, h4 {
	font-family: inherit;
	text-transform: uppercase;
	line-height: 1.02;
	letter-spacing: -.01em;
	margin: 0 0 .6em;
	font-weight: 800;
}

:focus-visible { outline: 3px solid var(--apx-lime); outline-offset: 2px; border-radius: 2px; }

.apx-skip {
	position: absolute; left: -999px; top: 0; z-index: 999;
	background: var(--apx-lime); color: var(--apx-dark); padding: .75rem 1.25rem; font-weight: 700;
}
.apx-skip:focus { left: 1rem; top: 1rem; }

/* ---------- layout helpers ---------- */
.apx-container { width: 100%; max-width: var(--apx-wide); margin-inline: auto; padding-inline: var(--apx-pad); }
.apx-container--narrow { max-width: 880px; }
.apx-section { padding-block: clamp(3rem, 7vw, 6rem); position: relative; }
.apx-kicker {
	display: inline-block; margin: 0 0 1rem; padding: .35rem .75rem;
	font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
	color: var(--apx-lime); border: 1px solid rgba(222,245,5,.35); border-radius: 2px;
}
.apx-section__title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); font-weight: 800; margin-bottom: 1.5rem; }

/* ---------- buttons ---------- */
.apx-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .85rem 1.6rem; font-weight: 800; font-size: .95rem; letter-spacing: .03em;
	text-transform: uppercase; text-decoration: none; border: 2px solid transparent;
	transition: transform .18s var(--apx-ease), background .18s, color .18s, border-color .18s;
	cursor: pointer; line-height: 1; white-space: nowrap;
}
.apx-btn:hover { text-decoration: none; transform: translateY(-2px); }
.apx-btn--lime { background: var(--apx-lime); color: var(--apx-dark); }
.apx-btn--lime:hover { background: var(--apx-white); }
.apx-btn--ghost { background: transparent; color: var(--apx-white); border-color: rgba(255,255,255,.4); }
.apx-btn--ghost:hover { border-color: var(--apx-lime); color: var(--apx-lime); }

/* ---------- header ---------- */
.apx-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(20,20,20,.72);
	backdrop-filter: saturate(140%) blur(12px);
	-webkit-backdrop-filter: saturate(140%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: background .25s, border-color .25s;
}
.apx-header.is-scrolled { background: rgba(16,16,16,.96); border-bottom-color: var(--apx-line); }
.apx-header__inner {
	max-width: var(--apx-wide); margin-inline: auto; padding: .5rem var(--apx-pad);
	min-height: var(--apx-header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.apx-logo { display: inline-flex; align-items: center; }
.apx-logo img, .apx-header .custom-logo { height: 64px; width: auto; max-width: min(64vw, 380px); object-fit: contain; }
.apx-header .custom-logo-link { display: inline-flex; }
.apx-header.is-scrolled .apx-logo img, .apx-header.is-scrolled .custom-logo { height: 56px; }
@media (max-width: 600px) { .apx-logo img, .apx-header .custom-logo { height: 52px; } }

.apx-nav { display: flex; align-items: center; gap: 1.75rem; }
.apx-menu { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.apx-menu a {
	color: var(--apx-white); font-weight: 600; font-size: .92rem; text-transform: uppercase; letter-spacing: .04em;
	text-decoration: none; padding: .4rem 0; position: relative;
}
.apx-menu a::after {
	content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
	background: var(--apx-lime); transition: right .25s var(--apx-ease);
}
.apx-menu a:hover::after, .apx-menu .current-menu-item > a::after { right: 0; }
.apx-menu .current-menu-item > a { color: var(--apx-lime); }
.apx-nav__cta { padding: .65rem 1.25rem; font-size: .85rem; }

/* logo inside the mobile lightbox – hidden on desktop */
.apx-nav__head { display: none; }

/* Desktop: Logo links, Menü mittig im verfügbaren Raum, „Platz buchen" rechts (ausgewogen). */
@media (min-width: 901px) {
	.apx-nav { flex: 1; }
	.apx-menu { margin-inline: auto; }
}

/* burger */
.apx-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.apx-burger span { width: 26px; height: 2px; background: var(--apx-white); border-radius: 2px; transition: transform .3s var(--apx-ease), opacity .2s; }

@media (max-width: 900px) {
	/* Drop the header's backdrop-filter on mobile: filters create a containing block
	   for position:fixed children, which would offset/clip the full-screen lightbox
	   (especially with the WP admin bar). Without it the lightbox is fixed to the
	   real viewport, so top:0 / admin-bar top:46px resolve correctly. */
	.apx-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(16,16,16,.92); }
	.apx-header.is-scrolled { background: rgba(16,16,16,.97); }

	/* keep the burger above the lightbox so it morphs into the close (X) control */
	.apx-burger { display: flex; position: relative; z-index: 210; }

	/* ---- full-screen lightbox menu ----
	   NOTE: .apx-header uses backdrop-filter, which makes it the containing block
	   for position:fixed children. The header sits at viewport (0,0), so we size the
	   lightbox with viewport units (not %) to truly fill the screen. */
	.apx-nav {
		position: fixed; top: 0; left: 0; right: 0; z-index: 200;
		flex-direction: column; align-items: center; justify-content: space-between;
		gap: 1.25rem; width: 100%; height: 100vh; height: 100dvh;
		padding: 4.75rem var(--apx-pad) 2.25rem;
		background:
			radial-gradient(130% 90% at 88% 4%, rgba(222,245,5,.12), transparent 58%),
			radial-gradient(120% 100% at 0% 100%, rgba(122,45,143,.18), transparent 55%),
			#0c0c0c;
		overflow-y: auto; overscroll-behavior: contain;
		will-change: clip-path, opacity;
		clip-path: circle(0% at 90% 38px);
		opacity: 0; visibility: hidden;
		/* EXIT: collapse the circle back into the burger, then hide */
		transition: clip-path .45s cubic-bezier(.7,0,.2,1), opacity .3s ease, visibility 0s linear .55s;
	}
	.apx-nav-open .apx-nav {
		clip-path: circle(150% at 90% 38px);
		opacity: 1; visibility: visible;
		/* ENTER: punch the circle open from the burger */
		transition: clip-path .6s cubic-bezier(.16,1,.3,1), opacity .25s ease, visibility 0s;
	}

	.apx-nav__head { display: block; margin: 0; }
	.apx-nav__logo-link { display: inline-block; }
	.apx-nav__logo { display: block; height: 84px; width: auto; max-width: 70vw; object-fit: contain; }

	.apx-menu { flex-direction: column; align-items: center; gap: 0; width: 100%; max-width: 440px; }
	.apx-menu li { width: 100%; border-bottom: 1px solid var(--apx-line); }
	.apx-menu li:first-child { border-top: 1px solid var(--apx-line); }
	.apx-menu a { display: block; text-align: center; padding: 1.05rem 0; font-size: 1.4rem; letter-spacing: .05em; }
	.apx-menu a::after { display: none; }
	.apx-nav__cta { margin: 0; width: 100%; max-width: 440px; font-size: 1rem; padding: .9rem 1.25rem; }

	/* staggered items — rise + fade with a soft overshoot.
	   ENTER delays live on .apx-nav-open (top→bottom cascade);
	   EXIT delays live on the resting state (bottom→top reverse cascade). */
	.apx-nav__head, .apx-menu li, .apx-nav__cta {
		opacity: 0; transform: translateY(26px) scale(.97);
		will-change: transform, opacity;
		transition: opacity .3s ease, transform .35s cubic-bezier(.5,0,.2,1);
	}
	.apx-nav-open .apx-nav__head,
	.apx-nav-open .apx-menu li,
	.apx-nav-open .apx-nav__cta {
		opacity: 1; transform: none;
		transition: opacity .5s ease, transform .6s cubic-bezier(.18,.9,.28,1.2);
	}
	/* ENTER cascade (top first) */
	.apx-nav-open .apx-nav__head { transition-delay: .12s; }
	.apx-nav-open .apx-menu li:nth-child(1) { transition-delay: .18s; }
	.apx-nav-open .apx-menu li:nth-child(2) { transition-delay: .235s; }
	.apx-nav-open .apx-menu li:nth-child(3) { transition-delay: .29s; }
	.apx-nav-open .apx-menu li:nth-child(4) { transition-delay: .345s; }
	.apx-nav-open .apx-menu li:nth-child(5) { transition-delay: .40s; }
	.apx-nav-open .apx-menu li:nth-child(6) { transition-delay: .455s; }
	.apx-nav-open .apx-menu li:nth-child(7) { transition-delay: .51s; }
	.apx-nav-open .apx-menu li:nth-child(8) { transition-delay: .565s; }
	.apx-nav-open .apx-nav__cta { transition-delay: .60s; }
	/* EXIT cascade (bottom first, quick) */
	.apx-nav__cta { transition-delay: 0s; }
	.apx-menu li:nth-child(8) { transition-delay: .03s; }
	.apx-menu li:nth-child(7) { transition-delay: .05s; }
	.apx-menu li:nth-child(6) { transition-delay: .07s; }
	.apx-menu li:nth-child(5) { transition-delay: .09s; }
	.apx-menu li:nth-child(4) { transition-delay: .11s; }
	.apx-menu li:nth-child(3) { transition-delay: .13s; }
	.apx-menu li:nth-child(2) { transition-delay: .15s; }
	.apx-menu li:nth-child(1) { transition-delay: .17s; }
	.apx-nav__head { transition-delay: .19s; }

	/* burger -> X */
	.apx-nav-open .apx-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.apx-nav-open .apx-burger span:nth-child(2) { opacity: 0; }
	.apx-nav-open .apx-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* lock background scroll while the lightbox is open */
body.apx-nav-open { overflow: hidden; }

/* WP admin-bar offset for the lightbox:
   - ≤600px the admin bar is position:absolute and scrolls away → NO offset (lightbox starts at 0),
     otherwise a gap appears at the top once the page is scrolled.
   - 601–782px the bar is fixed & 46px tall, ≥783px it's fixed & 32px tall. */
@media (min-width: 601px) and (max-width: 900px) {
	.admin-bar .apx-nav { top: 46px; height: calc(100vh - 46px); height: calc(100dvh - 46px); }
}
@media (min-width: 783px) and (max-width: 900px) {
	.admin-bar .apx-nav { top: 32px; height: calc(100vh - 32px); height: calc(100dvh - 32px); }
}

@media (prefers-reduced-motion: reduce) {
	.apx-nav { transition: opacity .2s ease, visibility 0s; clip-path: none; }
	.apx-nav-open .apx-nav { clip-path: none; }
	.apx-nav__head, .apx-menu li, .apx-nav__cta { transition: opacity .2s ease; transform: none; }
	.apx-nav-open .apx-nav__head, .apx-nav-open .apx-menu li, .apx-nav-open .apx-nav__cta { transition-delay: 0s; }
}

/* ---------- hero ---------- */
/* Hero füllt den Viewport, aber die Höhe wird auf das 1920×1080-Framing gedeckelt
   (1080px − Header). So bleibt 1920×1080 unverändert, während sehr große/hohe Screens
   nicht immer höher werden (sonst rückt der bodenbündige Inhalt zu tief mit zu viel Bild darüber). */
.apx-hero { position: relative; min-height: min(calc(100svh - var(--apx-header-h)), calc(1080px - var(--apx-header-h))); display: flex; align-items: flex-end; overflow: hidden; }
@supports (height: 100dvh) { .apx-hero { min-height: min(calc(100dvh - var(--apx-header-h)), calc(1080px - var(--apx-header-h))); } }
/* Account for the WP admin bar (logged-in view) so the hero stays exactly full-screen. */
.admin-bar .apx-hero { min-height: calc(100svh - var(--apx-header-h) - 32px); }
@supports (height: 100dvh) { .admin-bar .apx-hero { min-height: calc(100dvh - var(--apx-header-h) - 32px); } }
@media screen and (max-width: 782px) { .admin-bar .apx-hero { min-height: calc(100svh - var(--apx-header-h) - 46px); } }
.apx-hero__bg { position: absolute; inset: 0; z-index: 0; }
.apx-hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.05); }
.apx-hero::after {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background:
		linear-gradient(180deg, rgba(24,24,24,.55) 0%, rgba(24,24,24,.2) 35%, rgba(24,24,24,.92) 100%),
		radial-gradient(120% 80% at 80% 0%, rgba(122,45,143,.28), transparent 60%);
}
.apx-hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--apx-wide); margin-inline: auto; padding: 0 var(--apx-pad) clamp(2.5rem, 6vw, 5rem); }
.apx-hero__title {
	font-size: clamp(2.9rem, 1.6rem + 6vw, 5.5rem); font-weight: 900; line-height: .95;
	letter-spacing: -.02em; margin: 0 0 1.1rem; max-width: 16ch;
	text-shadow: 0 2px 30px rgba(0,0,0,.4);
}
.apx-hero__title { color: var(--apx-white); }
.apx-hero__sub { font-size: clamp(1.05rem, .98rem + .5vw, 1.3rem); max-width: 52ch; color: #ECECEC; margin: 0 0 1.8rem; }
.apx-hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }
.apx-hero__meta { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; list-style: none; margin: 0; padding: 1.4rem 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.apx-hero__meta li { font-size: .95rem; color: var(--apx-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.apx-hero__meta strong { color: var(--apx-lime); font-size: 1.1rem; }
.apx-hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 20px; width: 44px; height: 44px; transform: translateX(-50%); display: block; }
.apx-hero__scroll::before, .apx-hero__scroll::after {
	content: ""; position: absolute; left: 50%; width: 20px; height: 20px;
	border-right: 3px solid var(--apx-lime); border-bottom: 3px solid var(--apx-lime);
	border-radius: 2px;
}
.apx-hero__scroll::before { top: 4px;  transform: translateX(-50%) rotate(45deg); animation: apx-arrow 1.7s var(--apx-ease) infinite; }
.apx-hero__scroll::after  { top: 14px; transform: translateX(-50%) rotate(45deg); opacity: .45; animation: apx-arrow 1.7s var(--apx-ease) infinite .18s; }
.apx-hero__scroll:hover::before, .apx-hero__scroll:hover::after { border-color: #fff; }
@keyframes apx-arrow { 0%{opacity:0;transform:translate(-50%,-7px) rotate(45deg)} 50%{opacity:1} 100%{opacity:0;transform:translate(-50%,7px) rotate(45deg)} }
@media (prefers-reduced-motion: reduce) { .apx-hero__scroll::before, .apx-hero__scroll::after { animation: none; opacity: .8; } }
/* On mobile the hero content reaches the bottom; reserve room so the scroll
   arrow sits clearly below the meta row instead of overlapping it. */
@media (max-width: 680px) {
	.apx-hero__inner { padding-bottom: 5.5rem; }
	.apx-hero__scroll { bottom: 16px; }
	/* Auf echten iPhones ist 100dvh beim Laden (Adressleiste sichtbar) kleiner als in der
	   Desktop-Mobilansicht → der bodenbündige Hero-Text rückt zu nah an den Header.
	   Top-Padding am Hero garantiert einen Mindestabstand (auf hohen Viewports wirkungslos,
	   da der Text den oberen Rand dort nie erreicht). safe-area für Geräte mit Notch. */
	.apx-hero { padding-top: calc(clamp(2rem, 12vw, 5rem) + env(safe-area-inset-top, 0px)); }
}

/* ---------- intro / prose ---------- */
.apx-prose { max-width: var(--apx-content); }
.apx-intro { text-align: center; }
.apx-intro .apx-prose { margin-inline: auto; }
.apx-prose :where(p, ul, ol) { color: #E4E4E4; }
.apx-prose h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); }
.apx-prose h3 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); color: var(--apx-lime); }
.apx-prose a { text-decoration: underline; text-underline-offset: 3px; }
.apx-prose ul { padding-left: 1.2em; }
.apx-prose li { margin-bottom: .4em; }
.apx-prose :where(.wp-block-image) img { border-radius: 4px; }
/* Gleichmäßiger vertikaler Rhythmus: Abstand Titel→Text = Text→nächster Titel */
.apx-prose > * { margin-top: 0; margin-bottom: 0; }
.apx-prose > * + * { margin-top: 1.6em; }

/* ---------- grids / cards ---------- */
.apx-grid { display: grid; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.apx-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.apx-card {
	background: var(--apx-surface); border: 1px solid var(--apx-line); padding: 2rem 1.75rem; border-radius: 6px;
	transition: transform .2s var(--apx-ease), border-color .2s, background .2s;
}
.apx-card:hover { transform: translateY(-4px); border-color: rgba(222,245,5,.45); }
.apx-card__icon { width: 48px; height: 48px; margin-bottom: 1rem; filter: drop-shadow(0 0 0 transparent); }
.apx-card__title { font-size: 1.25rem; font-weight: 700; margin: 0 0 .5rem; text-transform: none; letter-spacing: -.005em; }
.apx-card p { margin: 0; color: var(--apx-muted); }

.apx-features { background: linear-gradient(180deg, var(--apx-dark), #141414); }

/* ---------- split (location) ---------- */
.apx-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.apx-split__media img { width: 100%; border-radius: 6px; border: 1px solid var(--apx-line); }
.apx-address { font-size: 1.05rem; margin: 1.2rem 0; }
@media (max-width: 820px) { .apx-split { grid-template-columns: 1fr; } .apx-split__media { order: -1; } }

/* ---------- community ---------- */
.apx-community { background:
	radial-gradient(80% 120% at 0% 0%, rgba(122,45,143,.22), transparent 55%),
	var(--apx-dark); }
.apx-community__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.apx-community__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.apx-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.apx-checklist li { position: relative; padding-left: 2.2rem; color: #E4E4E4; }
.apx-checklist li::before {
	content: ""; position: absolute; left: 0; top: .15em; width: 1.4rem; height: 1.4rem;
	background: var(--apx-lime); border-radius: 50%;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 70% no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 70% no-repeat;
}
@media (max-width: 820px) { .apx-community__inner { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.apx-faq__list { display: grid; gap: .75rem; }
.apx-faq__item { background: var(--apx-surface); border: 1px solid var(--apx-line); border-radius: 6px; overflow: hidden; }
.apx-faq__item[open] { border-color: rgba(222,245,5,.4); }
.apx-faq__item summary {
	list-style: none; cursor: pointer; padding: 1.15rem 3rem 1.15rem 1.4rem; position: relative;
	font-weight: 700; font-size: 1.08rem; text-transform: none;
}
.apx-faq__item summary::-webkit-details-marker { display: none; }
.apx-faq__item summary::after {
	content: ""; position: absolute; right: 1.3rem; top: 50%; width: 14px; height: 14px;
	transform: translateY(-50%); transition: transform .25s var(--apx-ease);
	background:
		linear-gradient(var(--apx-lime),var(--apx-lime)) center/100% 2px no-repeat,
		linear-gradient(var(--apx-lime),var(--apx-lime)) center/2px 100% no-repeat;
}
.apx-faq__item[open] summary::after { transform: translateY(-50%) rotate(90deg); opacity: .8; }
.apx-faq__item[open] summary::after { background: linear-gradient(var(--apx-lime),var(--apx-lime)) center/100% 2px no-repeat; }
.apx-faq__a { padding: 0 1.4rem 1.3rem; color: var(--apx-muted); }
.apx-faq__a p { margin: 0; }
.apx-faq__more { margin-top: 1.75rem; text-align: center; }

/* ---------- booking (Playtomic embed) ---------- */
.apx-booking__cal { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.apx-booking__embed {
	background: var(--apx-surface); border: 1px solid var(--apx-line);
	border-radius: 8px; overflow: hidden; max-width: 100%;
	min-height: var(--apx-cal-h, 900px);
}
/* width:1px + min-width:100% forces the iframe to exactly the container width
   (iframes can ignore plain width:100% and overflow the viewport on mobile). */
.apx-booking__embed iframe { display: block; width: 1px; min-width: 100%; max-width: 100%; border: 0; }
.apx-booking__embed--empty {
	min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
	text-align: center; padding: clamp(2.5rem, 6vw, 4rem) 1.5rem; color: var(--apx-muted);
}
/* Intro-Text der Buchungsseite exakt so breit/zentriert wie der Kalender darunter
   (beide = .apx-container-Breite). NICHT „none", sonst überschreibt es die Container-
   max-width und der Text läuft randlos über die ganze Seite. */
.apx-booking .apx-prose { max-width: var(--apx-wide); }
.apx-booking__hint { margin-top: 1rem; color: var(--apx-muted); font-size: .92rem; text-align: center; }
.apx-booking__hint a { text-decoration: underline; text-underline-offset: 2px; }

/* Mobile: full-bleed calendar for maximum usable width, taller viewport-based height. */
@media (max-width: 680px) {
	.apx-booking__cal { padding-block: clamp(1rem, 4vw, 1.6rem); }
	/* Kalender NICHT mehr randlos: gleiche Container-Einrückung wie der Intro-Text darüber,
	   damit beide exakt an derselben Stelle beginnen und enden. */
	.apx-booking__embed { min-height: var(--apx-cal-h-mob, 620px); }
	.apx-booking__embed iframe { height: var(--apx-cal-h-mob, 620px); }
}

/* ---------- CTA ---------- */
.apx-cta { background: var(--apx-lime); color: var(--apx-dark); text-align: center; }
.apx-cta__inner { max-width: 720px; margin-inline: auto; }
.apx-cta .apx-section__title { color: var(--apx-dark); }
.apx-cta p { color: #1c1c1c; font-size: 1.15rem; margin: 0 auto 1.8rem; max-width: 46ch; }
.apx-cta__ball { width: 64px; height: auto; margin: 0 auto 1.2rem; }
.apx-cta__buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.apx-cta .apx-btn--lime { background: var(--apx-dark); color: var(--apx-lime); }
.apx-cta .apx-btn--lime:hover { background: var(--apx-black); }
.apx-cta .apx-btn--ghost { border-color: rgba(24,24,24,.4); color: var(--apx-dark); }
.apx-cta .apx-btn--ghost:hover { border-color: var(--apx-dark); color: var(--apx-dark); }

/* ---------- page header ---------- */
/* Inner-page header: hero image background + readable overlay (front page uses .apx-hero instead) */
.apx-page__head { position: relative; padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem,4vw,3rem); background: var(--apx-dark); border-bottom: 1px solid var(--apx-line); overflow: hidden; }
.apx-page__head::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--apx-pagehead-img, url("../img/hero-hall.webp")) center/cover no-repeat; filter: grayscale(100%) contrast(1.05); }
.apx-page__head::after { content: ""; position: absolute; inset: 0; z-index: 1;
	background: radial-gradient(120% 150% at 88% 0%, rgba(222,245,5,.12), transparent 55%), linear-gradient(180deg, rgba(14,14,14,.70) 0%, rgba(14,14,14,.88) 100%); }
.apx-page__head > .apx-container { position: relative; z-index: 2; }
.apx-page__title { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); font-weight: 900; }
/* Equal breathing room top & bottom on inner pages:
   head → first content block = last content block → footer (consistent everywhere). */
.apx-page > .apx-section:first-of-type { padding-top: clamp(4rem, 9vw, 8rem); }
.apx-page > .apx-section:last-of-type  { padding-bottom: clamp(4rem, 9vw, 8rem); }

/* ---------- footer ---------- */
.apx-footer { background: var(--apx-black); position: relative; }
.apx-footer::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
	background: linear-gradient(90deg, var(--apx-lime) 0%, var(--apx-purple) 100%);
	box-shadow: 0 0 14px rgba(222,245,5,.45);
}
.apx-footer__inner { max-width: var(--apx-wide); margin-inline: auto; padding: clamp(2.5rem,5vw,4rem) var(--apx-pad); display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 2.5rem; }
.apx-footer__brand img { height: 56px; width: auto; margin-bottom: 1rem; }
.apx-footer__claim { color: var(--apx-white); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 .8rem; }
.apx-footer__hours { color: var(--apx-muted); display: flex; align-items: center; gap: .5rem; margin: 0; }
.apx-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--apx-lime); box-shadow: 0 0 0 3px rgba(222,245,5,.2); }
.apx-footer__h { font-size: .8rem; letter-spacing: .15em; color: var(--apx-muted); margin: 0 0 1.1rem; }
.apx-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.apx-footer__menu a, .apx-footer address a { color: var(--apx-white); text-decoration: none; }
.apx-footer__menu a:hover, .apx-footer address a:hover { color: var(--apx-lime); }
.apx-footer address { font-style: normal; color: var(--apx-muted); line-height: 1.8; margin-bottom: 1rem; }
.apx-footer__social { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.2rem; }
.apx-social {
	display: inline-flex; align-items: center; gap: .55rem;
	padding: .5rem .85rem; border-radius: 8px;
	border: 1px solid var(--apx-line); background: rgba(255,255,255,.03);
	color: var(--apx-white); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
	text-decoration: none; transition: background .18s, border-color .18s, color .18s, transform .18s var(--apx-ease);
}
.apx-social:hover { text-decoration: none; transform: translateY(-2px); }
.apx-social__icon { flex-shrink: 0; }
.apx-social--wa:hover { color: #25D366; border-color: rgba(37,211,102,.6); background: rgba(37,211,102,.10); }
.apx-social--ig:hover { color: #E1306C; border-color: rgba(225,48,108,.6); background: rgba(225,48,108,.10); }
.apx-social--fb:hover { color: #1877F2; border-color: rgba(24,119,242,.6); background: rgba(24,119,242,.10); }
.apx-footer__bar { border-top: 1px solid var(--apx-line); }
.apx-footer__bar { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; max-width: var(--apx-wide); margin-inline: auto; padding: 1.25rem var(--apx-pad); }
.apx-footer__bar p { margin: 0; color: var(--apx-muted); font-size: .85rem; }
.apx-legal { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; }
.apx-legal a { color: var(--apx-muted); font-size: .85rem; text-decoration: none; }
.apx-legal a:hover { color: var(--apx-lime); }
.apx-footer__legal { display: inline-flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.apx-footer__cookie { color: var(--apx-muted); font-size: .85rem; text-decoration: none; cursor: pointer; }
.apx-footer__cookie:hover { color: var(--apx-lime); }
@media (max-width: 820px) { .apx-footer__inner { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 600px) {
	.apx-footer__bar { justify-content: center; text-align: center; }
	.apx-footer__bar p { width: 100%; }
	.apx-footer__legal { width: 100%; justify-content: center; }
	.apx-legal { justify-content: center; }
}

/* ---------- misc ---------- */
.apx-archive__head { margin-bottom: 2rem; }
.apx-readmore { font-weight: 700; text-transform: uppercase; font-size: .85rem; letter-spacing: .05em; }
.apx-404 .apx-section__title { font-size: clamp(2.5rem,2rem+3vw,4rem); }
.wp-block-button__link { border-radius: 0; }

/* ============================================================= *
 *  Events / News / Standorte (CPTs)
 * ============================================================= */
.apx-section--tight { padding-block: clamp(1.5rem, 3vw, 2.75rem); }
.apx-empty { color: var(--apx-muted); font-size: 1.05rem; padding: 2rem 0; }
/* Local line icons (self-drawn SVG masks → tint via currentColor, no external request) */
.apx-ico-cal, .apx-ico-news, .apx-pin, .apx-i-pin, .apx-i-mail, .apx-i-phone, .apx-i-clock {
	display: inline-block; background-color: currentColor;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	-webkit-mask-position: center; mask-position: center;
	-webkit-mask-size: contain; mask-size: contain;
}
.apx-ico-cal, .apx-ico-news { width: 1.05em; height: 1.05em; vertical-align: -.16em; margin-right: .45em; }
.apx-pin { width: 1.1em; height: 1.1em; vertical-align: -.22em; margin-right: .3em; background-color: var(--apx-lime);
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5.5-8 11.5-8 11.5S4 15.5 4 10a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='2.8'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5.5-8 11.5-8 11.5S4 15.5 4 10a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='2.8'/%3E%3C/svg%3E"); }
.apx-ico-cal  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18M8 2.5v4M16 2.5v4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18M8 2.5v4M16 2.5v4'/%3E%3C/svg%3E"); }
.apx-ico-news { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h13v15a2 2 0 0 0 2 2H6a2 2 0 0 1-2-2V4z'/%3E%3Cpath d='M17 8h2a1 1 0 0 1 1 1v9a2 2 0 0 1-2 2'/%3E%3Cpath d='M7.5 8h6M7.5 12h6M7.5 16h4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h13v15a2 2 0 0 0 2 2H6a2 2 0 0 1-2-2V4z'/%3E%3Cpath d='M17 8h2a1 1 0 0 1 1 1v9a2 2 0 0 1-2 2'/%3E%3Cpath d='M7.5 8h6M7.5 12h6M7.5 16h4'/%3E%3C/svg%3E"); }
.apx-ico-news { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 4h15v14a2 2 0 0 0 2-2V8h2v8a4 4 0 0 1-4 4H5a2 2 0 0 1-2-2V4zm2 3v4h5V7H5zm7 0v2h4V7h-4zm0 4v2h4v-2h-4zM5 13v2h11v-2H5zm0 4v2h11v-2H5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 4h15v14a2 2 0 0 0 2-2V8h2v8a4 4 0 0 1-4 4H5a2 2 0 0 1-2-2V4zm2 3v4h5V7H5zm7 0v2h4V7h-4zm0 4v2h4v-2h-4zM5 13v2h11v-2H5zm0 4v2h11v-2H5z'/%3E%3C/svg%3E"); }

/* ---- Tabs ---- */
.apx-tabs { display: flex; gap: .5rem; border-bottom: 1px solid var(--apx-line); margin-bottom: 1.75rem; flex-wrap: wrap; }
.apx-tab {
	display: inline-flex; align-items: center; gap: .2rem;
	padding: .85rem 1.4rem; font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .04em;
	color: var(--apx-muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px;
	transition: color .2s, border-color .2s;
}
.apx-tab:hover { color: var(--apx-white); }
.apx-tab.is-active { color: var(--apx-lime); border-bottom-color: var(--apx-lime); }
.apx-tabpanel { display: none; animation: apx-fade .3s var(--apx-ease); }
.apx-tabpanel.is-active { display: block; }
@keyframes apx-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---- Filter bar ---- */
.apx-filter { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; align-items: flex-end; margin-bottom: clamp(4rem, 9vw, 8rem); padding: 1.25rem; background: var(--apx-surface); border: 1px solid var(--apx-line); border-radius: 10px; }
/* tab intro text (events/news) */
.apx-tab-intro { margin-bottom: 1.75rem; }
.apx-tab-intro > :last-child { margin-bottom: 0; }
.apx-filter__field { display: flex; flex-direction: column; gap: .35rem; }
.apx-filter__field label { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--apx-muted); }
.apx-filter input, .apx-filter select {
	background: var(--apx-black); color: var(--apx-white); border: 1px solid var(--apx-line); border-radius: 8px;
	padding: .6rem .75rem; font-size: .95rem; font-family: inherit; color-scheme: dark; min-width: 160px;
	box-sizing: border-box; max-width: 100%;
}
/* iOS/Safari geben date-Inputs eine intrinsische Mindestbreite und ignorieren width:100%
   → native Darstellung abschalten, damit sie in die Card passen (kein Overflow). */
.apx-filter input[type="date"] { -webkit-appearance: none; appearance: none; }
.apx-filter input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.apx-filter input[type="date"]::-webkit-inner-spin-button { display: none; }
.apx-filter input:focus, .apx-filter select:focus { outline: none; border-color: var(--apx-lime); box-shadow: 0 0 0 3px rgba(222,245,5,.2); }
.apx-filter__reset { padding: .6rem 1.1rem; }

/* ---- Event / News cards ---- */
.apx-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.25rem; }
.apx-event { background: var(--apx-surface); border: 1px solid var(--apx-line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s var(--apx-ease), border-color .2s; }
.apx-event:hover { transform: translateY(-4px); border-color: rgba(222,245,5,.45); }
.apx-event__link { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.apx-event__media { aspect-ratio: 16 / 9; overflow: hidden; background: #0c0c0c; }
.apx-event__media img { width: 100%; height: 100%; object-fit: cover; }
.apx-event__body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; }
.apx-event__meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.apx-event__date { color: var(--apx-lime); }
.apx-event__loc { color: var(--apx-muted); }
.apx-event__title { font-size: 1.3rem; font-weight: 800; margin: 0; line-height: 1.2; }
.apx-event__text { margin: 0; color: var(--apx-muted); font-size: .95rem; }

/* ---- Standort cards: full-width, 2 columns (map left, info right), stacked ---- */
.apx-section--locations { padding-bottom: clamp(3.5rem, 8vw, 7rem); }
.apx-locations { display: flex; flex-direction: column; gap: 1.75rem; }
.apx-loc { background: var(--apx-surface); border: 1px solid var(--apx-line); border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.apx-loc__media { background: #0c0c0c; min-height: 320px; }
.apx-loc__media iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(20%); }
.apx-loc__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.apx-loc__body { padding: 1.9rem 2rem; display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
@media (max-width: 820px) {
	.apx-loc { grid-template-columns: 1fr; }
	/* min-height statt 0: das Karten-iframe ist absolut positioniert (aus dem Fluss),
	   daher braucht der Container auf Mobil eine definierte Höhe, sonst kollabiert er. */
	.apx-loc__media { aspect-ratio: 16 / 10; min-height: 240px; }
	.apx-loc__body { padding: 1.6rem 1.6rem 1.9rem; justify-content: flex-start; }
}
.apx-loc__title { font-size: 1.6rem; font-weight: 800; margin: 0; }
.apx-loc__desc { margin: 0; color: #DADADA; }
.apx-loc__points { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.apx-loc__points li { position: relative; padding-left: 1.9rem; color: #E4E4E4; font-size: .98rem; }
.apx-loc__points li::before { content: ""; position: absolute; left: 0; top: .15em; width: 1.15rem; height: 1.15rem; background: var(--apx-lime); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/%3E%3C/svg%3E") center/contain no-repeat; }
.apx-loc__address { margin: 0; line-height: 1.55; }
.apx-loc__note { color: var(--apx-muted); font-size: .92rem; }
.apx-loc .apx-btn { align-self: flex-start; }

@media (max-width: 900px) {
	.apx-filter { flex-direction: column; align-items: stretch; }
	.apx-filter__field { flex: 1 1 100%; min-width: 0; width: 100%; }
	.apx-filter input, .apx-filter select { min-width: 0; width: 100%; max-width: 100%; }
	.apx-filter__reset { width: 100%; }
}

/* ---- WhatsApp community block ---- */
.apx-wa { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.apx-wa__qr { display: flex; flex-direction: column; align-items: center; gap: .55rem; flex-shrink: 0; }
.apx-wa__qrcode { display: inline-block; background: #fff; padding: 12px; border-radius: 12px; box-shadow: 0 8px 28px rgba(0,0,0,.3); line-height: 0; }
.apx-wa__qrcode canvas, .apx-wa__qrcode img { width: 190px !important; height: 190px !important; display: block; }
.apx-wa__scan { font-size: .78rem; color: var(--apx-muted); text-transform: uppercase; letter-spacing: .05em; }
.apx-wa__cta { display: flex; flex-direction: column; gap: .75rem; max-width: 360px; }
.apx-btn--wa { background: #25D366; color: #fff; border-color: transparent; }
.apx-btn--wa:hover { background: #1ebe5b; color: #fff; }
.apx-wa__icon { flex-shrink: 0; }
.apx-wa__hint { margin: 0; font-size: .9rem; color: var(--apx-muted); }
/* Desktop: only the QR code. Mobile: only the direct-join button + hint. */
@media (max-width: 700px) { .apx-wa__qr { display: none; } .apx-wa__cta { max-width: none; width: 100%; } }
@media (min-width: 701px) { .apx-wa__cta { display: none; } }

/* WhatsApp card on the community page */
.apx-wa-card { background: var(--apx-surface); border: 1px solid var(--apx-line); border-radius: 16px; padding: clamp(1.75rem, 4vw, 3rem); text-align: center; }
.apx-wa-card__lead { max-width: 58ch; margin: 0 auto; color: #DADADA; }
.apx-wa-card .apx-wa { justify-content: center; margin-top: 2rem; }
.apx-wa-card .apx-wa__cta { align-items: center; text-align: center; }

/* Brandmark (APX. Padel page) */
.apx-brandmark { display: flex; justify-content: center; padding: clamp(.5rem, 2vw, 1.5rem) 0 clamp(1rem,3vw,2rem); border-bottom: 1px solid var(--apx-line); }
.apx-brandmark__img { width: auto; max-width: min(440px, 82vw); height: auto; }

/* ---- Partner cards ---- */
.apx-partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }
.apx-partner { background: var(--apx-surface); border: 1px solid var(--apx-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s var(--apx-ease), border-color .2s; }
.apx-partner:hover { transform: translateY(-4px); border-color: rgba(222,245,5,.45); }
.apx-partner__logo { background: #fff; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 1.75rem; }
.apx-partner__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.apx-partner__initial { font-family: inherit; font-weight: 800; font-size: 3rem; color: var(--apx-dark); line-height: 1; }
.apx-partner__body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.apx-partner__cat { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--apx-lime); }
.apx-partner__name { font-size: 1.35rem; font-weight: 800; margin: 0; line-height: 1.15; }
.apx-partner__text { margin: 0; color: var(--apx-muted); font-size: .95rem; }
.apx-partner__link { align-self: flex-start; margin-top: auto; padding: .65rem 1.25rem; font-size: .85rem; }

/* ---- Kontakt + Formular ---- */
.apx-contact__lead { max-width: 70ch; margin-bottom: clamp(2rem, 4vw, 3rem); color: #DADADA; }
.apx-contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 3vw, 2.25rem); align-items: stretch; }
.apx-contact__h { font-size: 1.5rem; font-weight: 800; margin: 0 0 1.4rem; }

/* Info card */
.apx-contact__info { background: var(--apx-surface); border: 1px solid var(--apx-line); border-radius: 14px; padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; }
.apx-contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.apx-contact__list li { display: flex; align-items: flex-start; gap: .9rem; }
/* Contact icon badge – matches the start-page feature icons: purple-framed rounded square, white line glyph */
.apx-contact__ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--apx-purple); background: rgba(122,45,143,.14); display: flex; align-items: center; justify-content: center; line-height: 1; }
.apx-contact__ico i { width: 21px; height: 21px; background-color: #fff; }
.apx-i-pin   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5.5-8 11.5-8 11.5S4 15.5 4 10a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='2.8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5.5-8 11.5-8 11.5S4 15.5 4 10a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='2.8'/%3E%3C/svg%3E"); }
.apx-i-mail  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.5 7 8.5 6 8.5-6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.5 7 8.5 6 8.5-6'/%3E%3C/svg%3E"); }
.apx-i-phone { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h3.4l1.6 4-2 1.5a12 12 0 0 0 5 5l1.5-2 4 1.6V19a1 1 0 0 1-1 1A16 16 0 0 1 4 5a1 1 0 0 1 1-1z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h3.4l1.6 4-2 1.5a12 12 0 0 0 5 5l1.5-2 4 1.6V19a1 1 0 0 1-1 1A16 16 0 0 1 4 5a1 1 0 0 1 1-1z'/%3E%3C/svg%3E"); }
.apx-i-clock { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5l3.2 2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5l3.2 2'/%3E%3C/svg%3E"); }
.apx-contact__list li > span:last-child { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.apx-contact__label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--apx-lime); }
.apx-contact__val { color: #E4E4E4; }
.apx-contact__list a { color: var(--apx-white); word-break: break-word; }
.apx-contact__list a:hover { color: var(--apx-lime); text-decoration: none; }
.apx-contact__actions { margin-top: 1.5rem; }
.apx-contact__actions .apx-btn { width: 100%; }
.apx-contact__social { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }
.apx-contact__map { margin-top: 1.5rem; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: #0c0c0c; flex: 1; min-height: 220px; }
.apx-contact__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(20%); }
/* Complianz ersetzt die Karten-iframes durch eine Placeholder-/cmplz-Variante mit
   eigener (zu kleiner) Höhe. Prozent-Höhe greift ohne definierte Elternhöhe nicht →
   Container relativ positionieren und iframe/Placeholder absolut den Container füllen lassen. */
.apx-loc__media, .apx-contact__map { position: relative; }
.apx-loc__media iframe, .apx-contact__map iframe,
.apx-loc__media .cmplz-placeholder-element, .apx-contact__map .cmplz-placeholder-element {
	position: absolute !important; inset: 0 !important;
	width: 100% !important; height: 100% !important; max-width: none !important;
}
.apx-loc__media .cmplz-blocked-content-notice,
.apx-contact__map .cmplz-blocked-content-notice { max-width: 100%; }
.apx-contact__formlead { margin: -0.8rem 0 1.4rem; color: var(--apx-muted); }

.apx-contact__form-wrap { background: var(--apx-surface); border: 1px solid var(--apx-line); border-radius: 14px; padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; }
.apx-form { display: grid; gap: 1.1rem; }
.apx-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.apx-form__row { display: flex; flex-direction: column; gap: .4rem; }
.apx-form label { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #D6D6D6; }
.apx-form input, .apx-form textarea {
	background: var(--apx-black); color: var(--apx-white); border: 1px solid var(--apx-line); border-radius: 8px;
	padding: .8rem .9rem; font-family: inherit; font-size: 1rem; width: 100%;
}
.apx-form input:focus, .apx-form textarea:focus { outline: none; border-color: var(--apx-lime); box-shadow: 0 0 0 3px rgba(222,245,5,.2); }
.apx-form textarea { resize: vertical; min-height: 140px; }
.apx-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apx-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .25rem; }
.apx-form__actions .apx-btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.apx-form__status { margin: 0; font-size: .95rem; font-weight: 600; }
.apx-form__status.is-success { color: var(--apx-lime); }
.apx-form__status.is-error { color: #ff6b6b; }
@media (max-width: 820px) { .apx-contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .apx-form__grid { grid-template-columns: 1fr; } }

/* ---- Events timeline (Zeitstrahl, newest on top) ---- */
.apx-timeline { position: relative; max-width: 820px; margin-inline: auto; }
.apx-tl { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 1rem; padding-bottom: 1.75rem; }
.apx-tl:last-child { padding-bottom: 0; }
.apx-tl__rail { position: relative; display: flex; justify-content: center; }
.apx-tl__rail::before { content: ""; position: absolute; top: 6px; bottom: -1.75rem; left: 50%; width: 2px; transform: translateX(-50%); background: var(--apx-line); }
.apx-tl:last-child .apx-tl__rail::before { display: none; }
.apx-tl__dot { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: var(--apx-lime); margin-top: 4px; box-shadow: 0 0 0 4px rgba(222,245,5,.15); }
.apx-tl__card { background: var(--apx-surface); border: 1px solid var(--apx-line); border-radius: 12px; padding: 1.25rem 1.5rem 1.4rem; transition: border-color .2s, transform .2s var(--apx-ease); }
.apx-tl__card:hover { border-color: rgba(222,245,5,.45); transform: translateX(3px); }
.apx-tl__meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; margin-bottom: .45rem; }
.apx-tl__date { color: var(--apx-lime); }
.apx-tl__loc { color: var(--apx-muted); }
.apx-tl__title { font-size: 1.3rem; font-weight: 800; margin: 0 0 .4rem; line-height: 1.2; }
.apx-tl__text { margin: 0; color: var(--apx-muted); font-size: .95rem; }
.apx-tl__media { margin-top: 1rem; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; }
.apx-tl__media img { width: 100%; height: 100%; object-fit: cover; }
.apx-tl__btn { display: flex; width: 100%; margin-top: 1.1rem; }
@media (max-width: 560px) { .apx-tl { grid-template-columns: 26px 1fr; gap: .65rem; } .apx-tl__card { padding: 1.1rem 1.1rem 1.25rem; } }

/* Timeline month/year headings */
.apx-tl--month { padding-bottom: 1rem; align-items: center; }
.apx-tl--month .apx-tl__dot--month { width: 20px; height: 20px; margin-top: 0; background: var(--apx-lime); box-shadow: 0 0 0 5px rgba(222,245,5,.18); }
.apx-tl__monthlabel { font-family: inherit; font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--apx-lime); line-height: 1; }

/* ---- News single (detail) + load-more ---- */
.apx-single__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .7rem; margin: .9rem 0 0; color: var(--apx-muted); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; }
.apx-single__sep { opacity: .6; }
.apx-single__media { margin: 0 0 2rem; border-radius: 12px; overflow: hidden; }
.apx-single__media img { width: 100%; height: auto; display: block; }
.apx-single__content { font-size: 1.05rem; }
.apx-single__cats { margin-top: 2rem; color: var(--apx-muted); font-size: .95rem; }
.apx-single__catlabel { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; color: var(--apx-lime); margin-right: .25rem; }
.apx-single__back { margin-top: 2.5rem; }
.apx-loadmore { display: flex; justify-content: center; margin-top: 2.25rem; }

/* ============================================================= *
 *  Complianz cookie banner – APX brand styling
 *  (applies once the banner is enabled via the Complianz wizard)
 * ============================================================= */
#cmplz-cookiebanner-container .cmplz-cookiebanner {
	background: #181818 !important;
	color: #EDEDED !important;
	border: 1px solid #2E2E2E !important;
	border-top: 3px solid var(--apx-lime) !important;
	border-radius: 14px !important;
	box-shadow: 0 24px 70px rgba(0,0,0,.55) !important;
	font-family: "League Spartan", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-title {
	color: #fff !important; font-weight: 800 !important; text-transform: uppercase !important; letter-spacing: -.01em !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category-title,
#cmplz-cookiebanner-container .cmplz-cookiebanner p { color: #C9C9C9 !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner a,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-links a { color: var(--apx-lime) !important; text-decoration: underline; text-underline-offset: 3px; }

/* Buttons – equal prominence (accept = lime, deny = bright outline; same size) */
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn {
	border-radius: 8px !important; font-weight: 800 !important; text-transform: uppercase !important;
	letter-spacing: .03em !important; padding: .8em 1.4em !important; border: 2px solid transparent !important;
	transition: transform .15s, background .15s, color .15s, border-color .15s !important; opacity: 1 !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-accept {
	background: var(--apx-lime) !important; color: #181818 !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover { background: #fff !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-deny {
	background: transparent !important; color: #fff !important; border-color: rgba(255,255,255,.55) !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-deny:hover { border-color: var(--apx-lime) !important; color: var(--apx-lime) !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences {
	background: #2A2A2A !important; color: #fff !important; border-color: #2E2E2E !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn:hover { transform: translateY(-1px); }

/* Category toggles → lime when active */
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category .cmplz-toggle,
#cmplz-cookiebanner-container .cmplz-cookiebanner input:checked + .cmplz-slider,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-toggle.cmplz-active { accent-color: var(--apx-lime) !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category { border-color: #2E2E2E !important; }

/* Manage-consent (revoke) floating tab */
.cmplz-manage-consent .cmplz-btn,
#cmplz-manage-consent.cmplz-manage-consent {
	background: #181818 !important; color: var(--apx-lime) !important; border: 1px solid var(--apx-lime) !important;
	border-radius: 8px 8px 0 0 !important; font-weight: 700 !important;
}

/* Blocked-content placeholder (Google Maps / Playtomic until consent) */
.cmplz-blocked-content-container {
	background: linear-gradient(135deg,#181818,#0E0E0E) !important;
	border: 1px solid #2E2E2E !important; border-radius: 12px !important;
	color: #EDEDED !important; font-family: "League Spartan", system-ui, sans-serif !important;
}
.cmplz-blocked-content-container .cmplz-blocked-content-notice {
	background: rgba(24,24,24,.85) !important; color: #EDEDED !important; border-radius: 10px !important;
}
.cmplz-blocked-content-container .cmplz-blocked-content-notice .cmplz-accept-service,
.cmplz-blocked-content-container .cmplz-accept-service {
	background: var(--apx-lime) !important; color: #181818 !important; border: 0 !important;
	border-radius: 8px !important; font-weight: 800 !important; text-transform: uppercase !important; padding: .6em 1.1em !important;
}
.cmplz-blocked-content-container a { color: var(--apx-lime) !important; }
