/*
Theme Name:   Maniac Knowshop
Theme URI:    https://maniac-knowshop.de
Description:  Maniac Knowshop – Brand Child Theme
Author:       Maniac Knowshop
Template:     extendable
Version:      1.0.4
Text Domain:  maniac-knowshop
*/

/* ============================================================
   MANIAC KNOWSHOP – Brand Styles
   Zuletzt aktualisiert: 2026-03-31
   ============================================================ */

html { overflow-x: hidden; }

/* --- Lokale Fonts (kein Google-Aufruf) --- */
@font-face {
	font-family: 'Bebas Neue';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/bebas-neue-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Bebas Neue';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/bebas-neue-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 300 600;
	font-display: swap;
	src: url('assets/fonts/montserrat-normal-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 300 600;
	font-display: swap;
	src: url('assets/fonts/montserrat-normal-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Montserrat';
	font-style: italic;
	font-weight: 300;
	font-display: swap;
	src: url('assets/fonts/montserrat-italic-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Montserrat';
	font-style: italic;
	font-weight: 300;
	font-display: swap;
	src: url('assets/fonts/montserrat-italic-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- CSS-Variablen --- */
:root {
	--mk-bg:         #100e0a;
	--mk-dark:       #372e23;
	--mk-mid:        #5b4c39;
	--mk-warm:       #796853;
	--mk-accent:     #3d9463;
	--mk-text:       #d6d4cb;
	--mk-header-bg:  rgba(16, 14, 10, 0.92);
	--mk-headline: #ffffff;
	--mk-muted:    #90816e;
	scroll-behavior: smooth;
}

/* --- Globales Dark Theme --- */
body {
	background-color: var(--mk-bg) !important;
	color: var(--mk-text) !important;
}

/* --- Grain Overlay --- */
body::before {
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 9999;
	opacity: 0.04;
	will-change: transform;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: 200px;
}

/* --- Typografie --- */
h1, h2, h3, h4, h5, h6,
.wp-block-heading {
	font-family: 'Bebas Neue', sans-serif !important;
	font-weight: 400 !important;
	letter-spacing: 0.03em;
	color: var(--mk-headline) !important;
}

.hl, h1, h2, h3 {
	text-wrap: balance;
}

p, li, label, input, textarea, select,
.wp-block-paragraph, nav a, .wp-block-navigation a {
	font-family: 'Montserrat', sans-serif !important;
}

/* --- Label / Oberkategorie --- */
.mk-label {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--mk-accent);
	display: block;
	margin-bottom: 0.75rem;
}

/* --- Sektionen --- */
.mk-section {
	padding-top:    clamp(4rem, 10vw, 7rem);
	padding-bottom: clamp(4rem, 10vw, 7rem);
	/* WordPress adds margin-block-start between blocks — remove for flush layout */
	margin-block-start: 0 !important;
	margin-block-end:   0 !important;
	margin-top:         0 !important;
}

.mk-section-inner {
	max-width: 1100px;
	margin-left:  auto;
	margin-right: auto;
	padding-left:  max(1.5rem, 5vw);
	padding-right: max(1.5rem, 5vw);
}

/* --- Hero --- */
.mk-hero {
	position: relative;
	overflow: hidden;
	min-height: 100svh;
	display: flex;
	align-items: center;
	background: #100e0a;
	background-color: var(--mk-bg);
	padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
	justify-content: center;
}

/* Hero Video */
.mk-hero-video {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	z-index: 0;
	-webkit-mask-image: radial-gradient(
		ellipse 85% 85% at 50% 50%,
		black 55%,
		rgba(0,0,0,0.6) 75%,
		transparent 100%
	);
	mask-image: radial-gradient(
		ellipse 85% 85% at 50% 50%,
		black 55%,
		rgba(0,0,0,0.6) 75%,
		transparent 100%
	);
}

.mk-hero-blur-ring {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: radial-gradient(
		ellipse 80% 80% at 50% 50%,
		transparent 50%,
		rgba(16, 14, 10, 0.45) 78%,
		rgba(16, 14, 10, 0.85) 100%
	);
}

.mk-hero-overlay {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: linear-gradient(160deg, rgba(26,21,16,0.72) 0%, rgba(16,14,10,0.65) 60%, rgba(13,26,17,0.75) 100%);
	z-index: 1;
}

.mk-hero-content {
	position: relative;
	z-index: 2;
	max-width: 1100px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: max(1.5rem, 5vw);
	padding-right: max(1.5rem, 5vw);
	box-sizing: border-box;
}


.mk-hero h1 {
	font-family: 'Bebas Neue', sans-serif !important;
	font-size: clamp(3.5rem, 10vw, 8rem);
	line-height: 1;
	color: var(--mk-headline) !important;
	margin: 0.5rem 0 1.5rem;
	max-width: 12ch;
	text-shadow:
		0 2px 12px rgba(0, 0, 0, 0.85),
		0 4px 32px rgba(0, 0, 0, 0.60);
}

.mk-hero p {
	color: var(--mk-text);
	font-size: 1.05rem;
	line-height: 1.75;
	max-width: 520px;
	margin-bottom: 2.5rem;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75);
}

/* --- Hero Cascade Animation --- */
@keyframes mk-fade-up {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: translateY(0); }
}

.mk-hero-content > * {
	will-change: opacity, transform;
}

.mk-hero-content > .mk-label {
	animation: mk-fade-up 2.1s cubic-bezier(0.4, 0, 0.2, 1) 0.20s both;
	color: #3d9463 !important;
	text-shadow:
		0 1px 8px rgba(0,0,0,1),
		0 0 20px rgba(0,0,0,0.95),
		0 0 40px rgba(0,0,0,0.8);
}
.mk-hero-content > h1 {
	animation: mk-fade-up 2.1s cubic-bezier(0.4, 0, 0.2, 1) 0.45s both;
}
.mk-hero-content > p {
	animation: mk-fade-up 2.1s cubic-bezier(0.4, 0, 0.2, 1) 0.70s both;
}
.mk-hero-content > .mk-hero-offers {
	animation: mk-fade-up 2.1s cubic-bezier(0.4, 0, 0.2, 1) 0.90s both;
}
.mk-hero-content > div {
	animation: mk-fade-up 2.1s cubic-bezier(0.4, 0, 0.2, 1) 1.05s both;
}

/* --- Photo Divider (3 Bilder nebeneinander) --- */
.mk-photo-divider {
	display: flex;
	width: auto;
	overflow: hidden;
	height: clamp(200px, 28vw, 380px);
	gap: 0;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
	margin-top: 0 !important;
}

.mk-photo-divider picture {
	flex: 1;
	min-width: 0;
	display: block;
	overflow: hidden;
}

.mk-photo-divider img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	filter: brightness(0.88) saturate(0.9);
	transition: filter 0.4s ease;
}

.mk-photo-divider img:hover {
	filter: brightness(1) saturate(1);
}

/* --- Logo + Akronym Divider --- */
.mk-logo-divider {
	position: relative;
	width: auto;
	padding: clamp(2.5rem, 5vw, 4rem) 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(0.75rem, 1.5vw, 1rem);
	background: #100e0a !important;
	overflow: hidden;
	/* Remove WordPress block gap above/below */
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
	margin-top: 0 !important;
}

.mk-logo-divider::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 55% 120% at 50% -10%, rgba(45,122,79,0.12) 0%, transparent 60%),
		radial-gradient(ellipse 40% 80% at 5% 110%,  rgba(55,46,35,0.3)   0%, transparent 65%),
		radial-gradient(ellipse 30% 60% at 95% 50%,  rgba(30,25,18,0.45)  0%, transparent 70%);
	pointer-events: none;
}

.mk-logo-divider::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.035;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: 200px;
}

.mk-logo-divider > * { position: relative; z-index: 1; }

.mk-logo-divider img {
	height: clamp(36px, 4.5vw, 51px);
	width: auto;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.mk-logo-divider .mk-ak-line {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(0.3rem, 0.8vw, 0.7rem);
	justify-content: center;
}

.mk-logo-divider .mk-ak-item {
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.mk-logo-divider.is-visible img,
.mk-logo-divider.is-visible .mk-ak-item {
	opacity: 1;
	transform: translateY(0);
}

.mk-logo-divider.is-visible img                       { transition-delay: 0s; }
.mk-logo-divider.is-visible .mk-ak-item:nth-child(1)  { transition-delay: 0.15s; }
.mk-logo-divider.is-visible .mk-ak-item:nth-child(2)  { transition-delay: 0.25s; }
.mk-logo-divider.is-visible .mk-ak-item:nth-child(3)  { transition-delay: 0.35s; }
.mk-logo-divider.is-visible .mk-ak-item:nth-child(4)  { transition-delay: 0.45s; }
.mk-logo-divider.is-visible .mk-ak-item:nth-child(5)  { transition-delay: 0.55s; }
.mk-logo-divider.is-visible .mk-ak-item:nth-child(6)  { transition-delay: 0.65s; }

/* --- Hero CTA Shimmer Buttons --- */
.mk-hero-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
}

.mk-hero-cta-btn {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85em 2.2em;
	background: #2d7a4f;
	color: #fff !important;
	font-family: 'Bebas Neue', sans-serif;
	font-size: 1rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none !important;
	border-radius: 2px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mk-hero-cta-btn:hover {
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(45, 122, 79, 0.45);
}

.mk-hero-cta-btn::before {
	content: '';
	position: absolute;
	top: 8%;
	left: 0;
	width: 55%;
	height: 84%;
	background: radial-gradient(ellipse at center, rgba(255,255,255,0.24) 0%, transparent 68%);
	transform: translateX(-120%);
	animation: mk-cta-shimmer 5s ease-in-out infinite;
	pointer-events: none;
}

.mk-hero-cta-btn:nth-child(2)::before { animation-delay: -1.67s; }
.mk-hero-cta-btn:nth-child(3)::before { animation-delay: -3.33s; }

@keyframes mk-cta-shimmer {
	0%   { transform: translateX(-120%); }
	50%  { transform: translateX(220%); }
	100% { transform: translateX(-120%); }
}

/* --- Konzept Offering Grid (5 cards) --- */
.mk-konzept-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0;
	margin-top: 2.5rem;
	counter-reset: profile-card;
	border-top: 1px solid var(--mk-dark);
	border-left: 1px solid var(--mk-dark);
}
@media (max-width: 900px) { .mk-konzept-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .mk-konzept-grid { grid-template-columns: 1fr; } }

/* --- CTA Buttons --- */
.mk-btn-primary {
	display: inline-block;
	background-color: var(--mk-accent);
	color: #fff !important;
	font-family: 'Montserrat', sans-serif !important;
	font-weight: 600;
	font-size: 0.82rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 0.9em 2.4em;
	border-radius: 2px;
	text-decoration: none !important;
	transition: background-color 0.2s, transform 0.15s;
	border: none;
	cursor: pointer;
}

.mk-btn-primary:hover {
	background-color: #236040;
	transform: translateY(-2px);
	color: #fff !important;
}

.mk-btn-primary:active {
	transform: translateY(0);
	box-shadow: none;
}

.mk-btn-ghost {
	display: inline-block;
	background-color: var(--mk-accent);
	color: #fff !important;
	font-family: 'Montserrat', sans-serif !important;
	font-weight: 500;
	font-size: 0.82rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.85em 2.2em;
	border-radius: 2px;
	border: 1px solid var(--mk-mid);
	text-decoration: none !important;
	transition: border-color 0.2s, color 0.2s;
}

.mk-btn-ghost:hover {
	background-color: #236040;
	border-color: #236040;
	color: #fff !important;
}

/* --- Focus Rings --- */
.mk-btn-primary:focus-visible,
.mk-btn-secondary:focus-visible,
.mk-nav a:focus-visible {
	outline: 2px solid var(--mk-accent);
	outline-offset: 3px;
}

/* --- Akronym-Block --- */
.mk-acronym-row {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	line-height: 1.15;
}

.mk-acronym-row .letter {
	font-family: 'Bebas Neue', sans-serif;
	font-size: clamp(1.8rem, 4vw, 3.2rem);
	color: var(--mk-accent);
}

.mk-acronym-row .word {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(0.75rem, 1.5vw, 1rem);
	color: var(--mk-text);
	letter-spacing: 0.05em;
}

/* --- Preis-Karten --- */
.mk-card {
	background-color: var(--mk-dark);
	border: 1px solid var(--mk-mid);
	border-radius: 4px;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	display: flex;
	flex-direction: column;
}

.mk-card .mk-btn-primary,
.mk-card .mk-btn-ghost {
	display: block;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
}

.mk-card-label {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--mk-accent);
	margin-bottom: 0.5rem;
}

.mk-price {
	font-family: 'Bebas Neue', sans-serif;
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	color: var(--mk-accent);
	line-height: 1;
	margin: 0.5rem 0;
}

.mk-price-unit {
	font-family: 'Montserrat', sans-serif;
	font-size: 0.8rem;
	color: var(--mk-muted);
	display: block;
	margin-top: -0.25rem;
	margin-bottom: 1rem;
}

/* --- Feature-Tags --- */
.mk-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 1rem 0;
}

.mk-tag {
	display: inline-block;
	padding: 0.3em 0.85em;
	background-color: rgba(45, 122, 79, 0.12);
	border: 1px solid rgba(45, 122, 79, 0.3);
	border-radius: 2px;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 0.72rem;
	color: var(--mk-text);
	letter-spacing: 0.04em;
}

/* --- Grid Layout --- */
.mk-grid-2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.mk-grid-2 > * {
	min-width: 0;
}

.mk-grid-3 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: clamp(1.5rem, 3vw, 2rem);
}

/* --- Quote --- */
.mk-quote {
	border-left: 3px solid var(--mk-accent);
	padding-left: 1.5rem;
	color: var(--mk-muted);
	font-style: italic;
	font-size: inherit;
	line-height: 1.8;
	margin: 1.5rem 0;
}

/* --- Social Links --- */
.mk-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.mk-social-link {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.65em 1.4em;
	border: 1px solid var(--mk-accent);
	background-color: var(--mk-accent);
	border-radius: 2px;
	color: #fff !important;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-decoration: none !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s, border-color 0.2s;
}

.mk-social-link:hover {
	background-color: #236040;
	border-color: #236040;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(45, 122, 79, 0.45);
}

.mk-social-link::after {
	content: '';
	position: absolute;
	top: 8%;
	left: 0;
	width: 55%;
	height: 84%;
	background: radial-gradient(ellipse at center, rgba(255,255,255,0.24) 0%, transparent 68%);
	transform: translateX(-120%);
	animation: mk-cta-shimmer 5s ease-in-out infinite;
	pointer-events: none;
}

.mk-social-link:nth-child(2)::after { animation-delay: -1.0s; }
.mk-social-link:nth-child(3)::after { animation-delay: -2.0s; }
.mk-social-link:nth-child(4)::after { animation-delay: -3.0s; }
.mk-social-link:nth-child(5)::after { animation-delay: -4.0s; }

.mk-social-link::before {
	content: '';
	display: inline-block;
	width: 16px;
	height: 16px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0.7;
	flex-shrink: 0;
}
.mk-social-link[href*="wa.me"]::before {
	background-image: url('/wp-content/themes/maniac-knowshop/assets/icon-whatsapp.svg');
}
.mk-social-link[href*="instagram"]::before {
	background-image: url('/wp-content/themes/maniac-knowshop/assets/icon-instagram.svg');
}
.mk-social-link[href*="linkedin"]::before {
	background-image: url('/wp-content/themes/maniac-knowshop/assets/icon-linkedin.svg');
}
.mk-social-link[href^="mailto:"]::before {
	background-image: url('/wp-content/themes/maniac-knowshop/assets/icon-email.svg');
}
.mk-social-link[href^="tel:"]::before {
	background-image: url('/wp-content/themes/maniac-knowshop/assets/icon-phone.svg');
}
.mk-social-link:hover::before {
	opacity: 1;
}

/* --- Kontaktformular Ausrichtung --- */
.wpcf7-form,
.wpcf7-form p {
	width: 100%;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
	width: 100%;
	box-sizing: border-box;
}

/* --- Kontaktformular Dark Override --- */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
	background-color: var(--mk-dark) !important;
	border: 1px solid var(--mk-mid) !important;
	color: var(--mk-text) !important;
	border-radius: 2px !important;
	padding: 0.8rem 1rem !important;
	width: 100%;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 0.9rem;
	transition: border-color 0.2s;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
	border-color: var(--mk-accent) !important;
	outline: none;
}

.wpcf7-form .optional {
	display: none !important;
}

.wpcf7-form label {
	color: var(--mk-muted) !important;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.wpcf7-form input[type="submit"] {
	background-color: var(--mk-accent) !important;
	color: #fff !important;
	border: none !important;
	padding: 0.9em 2.5em !important;
	font-family: 'Montserrat', sans-serif !important;
	font-weight: 600;
	font-size: 0.82rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-radius: 2px !important;
	cursor: pointer;
	transition: background-color 0.2s;
}

.wpcf7-form input[type="submit"]:hover {
	background-color: #236040 !important;
}

/* --- Navigation dunkel --- */
.wp-block-navigation,
.wp-block-navigation a,
.wp-block-navigation a:hover,
.wp-block-navigation .wp-block-navigation-item__content {
	color: var(--mk-text) !important;
	font-family: 'Montserrat', sans-serif !important;
}

/* --- Trennlinie --- */
.mk-divider {
	border: none;
	border-top: 1px solid var(--mk-dark);
	margin: 0;
}

/* --- Highlight-Zahl / Statistik --- */
.mk-stat {
	font-family: 'Bebas Neue', sans-serif;
	font-size: clamp(3rem, 6vw, 5rem);
	color: var(--mk-accent);
	line-height: 1;
}

/* ============================================================
   MANIAC KNOWSHOP – Header Navigation
   ============================================================ */


.mk-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: var(--mk-header-bg);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(55, 46, 35, 0.6);
}

.mk-header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 max(1.5rem, 4vw);
	height: 72px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 2rem;
}

.mk-header-logo {
	display: flex;
	align-items: center;
	text-decoration: none !important;
}

.mk-header-logo img {
	height: 36px;
	width: auto;
	display: block;
}

.mk-header-nav {
	display: flex;
	align-items: center;
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.mk-header-nav a {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--mk-text) !important;
	text-decoration: none !important;
	transition: color 0.2s;
	white-space: nowrap;
}

.mk-header-nav a:hover {
	color: var(--mk-headline) !important;
}

.mk-header-right {
	display: flex;
	align-items: stretch;
	gap: 0.75rem;
	justify-content: flex-end;
}

.mk-header-right .mk-btn-primary {
	display: flex;
	align-items: center;
}

.mk-header-right .mk-btn-primary {
	font-size: 0.75rem;
	padding: 0.7em 1.6em;
}

/* ============================================================
   SWITCHER – Pill Segmented Controls
   ============================================================ */

.mk-switcher-group {
  display: flex;
  flex-direction: row;
  align-self: stretch;
  align-items: stretch;
  gap: 3px;
}

.mk-switcher-sep {
  display: none;
}

/* Hide desktop switcher on mobile, show mobile switcher */
@media (max-width: 768px) {
  .mk-header-right .mk-switcher-group:not(.mk-switcher-group--mobile) {
    display: none;
  }
}

.mk-switcher-group--mobile {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(91, 76, 57, 0.3);
  justify-content: center;
}

.mk-mobile-nav .mk-switcher-group--mobile {
  display: flex;
}

.mk-switcher-pill {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #372e23;
  border-radius: 12px;
  padding: 2px;
  gap: 0;
}

.mk-switcher-track {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(100% - 4px);
  height: 0;
  border-radius: 10px;
  background: #3d9463;
  pointer-events: none;
  z-index: 0;
  transform: translateY(0);
  transition: transform 0.2s ease, height 0.2s ease;
  will-change: transform, height;
}

@media (prefers-reduced-motion: reduce) {
  .mk-switcher-track {
    transition: none;
  }
}

.mk-switcher-btn {
  position: relative;
  z-index: 1;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a29e8f;
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 0 0.5em;
  flex: 1;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.mk-switcher-btn svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.mk-switcher-btn:hover {
  color: #d6d4cb;
}

.mk-switcher-btn.is-active {
  color: #ffffff;
}

.mk-switcher-btn:focus-visible {
  outline: 2px solid #3d9463;
  outline-offset: 2px;
  border-radius: 100px;
}

.mk-switcher-btn:focus:not(:focus-visible) {
  outline: none;
}

/* Light schema overrides */
[data-mk-schema="highlight"] .mk-switcher-pill {
  background: #e8e2d8;
}

[data-mk-schema="highlight"] .mk-switcher-btn {
  color: #796853;
}

[data-mk-schema="highlight"] .mk-switcher-btn:hover {
  color: #372e23;
}

[data-mk-schema="highlight"] .mk-switcher-btn.is-active {
  color: #ffffff;
}

[data-mk-schema="highlight"] .mk-switcher-sep {
  background: rgba(55, 46, 35, 0.3);
}

/* Mobile nav switcher: auto height (no stretch reference) */
.mk-switcher-group--mobile {
  align-self: auto;
}
.mk-switcher-group--mobile .mk-switcher-pill {
  height: auto;
}
.mk-switcher-group--mobile .mk-switcher-btn {
  flex: 0 0 auto;
  height: 32px;
  min-width: 36px;
}

.mk-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	width: 32px;
	height: 32px;
}

.mk-nav-toggle span {
	display: block;
	width: 100%;
	height: 1.5px;
	background-color: var(--mk-text);
	transition: transform 0.25s, opacity 0.25s;
}

.mk-nav-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mk-nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.mk-nav-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mk-mobile-nav {
	display: flex;
	flex-direction: column;
	gap: 0;
	background-color: var(--mk-dark);
	border-top: 1px solid var(--mk-mid);
	padding: 1rem max(1.5rem, 4vw);
}

.mk-mobile-nav[hidden] { display: none; }

.mk-mobile-nav a {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--mk-text) !important;
	text-decoration: none !important;
	padding: 0.85rem 0;
	border-bottom: 1px solid rgba(91, 76, 57, 0.3);
	letter-spacing: 0.05em;
}

.mk-mobile-nav a:last-child {
	border-bottom: none;
	margin-top: 1rem;
	text-align: center;
}

/* ============================================================
   MANIAC KNOWSHOP – IaC Video (Sticky-Hintergrund)
   ============================================================ */

.mk-iac-video-wrap {
	position: relative;
}

.mk-iac-sticky-container {
	position: sticky;
	top: 0;
	height: 100vh;
	margin-bottom: -100vh;
	z-index: 0;
	overflow: hidden;
	background: #100e0a;
}

.mk-iac-video {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	z-index: 0;
	-webkit-mask-image: radial-gradient(
		ellipse 85% 85% at 50% 50%,
		black 55%, rgba(0,0,0,0.6) 75%, transparent 100%
	);
	mask-image: radial-gradient(
		ellipse 85% 85% at 50% 50%,
		black 55%, rgba(0,0,0,0.6) 75%, transparent 100%
	);
}

.mk-iac-blur-ring {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: radial-gradient(
		ellipse 80% 80% at 50% 50%,
		transparent 50%,
		rgba(16, 14, 10, 0.55) 78%,
		rgba(16, 14, 10, 0.92) 100%
	);
}

.mk-iac-overlay {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: linear-gradient(
		160deg,
		rgba(26,21,16,0.72) 0%,
		rgba(16,14,10,0.65) 60%,
		rgba(13,26,17,0.75) 100%
	);
	z-index: 2;
}

.mk-iac-scroll-content {
	position: relative;
	z-index: 1;
}

.mk-video-gap {
	height: 100vh;
	background: transparent;
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding-bottom: 2.5rem;
	pointer-events: none;
}

.mk-iac-scroll-hint {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	opacity: 0.55;
	pointer-events: none;
	animation: mk-bounce 2s infinite;
}

.mk-iac-scroll-hint span {
	font-family: 'Montserrat', sans-serif;
	font-size: 0.7rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #d6d4cb;
}

.mk-iac-scroll-hint svg {
	width: 20px;
	height: 20px;
	stroke: #d6d4cb;
}

@keyframes mk-bounce {
	0%, 100% { transform: translateY(0); }
	50%       { transform: translateY(6px); }
}

/* ============================================================
   MANIAC KNOWSHOP – Footer
   ============================================================ */

.mk-footer {
	background-color: rgba(13, 11, 8, 0.98);
	border-top: 1px solid rgba(55, 46, 35, 0.6);
}

.mk-footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 max(1.5rem, 4vw);
	height: 72px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 2rem;
}

.mk-footer-logo {
	display: flex;
	align-items: center;
	text-decoration: none !important;
}

.mk-footer-logo img {
	height: 36px;
	width: auto;
	display: block;
}

.mk-footer-nav {
	display: flex;
	align-items: center;
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.mk-footer-nav a {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--mk-text) !important;
	text-decoration: none !important;
	transition: color 0.2s;
	white-space: nowrap;
}

.mk-footer-nav a:hover {
	color: var(--mk-headline) !important;
}

.mk-footer-social {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 1.25rem;
}

.mk-footer-social a {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mk-muted) !important;
	text-decoration: none !important;
	transition: color 0.2s;
}

.mk-footer-social a:hover {
	color: var(--mk-accent) !important;
}

.mk-footer-bottom {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0.75rem max(1.5rem, 4vw) 1rem;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1.5rem;
	border-top: 1px solid rgba(55, 46, 35, 0.35);
}

.mk-footer-bottom p {
	font-family: 'Montserrat', sans-serif;
	font-size: 0.72rem;
	color: var(--mk-muted);
	margin: 0;
}

.mk-footer-bottom a {
	font-family: 'Montserrat', sans-serif;
	font-size: 0.68rem;
	letter-spacing: 0.06em;
	color: var(--mk-muted) !important;
	text-decoration: none !important;
}

.mk-footer-bottom a:hover {
	color: var(--mk-text) !important;
}

.mk-footer-bottom .mk-footer-acronym {
	font-size: 0.72rem;
	color: #5b4c39;
	letter-spacing: 0.15em;
}

/* --- Responsive Korrekturen --- */
@media (max-width: 768px) {
	.mk-grid-2,
	.mk-grid-3 {
		grid-template-columns: 1fr;
	}

	.mk-header-inner {
		grid-template-columns: 1fr auto;
	}

	.mk-header-nav,
	.mk-header-right .mk-btn-primary,
	.mk-header-right .mk-switcher-group {
		display: none;
	}

	.mk-nav-toggle {
		display: flex;
	}

	.mk-footer-inner {
		grid-template-columns: 1fr;
		height: auto;
		padding-top: 1.5rem;
		padding-bottom: 1.5rem;
		gap: 1.25rem;
		justify-items: center;
	}

	.mk-footer-nav {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 0.4rem 1.25rem;
		font-size: 0.7rem;
	}

	.mk-footer-social {
		justify-content: center;
		gap: 1rem;
	}

	.mk-footer-bottom {
		flex-direction: column;
		gap: 0.5rem;
		text-align: center;
	}
}

@media (min-width: 769px) {
	.mk-mobile-nav {
		display: none !important;
	}
}

/* --- Impressum: Theme-Wrapper + Seiteninhalt folgen dem Farb-Switcher --- */
.page-id-18 main.wp-block-group {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	background: var(--mk-bg) !important;
}

/* Section-Hintergrund (hardcodierter Gradient im WP-Inhalt) überschreiben */
.page-id-18 section {
	background: var(--mk-bg) !important;
}

/* Impressum & Datenschutz: Unterüberschriften in Montserrat (nicht Bebas Neue) */
.page-id-18 h2,
.page-id-122 h2 {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 0.85rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase !important;
}

/* Trennlinien folgen der Dunkel-Farbe */
.page-id-18 section div {
	border-color: var(--mk-dark) !important;
}

/* Fließtext im Highlight-Schema dunkel */
[data-mk-schema="highlight"] .page-id-18 p,
[data-mk-schema="highlight"] .page-id-18 span {
	color: var(--mk-text) !important;
}

/* --- IaC Video-Trennbereich --- */
.mk-iac-video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}
.mk-iac-video-section video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mk-iac-video-section::before,
.mk-iac-video-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 160px;
  z-index: 1;
  pointer-events: none;
}
.mk-iac-video-section::before {
  top: 0;
  background: linear-gradient(to bottom, #100e0a 0%, transparent 100%);
}
.mk-iac-video-section::after {
  bottom: 0;
  background: linear-gradient(to top, #1a1510 0%, transparent 100%);
}

/* ============================================================
   FARBSCHEMA-OVERRIDES  (data-mk-schema auf <body>)
   ============================================================ */

/* --- HIGHLIGHT: Corporate White (#ffffff als Basis) --- */
body[data-mk-schema="highlight"]:not(:has(.is-profile)),
body[data-mk-schema="highlight"]:not(:has(.is-profile)) .wp-site-blocks,
body[data-mk-schema="highlight"]:not(:has(.is-profile)) main { background-color: #ffffff !important; }
body[data-mk-schema="highlight"]:has(.is-profile),
body[data-mk-schema="highlight"]:has(.is-profile) main,
body[data-mk-schema="highlight"]:has(.is-profile) .wp-site-blocks { background-color: #100e0a !important; }

[data-mk-schema="highlight"] .mk-section:not(.is-profile)   { background-color: #ffffff !important; border-color: #e8e4dd !important; }
[data-mk-schema="highlight"] #iac,
[data-mk-schema="highlight"] #brain-break                   { background-color: #f7f5f2 !important; border-color: #e8e4dd !important; }
[data-mk-schema="highlight"] #kontakt                       { background-color: #f0ede8 !important; border-color: #e0dcd4 !important; }

[data-mk-schema="highlight"] .mk-card                       { background-color: #ffffff !important; border-color: #e8e4dd !important; }
[data-mk-schema="highlight"] .mk-card[style*="background-color:#000"] { background-color: #f7f5f2 !important; border-color: #e8e4dd !important; }

[data-mk-schema="highlight"] .mk-header                     { border-color: #e8e4dd !important; } /* background via --mk-header-bg (JS) */
[data-mk-schema="highlight"] .mk-header-nav a               { color: #100e0a !important; }
[data-mk-schema="highlight"] .mk-header-logo img            { filter: brightness(0) !important; }
[data-mk-schema="highlight"] .mk-footer-logo img            { filter: brightness(0) !important; }
[data-mk-schema="highlight"] .mk-footer                     { background-color: #f7f5f2 !important; border-color: #e8e4dd !important; }
[data-mk-schema="highlight"] .mk-footer,
[data-mk-schema="highlight"] .mk-footer p,
[data-mk-schema="highlight"] .mk-footer a                   { color: #100e0a !important; }


[data-mk-schema="highlight"] .mk-hero h1                      { color: #ffffff !important; }

[data-mk-schema="highlight"] .mk-section h2,
[data-mk-schema="highlight"] .mk-section h3                 { color: #100e0a !important; }
[data-mk-schema="highlight"] .mk-section p,
[data-mk-schema="highlight"] .mk-section li                 { color: #100e0a !important; }
[data-mk-schema="highlight"] .mk-section [style*="color:#d6d4cb"] { color: #100e0a !important; }
[data-mk-schema="highlight"] .mk-section [style*="color:#fff"],
[data-mk-schema="highlight"] .mk-section [style*="color:#ffffff"] { color: #100e0a !important; }
[data-mk-schema="highlight"] .mk-section [style*="color:#90816e"] { color: #796853 !important; }
[data-mk-schema="highlight"] .mk-tag                        { background: rgba(45,122,79,0.06) !important; color: #2d7a4f !important; border-color: rgba(45,122,79,0.18) !important; }
[data-mk-schema="highlight"] .mk-label                      { color: #3d9463 !important; border-color: rgba(61,148,99,0.25) !important; }
[data-mk-schema="background"] .mk-label                     { color: #3d9463 !important; }
[data-mk-schema="highlight"] .mk-quote                      { border-color: #2d7a4f !important; color: #100e0a !important; }
[data-mk-schema="highlight"] .mk-social-link                { color: #fff !important; }
[data-mk-schema="highlight"] .mk-social-link:hover          { background: #236040 !important; box-shadow: 0 6px 24px rgba(45,122,79,0.45) !important; }
[data-mk-schema="highlight"] .mk-btn-ghost                  { color: #100e0a !important; border-color: #100e0a !important; }
[data-mk-schema="highlight"] .mk-btn-ghost:hover            { background: #100e0a !important; color: #ffffff !important; }
[data-mk-schema="highlight"] .mk-price                      { color: #3d9463 !important; }
[data-mk-schema="highlight"] .mk-price-unit                 { color: #796853 !important; }
[data-mk-schema="highlight"] .mk-card .mk-card-label        { color: #3d9463 !important; }
[data-mk-schema="highlight"] .mk-card-label                 { color: #3d9463 !important; }

[data-mk-schema="highlight"] .wpcf7-form input[type="text"],
[data-mk-schema="highlight"] .wpcf7-form input[type="email"],
[data-mk-schema="highlight"] .wpcf7-form textarea,
[data-mk-schema="highlight"] .wpcf7-form select             { background: #ffffff !important; color: #100e0a !important; border-color: #e8e4dd !important; }

/* ── BRAND HEADER (Konzept-Sektion) ───────────────────────── */
.mk-brand-header {
	position: relative;
	background: #100e0a;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.5rem, 4vw, 2.5rem);
	margin-bottom: 2rem;
	border-radius: 8px;
	border: 1px solid #372e23;
	gap: clamp(0.75rem, 1.5vw, 1rem);
}

.mk-brand-header::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 55% 120% at 50% -10%, rgba(45,122,79,0.14) 0%, transparent 60%),
		radial-gradient(ellipse 40% 80% at 5% 110%,  rgba(55,46,35,0.35)  0%, transparent 65%),
		radial-gradient(ellipse 30% 60% at 95% 50%,  rgba(30,25,18,0.5)   0%, transparent 70%);
	pointer-events: none;
}

.mk-brand-header::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.04;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: 200px;
}

.mk-brand-header > * { position: relative; z-index: 1; }

.mk-brand-header img {
	height: clamp(24px, 3vw, 34px);
	width: auto;
}

.mk-ak-line {
	display: flex;
	align-items: baseline;
	justify-content: center;
	flex-wrap: wrap;
	gap: clamp(0.3rem, 0.8vw, 0.7rem);
}

.mk-ak-item {
	display: flex;
	align-items: baseline;
	font-family: 'Montserrat', sans-serif !important;
	font-size: clamp(0.975rem, 1.65vw, 1.275rem);
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.mk-ak-letter { color: #90816e; }
.mk-ak-rest   { color: #d6d4cb; }

/* ── END BRAND HEADER ─────────────────────────────────────── */

[data-mk-schema="background"] .wpcf7-form input[type="text"],
[data-mk-schema="background"] .wpcf7-form input[type="email"],
[data-mk-schema="background"] .wpcf7-form textarea          { background-color: #ffffff !important; color: #100e0a !important; border-color: #e8e4dd !important; }

/* ============================================================
   SKIP-TO-CONTENT LINK
   ============================================================ */

.mk-skip-link {
	position: absolute;
	top: -100%;
	left: 1rem;
	background: var(--mk-accent);
	color: #fff;
	padding: 0.4em 0.9em;
	font-size: 0.75rem;
	z-index: 10000;
	border-radius: 0 0 3px 3px;
	text-decoration: none;
	transition: top 0.2s;
}

.mk-skip-link:focus {
	top: 0;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

/* Section children start invisible and slide up */
.mk-section .mk-section-inner > * {
	opacity: 0;
	transform: translateY(32px);
	transition:
		opacity   1.1s cubic-bezier(0.4, 0, 0.2, 1),
		transform 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stagger delays: each direct child 700ms after the previous */
.mk-section.is-visible .mk-section-inner > *:nth-child(1) { transition-delay: 0s;    }
.mk-section.is-visible .mk-section-inner > *:nth-child(2) { transition-delay: 0.70s; }
.mk-section.is-visible .mk-section-inner > *:nth-child(3) { transition-delay: 1.40s; }
.mk-section.is-visible .mk-section-inner > *:nth-child(4) { transition-delay: 2.10s; }
.mk-section.is-visible .mk-section-inner > *:nth-child(n+5) { transition-delay: 2.80s; }

/* Visible state */
.mk-section.is-visible .mk-section-inner > * {
	opacity: 1;
	transform: none;
}

/* Sections already in viewport on load — no animation */
.mk-section.instant .mk-section-inner > * {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

/* ============================================================
   TAG STAGGER
   ============================================================ */

.mk-tags .mk-tag {
	opacity: 0;
	transform: scale(0.92);
	transition:
		opacity   0.6s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Social links start invisible, animate when row is fully visible */
.mk-social-links .mk-social-link {
	opacity: 0;
	transform: scale(0.92);
	transition:
		opacity   0.6s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.mk-social-links.links-visible .mk-social-link                  { opacity: 1; transform: scale(1); }
.mk-social-links.links-visible .mk-social-link:nth-child(1)     { transition-delay: 0.00s; }
.mk-social-links.links-visible .mk-social-link:nth-child(2)     { transition-delay: 0.10s; }
.mk-social-links.links-visible .mk-social-link:nth-child(3)     { transition-delay: 0.20s; }
.mk-social-links.links-visible .mk-social-link:nth-child(4)     { transition-delay: 0.30s; }
.mk-social-links.links-visible .mk-social-link:nth-child(5)     { transition-delay: 0.40s; }


/* Tags animate when their container is fully visible (JS adds .tags-visible) */
.mk-tags.tags-visible .mk-tag                  { opacity: 1; transform: scale(1); }
.mk-tags.tags-visible .mk-tag:nth-child(1)     { transition-delay: 0.00s; }
.mk-tags.tags-visible .mk-tag:nth-child(2)     { transition-delay: 0.08s; }
.mk-tags.tags-visible .mk-tag:nth-child(3)     { transition-delay: 0.16s; }
.mk-tags.tags-visible .mk-tag:nth-child(4)     { transition-delay: 0.24s; }
.mk-tags.tags-visible .mk-tag:nth-child(5)     { transition-delay: 0.32s; }
.mk-tags.tags-visible .mk-tag:nth-child(6)     { transition-delay: 0.40s; }
.mk-tags.tags-visible .mk-tag:nth-child(7)     { transition-delay: 0.48s; }
.mk-tags.tags-visible .mk-tag:nth-child(8)     { transition-delay: 0.56s; }


/* ============================================================
   CARD HOVER
   ============================================================ */

.mk-card {
	transition:
		transform     0.25s cubic-bezier(0.16, 1, 0.3, 1),
		box-shadow    0.25s cubic-bezier(0.16, 1, 0.3, 1),
		border-color  0.25s;
}

.mk-card:hover {
	transform:   translateY(-3px);
	box-shadow:  0 8px 32px rgba(55, 46, 35, 0.45);
	border-color: var(--mk-warm);
}

/* ============================================================
   PROFILE CARDS
   ============================================================ */

/* ============================================================
   PROFILE PAGE — header cascade (always at top of page)
   ============================================================ */

.hl {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--mk-headline);
  line-height: 1;
  margin: 0 0 0.5rem;
  white-space: pre-line;
}

.sub {
  font-family: 'Montserrat', sans-serif;
  color: var(--mk-muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 0 2.5rem;
}

.is-profile .mk-section-inner > .mk-label { animation: mk-fade-up 1.8s cubic-bezier(0.4,0,0.2,1) 0.15s both; }
.is-profile .mk-section-inner > .hl       { animation: mk-fade-up 1.8s cubic-bezier(0.4,0,0.2,1) 0.40s both; }
.is-profile .mk-section-inner > .sub      { animation: mk-fade-up 1.8s cubic-bezier(0.4,0,0.2,1) 0.65s both; }

/* ============================================================
   PROFILE GRID & CARDS
   ============================================================ */

.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  counter-reset: profile-card;
  border-top: 1px solid var(--mk-dark);
  border-left: 1px solid var(--mk-dark);
}

.profile-card {
  counter-increment: profile-card;
  background: var(--mk-bg);
  padding: 2.2rem 1.6rem 1.8rem;
  position: relative;
  border-right: 1px solid var(--mk-dark);
  border-bottom: 1px solid var(--mk-dark);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
  /* scroll entrance */
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity   0.65s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.35s ease;
}

.profile-card.in { opacity: 1; transform: none; }

/* Large ordinal number — watermark top-right */
.profile-card::before {
  content: counter(profile-card, decimal-leading-zero);
  position: absolute;
  top: 0.4rem;
  right: 0.5rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5.5rem;
  line-height: 1;
  color: var(--mk-accent);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.35s;
}

/* Accent sweep line — bottom */
.profile-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--mk-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-card:hover { background: color-mix(in srgb, var(--mk-bg) 88%, var(--mk-accent)); }
.profile-card:hover::before { opacity: 0.16; }
.profile-card:hover::after  { transform: scaleX(1); }

.card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  color: var(--mk-headline);
  line-height: 1.05;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

.card-body {
  font-size: 0.8rem;
  color: var(--mk-text);
  line-height: 1.7;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition:
    max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity    0.4s ease,
    margin-top 0.4s;
  position: relative;
  z-index: 1;
}

.profile-card:hover .card-body { max-height: 300px; opacity: 1; margin-top: 0.85rem; }

@media (max-width: 900px) { .profile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .profile-grid { grid-template-columns: 1fr; } }

/* Profile cards: dark schema needs visible background */
[data-mk-schema="background"] .profile-card {
	background: var(--mk-dark) !important;
	border-color: var(--mk-mid) !important;
}
[data-mk-schema="background"] .profile-card:hover {
	background: color-mix(in srgb, var(--mk-dark) 75%, var(--mk-accent)) !important;
}

/* Konzept grid: 3 cards only */
#konzept .profile-grid { grid-template-columns: repeat(3, 1fr); width: 100%; }
@media (max-width: 900px) { #konzept .profile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { #konzept .profile-grid { grid-template-columns: 1fr; } }

/* Konzept cards: always dark regardless of schema */
#konzept .profile-card {
	background: #372e23 !important;
	border-color: #5b4c39 !important;
}
#konzept .profile-card:hover {
	background: color-mix(in srgb, #372e23 75%, #3d9463) !important;
}
#konzept .card-title { color: #ffffff !important; text-align: center; }
#konzept .card-body  { color: #d6d4cb !important; }

/* #konzept section: always dark — matches hero and logo-divider */
#konzept {
	background-color: #100e0a !important;
	border-top-color: #372e23 !important;
	margin-block-start: 0 !important;
}
[data-mk-schema="highlight"] #konzept {
	background-color: #100e0a !important;
	border-top-color: #372e23 !important;
}
[data-mk-schema="background"] #konzept {
	background-color: #100e0a !important;
	border-top-color: #372e23 !important;
}

/* Konzept text stays light since background is always dark */
[data-mk-schema="highlight"] #konzept [style*="color:#d6d4cb"] { color: #d6d4cb !important; }
[data-mk-schema="highlight"] #konzept [style*="color:#90816e"] { color: #90816e !important; }
[data-mk-schema="highlight"] #konzept [style*="color:#fff"],
[data-mk-schema="highlight"] #konzept [style*="color:#ffffff"] { color: #ffffff !important; }
[data-mk-schema="highlight"] #konzept .mk-label { color: #3d9463 !important; }
[data-mk-schema="background"] #konzept .mk-label { color: #3d9463 !important; }

/* Hero stays dark in highlight schema */
[data-mk-schema="highlight"] .mk-hero { background-color: #100e0a !important; }

/* ============================================================
   PROFILE BENTO REDESIGN
   ============================================================ */

/* Profile hero — full-width image header */
.is-profile {
  padding-top: 0 !important;
}

.mk-profile-header {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding-top: clamp(6rem, 12vw, 10rem);
  padding-bottom: clamp(5rem, 10vw, 8rem);
  background-color: #100e0a;
}

/* Gradient: blends nav header into image at top */
.mk-profile-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 12rem;
  background: linear-gradient(to bottom, #100e0a 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Gradient: blends image into cards section at bottom */
.mk-profile-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 12rem;
  background: linear-gradient(to top, #100e0a 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.mk-profile-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.45);
  pointer-events: none;
  z-index: 0;
}

.mk-profile-header .mk-section-inner {
  position: relative;
  z-index: 2;
  background: linear-gradient(to right, rgba(16,14,10,0.78) 0%, rgba(16,14,10,0.5) 18%, transparent 28%);
  border-radius: 0.5rem;
  padding: 2rem 2.5rem;
}

.mk-profile-header .mk-section-inner > .sub {
  margin-top: 9rem;
  max-width: 38ch;
  color: #ffffff !important;
}

.is-profile > .mk-section-inner {
  box-sizing: border-box;
  padding-top: clamp(2rem, 4vw, 3rem);
  margin-top: -19vh;
  position: relative;
  z-index: 2;
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: 0;
  padding-left: clamp(1.5rem, 4vw, 4rem);
  padding-right: clamp(1.5rem, 4vw, 4rem);
  background: transparent;
}

/* Hero eyebrow pill */
.mk-profile-eyebrow { margin-bottom: 1.25rem; }

.is-profile .mk-section-inner > .mk-profile-eyebrow {
  animation: mk-fade-up 1.8s cubic-bezier(0.4,0,0.2,1) 0s both;
}

/* Bento grid — override the border-rule base grid */
.profile-grid--bento {
  grid-template-columns: repeat(12, 1fr);
  gap: 0.75rem;
  border-top: none;
  border-left: none;
}

/* Bento card spans */
.profile-grid--bento .profile-card:nth-child(1) { grid-column: span 7; }
.profile-grid--bento .profile-card:nth-child(2) { grid-column: span 5; }
.profile-grid--bento .profile-card:nth-child(3) { grid-column: span 4; }
.profile-grid--bento .profile-card:nth-child(4) { grid-column: span 4; }
.profile-grid--bento .profile-card:nth-child(5) { grid-column: span 4; }
.profile-grid--bento .profile-card:nth-child(6) { grid-column: span 6; }
.profile-grid--bento .profile-card:nth-child(7) { grid-column: span 6; }
.profile-grid--bento .profile-card:nth-child(8) { grid-column: span 12; }

/* Bento card — transparent, border only */
.profile-grid--bento .profile-card {
  border-right: none;
  border-bottom: none;
  border-radius: 1.25rem;
  padding: 0.35rem;
  background: rgba(16,14,10,0.35);
  border: 1px solid rgba(255,255,255,0.28);
  justify-content: flex-start;
  min-height: auto;
  transition:
    border-color 0.7s cubic-bezier(0.32,0.72,0,1),
    transform    0.7s cubic-bezier(0.32,0.72,0,1),
    opacity      0.8s cubic-bezier(0.32,0.72,0,1);
}

.profile-grid--bento .profile-card.in { opacity: 1; transform: none; }

.profile-grid--bento .profile-card:hover {
  background: transparent;
  border-color: rgba(61,148,99,0.55);
  transform: translateY(-3px);
}

/* Counter watermark — smaller on bento shell */
.profile-grid--bento .profile-card::before {
  font-size: 4.5rem;
  top: 0.75rem;
  right: 0.75rem;
  opacity: 0.06;
}

.profile-grid--bento .profile-card:hover::before { opacity: 0.14; }

/* No sweep on shell — moved to inner */
.profile-grid--bento .profile-card::after        { display: none; }
.profile-grid--bento .profile-card:hover::after  { display: none; }

/* Card inner — transparent */
.profile-card-inner {
  border-radius: calc(1.25rem - 0.35rem);
  background: transparent;
  padding: 1.75rem 1.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Accent sweep on inner core */
.profile-card-inner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--mk-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-grid--bento .profile-card:hover .profile-card-inner {
  background: rgba(255,255,255,0.04);
}

.profile-grid--bento .profile-card:hover .profile-card-inner::after {
  transform: scaleX(1);
}

/* Card-body always visible in bento */
.profile-grid--bento .card-body {
  max-height: none;
  opacity: 1;
  margin-top: 0.75rem;
}

/* Card 8: full-width landscape layout */
.profile-grid--bento .profile-card:nth-child(8) .profile-card-inner {
  flex-direction: row;
  align-items: center;
  gap: 0;
  padding: 1.75rem 2rem;
}

.profile-grid--bento .profile-card:nth-child(8) .card-title {
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 2.5rem;
}

.profile-grid--bento .profile-card:nth-child(8) .card-body {
  margin-top: 0;
  border-left: 1px solid var(--mk-mid);
  padding-left: 2.5rem;
}

/* Profile page always dark — anchored to .is-profile, not body.page-id-150 */
[data-mk-schema="highlight"] .is-profile                                    { background-color: #100e0a !important; border-color: #372e23 !important; }
[data-mk-schema="highlight"] .is-profile .mk-profile-header                 { background-color: #100e0a !important; }
[data-mk-schema="highlight"] .is-profile > .mk-section-inner                { background: transparent !important; }
[data-mk-schema="highlight"] .mk-profile-header::before                     { background: linear-gradient(to bottom, #100e0a 0%, transparent 100%) !important; }
[data-mk-schema="highlight"] .mk-profile-header::after                      { background: linear-gradient(to top, #100e0a 0%, transparent 100%) !important; }
[data-mk-schema="highlight"] .mk-profile-header .mk-section-inner           { background: linear-gradient(to right, rgba(16,14,10,0.78) 0%, rgba(16,14,10,0.5) 18%, transparent 28%) !important; }
[data-mk-schema="highlight"] .is-profile .hl                                { color: #ffffff !important; }
[data-mk-schema="highlight"] .is-profile .sub                               { color: #ffffff !important; }
[data-mk-schema="highlight"] .is-profile .mk-label,
[data-mk-schema="highlight"] .is-profile .mk-pill-tag                       { color: #3d9463 !important; border-color: #3d9463 !important; }
[data-mk-schema="highlight"] .profile-grid--bento .profile-card-inner       { background: transparent !important; }
[data-mk-schema="highlight"] .profile-grid--bento .profile-card             { background: rgba(55,46,35,0.75) !important; border-color: rgba(255,255,255,0.28) !important; }
[data-mk-schema="highlight"] .profile-grid--bento .card-title               { color: #ffffff !important; }
[data-mk-schema="highlight"] .profile-grid--bento .card-body                { color: #d6d4cb !important; }
[data-mk-schema="highlight"] .profile-grid--bento .mk-dj-cat                { color: #ffffff !important; border-color: #5b4c39 !important; }
[data-mk-schema="highlight"] .profile-grid--bento .mk-dj-venue              { color: #d6d4cb !important; }
[data-mk-schema="highlight"] .is-profile .back-link                         { color: #5b4c39 !important; border-color: #372e23 !important; }

/* Card 9: DJ Appearances card */
.profile-grid--bento .profile-card:nth-child(9) { grid-column: span 12; }

/* DJ card inner — column layout with label + cols */
.profile-card-inner--dj { gap: 1.5rem; }

.mk-dj-card-label { /* pill sits above columns */ }

.mk-dj-cols {
  display: flex;
  flex: 1;
}

.mk-dj-col {
  flex: 1;
  padding: 0 2rem;
  border-right: 1px solid var(--mk-mid);
}

.mk-dj-col:first-child { padding-left: 0; }
.mk-dj-col:last-child  { border-right: none; padding-right: 0; }

/* Mobile bento */
@media (max-width: 900px) {
  .profile-grid--bento {
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
  }
  .profile-grid--bento .profile-card:nth-child(n)  { grid-column: span 1; }
  .profile-grid--bento .profile-card:nth-child(8),
  .profile-grid--bento .profile-card:nth-child(9)  { grid-column: span 2; }
  .profile-grid--bento .profile-card:nth-child(8) .profile-card-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
  .profile-grid--bento .profile-card:nth-child(8) .card-title  { white-space: normal; padding-right: 0; }
  .profile-grid--bento .profile-card:nth-child(8) .card-body   { border-left: none; padding-left: 0; margin-top: 0.6rem; }
}

@media (max-width: 768px) {
  .mk-dj-cols { flex-direction: column; gap: 1.25rem; }
  .mk-dj-col  { padding: 0; border-right: none; padding-bottom: 1.25rem; border-bottom: 1px solid var(--mk-mid); }
  .mk-dj-col:last-child { border-bottom: none; padding-bottom: 0; }
}

@media (max-width: 520px) {
  .profile-grid--bento { grid-template-columns: 1fr; }
  .profile-grid--bento .profile-card:nth-child(n),
  .profile-grid--bento .profile-card:nth-child(8),
  .profile-grid--bento .profile-card:nth-child(9) { grid-column: span 1; }
}

/* ============================================================
   DJ APPEARANCES SECTION
   ============================================================ */

.mk-dj-appearances {
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--mk-dark);
}

.mk-dj-eyebrow {
  margin-bottom: 1.5rem;
}

.mk-pill-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mk-accent);
  border: 1px solid var(--mk-accent);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
}

.mk-dj-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  color: var(--mk-headline);
  line-height: 0.95;
  margin: 0 0 3rem;
  letter-spacing: 0.01em;
}

.mk-dj-cascade {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.mk-dj-card--events   { margin-top: 2.5rem; }
.mk-dj-card--festivals { margin-top: 1.25rem; }

/* Double-Bezel outer shell */
.mk-dj-card-shell {
  border-radius: 1.5rem;
  padding: 0.375rem;
  background: color-mix(in srgb, var(--mk-dark) 60%, transparent);
  border: 1px solid rgba(255,255,255,0.06);
  transition:
    transform 0.7s cubic-bezier(0.32,0.72,0,1),
    border-color 0.7s cubic-bezier(0.32,0.72,0,1);
}

.mk-dj-card:hover .mk-dj-card-shell {
  border-color: rgba(61,148,99,0.4);
  transform: translateY(-5px);
}

/* Double-Bezel inner core */
.mk-dj-card-core {
  border-radius: calc(1.5rem - 0.375rem);
  background: var(--mk-dark);
  padding: 2rem 1.75rem 2.25rem;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.05);
  min-height: 200px;
}

.mk-dj-cat {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.75rem;
  color: var(--mk-headline);
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 1.1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--mk-mid);
}

.mk-dj-venues {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mk-dj-venue {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--mk-text);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

/* Scroll reveal */
.mk-dj-card--reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s cubic-bezier(0.32,0.72,0,1),
    transform 0.85s cubic-bezier(0.32,0.72,0,1);
}

.mk-dj-card--reveal.is-visible { opacity: 1; transform: none; }

.mk-dj-card--clubs.is-visible    { transition-delay: 0s; }
.mk-dj-card--events.is-visible   { transition-delay: 0.15s; }
.mk-dj-card--festivals.is-visible { transition-delay: 0.30s; }

/* Schema overrides */
[data-mk-schema="highlight"] .mk-dj-card-core {
  background: var(--mk-dark) !important;
}

/* Mobile */
@media (max-width: 768px) {
  .mk-dj-cascade {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .mk-dj-card--events,
  .mk-dj-card--festivals {
    margin-top: 0;
  }
}

