/*
Theme Name: EmployerKit Child
Description: Child theme of EmployerKit - Netzwerktreffen 2026
Template: employerkit
Version: 1.0.0
Author: Power People Group
Text Domain: employerkit-child
*/

/* ==========================================================================
   Transparent Header on Front Page
   ========================================================================== */

body.home .header {
	position: absolute;
	width: 100%;
	background: transparent;
	border-bottom: none;
}

/* Logo - white on dark hero */
body.home .header__logo,
body.home .header__logo a,
body.home .header__logo svg,
body.home .header__logo img {
	color: #fff;
	filter: brightness(0) invert(1);
}

/* Navigation links - white */
body.home .header__navigation a,
body.home .header__menu a {
	color: #fff;
}

body.home .header__navigation a:hover,
body.home .header__menu a:hover {
	color: #8faad9;
}

/* CTA Button - outlined white on transparent header */
body.home .header__cta {
	background: transparent;
	color: #fff;
	border-color: #fff;
}

body.home .header__cta:hover {
	background: #fff;
	color: #1f2431;
	border-color: #fff;
}

/* Mobile hamburger - white */
body.home .header__mobile-toggle span {
	background-color: #fff;
}

/* ==========================================================================
   Bigger Logo
   ========================================================================== */

.header__logo img,
.header__logo-image,
.custom-logo {
	height: calc(var(--ek-header-height, 150px) - 20px) !important;
	max-height: none !important;
	width: auto;
}

/* Hide topbar on front page */
body.home .topbar {
	display: none;
}

/* ==========================================================================
   Typography - Bigger, Bolder, More Impact
   ========================================================================== */

/* Headings - MASSIVE */
h1, .h1 {
	font-size: clamp(4rem, 10vw, 8rem);
	font-weight: 800;
	line-height: 1.0;
	letter-spacing: -0.035em;
}

h2, .h2,
.entry-content h2 {
	font-size: clamp(3rem, 7vw, 5.5rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.03em;
}

h3, .h3,
.entry-content h3 {
	font-size: clamp(2rem, 5vw, 3.75rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.025em;
}

h4, .h4,
.entry-content h4 {
	font-size: clamp(1.5rem, 3.5vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

/* Body text - größer, mehr Luft */
body {
	font-size: 1.0625rem;
	line-height: 1.8;
}

.entry-content,
.entry-content p {
	font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
	line-height: 1.85;
}

/* ==========================================================================
   Spacing - Mehr Luft, mehr Raum, mehr Wow
   ========================================================================== */

/* Sections - viel mehr vertikaler Platz */
.entry-content h2 {
	margin-top: 5rem;
	margin-bottom: 1.75rem;
}

.entry-content h3 {
	margin-top: 3.5rem;
	margin-bottom: 1.25rem;
}

.entry-content h4 {
	margin-top: 2.5rem;
	margin-bottom: 1rem;
}

.entry-content p {
	margin-bottom: 1.75rem;
}

/* Container zentriert */
.entry-content {
	margin-left: auto;
	margin-right: auto;
}

/* ==========================================================================
   Responsive - Mobile bleibt lesbar
   ========================================================================== */

@media (max-width: 768px) {
	body {
		font-size: 1rem;
	}

	.entry-content h2 {
		margin-top: 3.5rem;
	}

	.entry-content h3 {
		margin-top: 2.5rem;
	}
}

/* ==========================================================================
   Fullscreen Navigation Overlay
   Replaces parent slide-in panel + desktop grid with a single
   fullscreen overlay on all viewports.
   ========================================================================== */

/* --- Always show hamburger (override desktop hide) --- */
.header__mobile-toggle {
	display: flex !important;
}

/* --- Hide desktop CTA in header (lives inside overlay now) --- */
.header__cta--desktop {
	display: none !important;
}

/* --- Navigation: fullscreen overlay on all viewports --- */
.header__navigation {
	position: fixed !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100vh !important;
	max-width: none !important;
	background: rgba(31, 36, 49, 0.92) !important;
	-webkit-backdrop-filter: blur(20px) !important;
	backdrop-filter: blur(20px) !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	display: flex !important;
	flex-direction: column !important;
	opacity: 0 !important;
	visibility: hidden !important;
	transition: opacity 0.3s ease, visibility 0.3s ease !important;
	overflow-y: auto !important;
	z-index: 1100 !important;
}

.header__navigation--active {
	opacity: 1 !important;
	visibility: visible !important;
	right: 0 !important;
}

/* --- Navigation content area — vertically + horizontally centered --- */
.header__navigation-content {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: calc(var(--ek-header-height, 80px) + 2rem) 1.5rem 2rem !important;
	max-height: none !important;
	min-height: 100vh;
}

/* --- Menu list: vertical, centered, big & bold --- */
.header__menu {
	display: inline-flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 0 !important;
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center !important;
}

.header__menu .menu-item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
	text-align: center !important;
	opacity: 0;
	transform: translateY(30px);
}

.header__menu .menu-item:last-child {
	border-bottom: none !important;
}

.header__menu .menu-item a {
	font-family: var(--ppg-font-heading, 'Plus Jakarta Sans', system-ui, sans-serif);
	font-size: clamp(2rem, 5vw, 3.5rem) !important;
	font-weight: 800 !important;
	color: #fff !important;
	padding: 1rem 0 !important;
	letter-spacing: -0.02em;
	text-decoration: none;
	display: block !important;
	border-bottom: none !important;
	text-align: center !important;
	text-transform: uppercase !important;
	transition: color 0.3s ease, transform 0.3s ease !important;
}

.header__menu .menu-item a:hover,
.header__menu .menu-item a:focus {
	color: #8faad9 !important;
	transform: translateX(0.5rem);
}

/* --- Hide submenus --- */
.header__menu .sub-menu {
	display: none !important;
}

.header__menu .menu-item-has-children > a::after {
	display: none !important;
}

/* --- Navigation footer (CTA inside overlay) --- */
.header__navigation-footer {
	display: block !important;
	padding: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
	background: transparent !important;
}

.header__navigation-footer .header__cta--mobile {
	display: flex !important;
	justify-content: flex-start;
}

.header__navigation-footer .header__cta-button--mobile {
	background: transparent;
	color: #fff;
	border: 2px solid #fff;
	border-radius: var(--ppg-radius-lg, 0.75rem);
	font-weight: 600;
	padding: 1rem 2.5rem;
	transition: all 0.3s ease;
}

.header__navigation-footer .header__cta-button--mobile:hover {
	background: #fff;
	color: #1f2431;
	border-color: #fff;
}

/* --- Hide background overlay (we use fullscreen now) --- */
.header__mobile-overlay {
	display: none !important;
}

/* --- Hamburger lines white when overlay open --- */
.header__mobile-toggle[aria-expanded="true"] .header__mobile-toggle-line {
	background-color: #fff !important;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
	.header__menu .menu-item {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* ==========================================================================
   Custom Footer - Netzwerktreffen
   Replaces parent EmployerKit footer with minimal event footer.
   ========================================================================== */

.nwt-footer {
	background: #1f2431;
	color: rgba(255, 255, 255, 0.6);
	padding: 4rem 1.5rem 2rem;
	text-align: center;
}

.nwt-footer__inner {
	max-width: 56.25rem;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.5rem;
}

/* Logo */
.nwt-footer__logo {
	display: inline-block;
}

.nwt-footer__logo img {
	height: 6rem;
	width: auto;
}

/* Menu */
.nwt-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem 2rem;
}

.nwt-footer__menu li a {
	font-family: var(--ppg-font-heading, 'Plus Jakarta Sans', system-ui, sans-serif);
	font-size: 0.875rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	transition: color 0.3s ease;
}

.nwt-footer__menu li a:hover,
.nwt-footer__menu li a:focus {
	color: #fff;
}

/* Copyright */
.nwt-footer__copy {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.35);
	margin: 0;
}

/* Remove bottom padding on subpages so dark CTA meets dark footer seamlessly */
.site-main:not(.front-page .site-main):not(.home .site-main) {
	padding-bottom: 0 !important;
}

/* Hide parent footer if it somehow leaks through */
.footer {
	display: none !important;
}

@media (max-width: 48rem) {
	.nwt-footer {
		padding: 3rem 1.5rem 1.5rem;
	}

	.nwt-footer__inner {
		gap: 2rem;
	}

	.nwt-footer__menu {
		flex-direction: column;
		gap: 1rem;
	}
}
