/*
Theme Name: Kitchen Art Münster
Theme URI: https://kitchen-art-muenster.de/
Author: Dendrite Corp
Description: Custom WordPress theme for Kitchen Art by Nosthoff-Horstmann oHG.
Version: 2.6.2
Text Domain: kitchenart
*/

/* ========================================
   RESET & BASE
   ======================================== */
*, *::after, *::before {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	overflow-x: hidden;
	max-width: 100%;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

:root {
	--color-dark:       #1e2123;
	--color-dark-box:   #2a2f33;
	--color-green:      #48944f;
	--color-green-hover:#3f7d47;
	--color-green-bright:#5ab963;
	--color-green-light:#9fd6a6;
	--color-light-bg:   #1e2123;
	--color-body:       #dedede;
	--color-muted:      #b3b3b3;
	--color-meta:       #868889;
	--color-nav:        #c9cbcc;
	--color-white:      #fff;
	--color-divider:    rgba(255, 255, 255, 0.06);
	--color-link-underline: rgba(255, 255, 255, 0.4);
	--max-width:        1360px;
	--header-height:    84px;
	--pad-inline:       clamp(20px, 4vw, 48px);
	--font-body:        'Lato', system-ui, sans-serif;
	--font-heading:     'Montserrat', system-ui, sans-serif;
}

body {
	background: var(--color-dark);
	color: var(--color-body);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading {
	font-family: var(--font-heading);
}

/* ========================================
   LAYOUT UTILS
   ======================================== */
.ka-container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--pad-inline);
	width: 100%;
}

/* WordPress block alignment overrides */
.wp-block-group {
	margin-top: 0;
	margin-bottom: 0;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--color-dark);
}

.header-container {
	max-width: var(--max-width);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px var(--pad-inline);
	gap: 24px;
}

/* Logo */
.header-logo a,
.header-logo .custom-logo-link {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	line-height: 0;
}

.header-logo .custom-logo,
.header-logo img {
	height: 44px;
	width: auto;
	display: block;
}

@media (min-width: 901px) {
	.header-logo .custom-logo,
	.header-logo img {
		height: 60px;
	}
}

.header-logo .site-title-link {
	color: var(--color-white);
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
}

/* Desktop nav */
.desktop-nav {
	display: block;
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 2px;
	margin: 0;
	padding: 0;
	align-items: center;
}

.nav-menu li a {
	color: var(--color-nav);
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.4px;
	padding: 10px 16px;
	text-decoration: none;
	transition: color 0.25s ease;
}

.nav-menu li a:hover {
	color: var(--color-white);
}

.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {
	color: var(--color-white);
	font-weight: 600;
}

/* ========================================
   HAMBURGER & MOBILE NAV
   ======================================== */
.hamburger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: none;
	border: none;
	cursor: pointer;
	flex-shrink: 0;
	padding: 0;
}

.hamburger span {
	display: none; /* hidden; SVG used below */
}

/* Mobile nav panel — dark theme */
.mobile-nav {
	position: fixed;
	top: 0;
	right: -100%;
	bottom: 0;
	width: min(320px, 84vw);
	background: var(--color-dark);
	z-index: 101;
	padding: 24px 28px;
	display: flex;
	flex-direction: column;
	box-shadow: -8px 0 30px rgba(0, 0, 0, 0.3);
	transition: right 0.3s ease;
	overflow-y: auto;
}

.mobile-nav.active {
	right: 0;
}

.mobile-nav-header {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 32px;
}

.mobile-nav-close {
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	color: var(--color-nav);
	transition: color 0.25s ease;
	line-height: 0;
}

.mobile-nav-close:hover {
	color: var(--color-white);
}

.mobile-menu-items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.mobile-menu-items li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-items li a {
	display: block;
	padding: 16px 0;
	color: #f2f2f2;
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.25s ease;
}

.mobile-menu-items li a:hover,
.mobile-menu-items li.current-menu-item a {
	color: var(--color-green-light);
}

.mobile-nav-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	z-index: 100;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
	opacity: 1;
	visibility: visible;
}

body.menu-open {
	overflow: hidden;
}

@media (max-width: 900px) {
	.desktop-nav {
		display: none;
	}

	.hamburger {
		display: flex;
	}

	.header-container {
		padding: 16px var(--pad-inline);
	}
}

/* ========================================
   HERO — HOME (92 vh)
   ======================================== */
.hero-home {
	position: relative;
	height: 92vh;
	min-height: 560px;
	display: flex;
	align-items: flex-end;
	background: var(--color-dark);
	overflow: hidden;
}

.hero-home__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-home__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(20, 22, 23, 0.88) 0%, rgba(20, 22, 23, 0.25) 45%, rgba(20, 22, 23, 0.15) 100%);
}

.hero-home__content {
	position: relative;
	z-index: 2;
	max-width: var(--max-width);
	width: 100%;
	margin: 0 auto;
	padding: 0 var(--pad-inline) clamp(48px, 7vw, 88px);
}

.hero-home__content .page-subtitle {
	margin-bottom: 18px;
}

.hero-home__content h1 {
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: clamp(36px, 6vw, 74px);
	line-height: 1.06;
	color: var(--color-white);
	margin: 0 0 32px;
	max-width: 16ch;
}

/* ========================================
   HERO — INNER PAGES
   ======================================== */
.hero-page {
	position: relative;
	height: 56vh;
	min-height: 380px;
	display: flex;
	align-items: flex-end;
	background: var(--color-dark);
	overflow: hidden;
}

.hero-page--sm {
	height: 48vh;
	min-height: 340px;
}

.hero-page--banner {
	height: 100vh;
	min-height: 560px;
	align-items: stretch;
}

.hero-page__overlay--light {
	background: linear-gradient(0deg, rgba(20, 22, 23, 0.35) 0%, rgba(20, 22, 23, 0.05) 45%, rgba(20, 22, 23, 0) 100%);
}

.hero-page__bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: clamp(32px, 5vw, 48px);
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--pad-inline);
}

.hero-page__title-wrap {
	flex: 1 1 280px;
	border-bottom: 1px solid rgba(250, 250, 250, 0.45);
	margin-left: 10px;
}

.hero-page__title-wrap h1 {
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: clamp(28px, 4vw, 48px);
	line-height: 1.2;
	color: var(--color-white);
	margin: 0;
	text-align: left;
}

.hero-page__cta-wrap {
	flex: 1 1 320px;
	max-width: 620px;
	padding-right: 10px;
}

.hero-cta-box {
	display: block;
	width: 100%;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 1px;
	background: rgba(42, 47, 51, 0.64);
	color: var(--color-white);
	font-family: var(--font-heading);
	font-size: clamp(14px, 1.6vw, 18px);
	font-weight: 300;
	line-height: 70px;
	letter-spacing: 1px;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.25s ease, border-color 0.25s ease;
}

.hero-cta-box:hover {
	background: rgba(85, 89, 92, 0.85);
	border-color: rgba(255, 255, 255, 0.5);
	color: var(--color-white);
}

@media (max-width: 767px) {
	.hero-page__bar {
		flex-direction: column;
		align-items: stretch;
	}

	.hero-page__title-wrap {
		margin-left: 0;
	}

	.hero-page__cta-wrap {
		max-width: none;
		padding-right: 0;
	}

	.hero-cta-box {
		line-height: 1.4;
		padding: 18px 16px;
	}
}

.hero-page__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-page__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(20, 22, 23, 0.85) 0%, rgba(20, 22, 23, 0.2) 60%, rgba(20, 22, 23, 0.1) 100%);
}

.hero-page__content {
	position: relative;
	z-index: 2;
	max-width: var(--max-width);
	width: 100%;
	margin: 0 auto;
	padding: 0 var(--pad-inline) clamp(40px, 6vw, 64px);
}

.hero-page__content .page-subtitle {
	margin-bottom: 14px;
}

.hero-page__content h1 {
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: clamp(32px, 5vw, 58px);
	line-height: 1.1;
	color: var(--color-white);
	margin: 0;
}

.hero-page__content--split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

/* ========================================
   PAGE SUBTITLE (eyebrow label)
   ======================================== */
.page-subtitle {
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 3px;
	color: var(--color-green-light);
	text-transform: uppercase;
	margin: 0;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--color-green);
	color: var(--color-white);
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1px;
	padding: 16px 32px;
	border-radius: 2px;
	text-decoration: none;
	transition: background-color 0.25s ease;
	border: none;
	cursor: pointer;
}

.btn-primary:hover {
	background: var(--color-green-hover);
	color: var(--color-white);
}

.btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 160px;
	padding: 14px 28px;
	border: 1px solid #55595c;
	border-radius: 0;
	background: transparent;
	color: #fafafa;
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 300;
	letter-spacing: 2px;
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.btn-outline:hover {
	background: #55595c;
	color: #fafafa;
}

.hero-cta-box--inline,
.text-intro .hero-cta-box {
	width: min(100%, 520px);
	line-height: 1.4;
	padding: 18px 24px;
}

.text-intro__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	margin-top: 4px;
}

.page-form-section .text-intro p {
	margin-bottom: clamp(40px, 6vw, 56px);
}

.section-light--map {
	padding-top: 0;
	padding-bottom: clamp(48px, 8vw, 80px);
}

.btn-text-link {
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.5px;
	color: var(--color-white);
	border-bottom: 1px solid var(--color-link-underline);
	padding-bottom: 4px;
	text-decoration: none;
	transition: color 0.25s ease, border-color 0.25s ease;
}

.btn-text-link:hover {
	color: var(--color-green-light);
	border-color: var(--color-green-light);
}

.btn-text-link--light {
	color: var(--color-green-light);
	border-color: var(--color-green-light);
}

.btn-text-link--light:hover {
	color: var(--color-white);
	border-color: var(--color-white);
}

/* ========================================
   SECTION — LIGHT (off-white)
   ======================================== */
.section-light {
	background: var(--color-light-bg);
	padding: clamp(72px, 10vw, 140px) var(--pad-inline);
	border-top: 1px solid var(--color-divider);
}

.section-light--sm-bottom {
	padding-bottom: 0;
}

.section-light--inner-bottom {
	padding-top: 0;
}

/* ========================================
   SECTION — DARK
   ======================================== */
.section-dark {
	background: var(--color-dark);
	padding: clamp(72px, 10vw, 140px) var(--pad-inline);
}

.section-dark--map {
	padding-top: 0;
	padding-bottom: clamp(48px, 8vw, 80px);
}

/* legacy — prefer .section-light--map */

/* ========================================
   SECTION — WHITE
   ======================================== */
.section-white {
	background: var(--color-dark);
	padding: clamp(72px, 10vw, 140px) var(--pad-inline);
}

/* ========================================
   TEXT INTRO / MANIFESTO
   ======================================== */
.text-intro {
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
}

.text-intro--narrow {
	max-width: 760px;
}

.text-intro h2 {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(26px, 3.4vw, 40px);
	line-height: 1.3;
	color: var(--color-white);
	margin: 0 0 28px;
}

.text-intro p {
	font-size: clamp(16px, 1.6vw, 19px);
	line-height: 1.8;
	color: var(--color-muted);
	margin: 0 0 36px;
}

.text-intro p:last-child {
	margin-bottom: 0;
}

/* ========================================
   SECTION HEADER (two-column heading + link)
   ======================================== */
.section-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 48px;
}

.section-header h2 {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(26px, 3.4vw, 40px);
	color: var(--color-white);
	margin: 0;
	max-width: 20ch;
}

/* ========================================
   KITCHEN SHOWCASE GRID (home)
   ======================================== */
.kitchen-showcase {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.kitchen-showcase__featured {
	grid-column: span 2;
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	display: block;
}

.kitchen-showcase__item {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	display: block;
}

.kitchen-showcase__featured img,
.kitchen-showcase__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.kitchen-showcase__featured:hover img,
.kitchen-showcase__item:hover img {
	transform: scale(1.04);
}

.kitchen-showcase__label {
	position: absolute;
	left: 20px;
	bottom: 16px;
	color: var(--color-white);
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 640px) {
	.kitchen-showcase__featured {
		grid-column: span 1;
		aspect-ratio: 4 / 3;
	}
}

/* ========================================
   GALLERY GRID (küchen, referenzen)
   ======================================== */
.gallery-grid {
	max-width: var(--max-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 24px;
}

.gallery-grid--cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
	.gallery-grid--cols-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.gallery-grid--cols-3 {
		grid-template-columns: minmax(0, 1fr);
	}
}

.gallery-grid__item {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	display: block;
	border: 0;
	padding: 0;
	background: none;
	font: inherit;
	text-align: inherit;
	cursor: pointer;
	width: 100%;
	text-decoration: none;
	color: inherit;
}

.gallery-grid__item:focus-visible {
	outline: 2px solid var(--color-accent, #9fd6a6);
	outline-offset: 2px;
}

.gallery-grid__item img {
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.gallery-grid__item:hover img {
	transform: scale(1.05);
}

.gallery-grid__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(20, 22, 23, 0.65) 0%, rgba(20, 22, 23, 0) 45%);
}

.gallery-grid__label {
	position: absolute;
	left: 18px;
	bottom: 14px;
	right: 18px;
	color: var(--color-white);
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 600;
	margin: 0;
}

.gallery-grid__empty {
	max-width: var(--max-width);
	margin: 0 auto;
	text-align: center;
	color: var(--color-body);
}

/* ========================================
   GALLERY DETAIL (single küche / referenz)
   ======================================== */
.gallery-detail__header {
	background: var(--color-dark);
	padding: clamp(48px, 8vw, 88px) var(--pad-inline) clamp(24px, 4vw, 40px);
}

.gallery-detail__intro {
	max-width: var(--max-width);
	margin: 0 auto;
}

.gallery-detail__title {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
	color: var(--color-white);
	margin: 0 0 16px;
	padding-top: clamp(16px, 3vw, 24px);
	border-top: 1px solid var(--color-divider);
}

.gallery-detail__text {
	max-width: 640px;
	color: var(--color-body);
	font-size: 16px;
	line-height: 1.7;
	margin-bottom: 8px;
}

.gallery-detail__text p {
	margin-bottom: 16px;
}

/* ========================================
   BRAND LOGOS GRID (home)
   ======================================== */
.brands-grid {
	max-width: 1100px;
	margin: 0 auto;
}

.brands-grid__intro {
	text-align: center;
	margin-bottom: 56px;
}

.brands-grid__intro h2 {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(24px, 3vw, 34px);
	color: var(--color-white);
	margin: 0 0 16px;
}

.brands-grid__intro p {
	font-size: 16px;
	line-height: 1.7;
	color: var(--color-muted);
	max-width: 64ch;
	margin: 0 auto;
}

.brands-grid__logos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 20px;
	align-items: center;
}

.brands-grid__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 96px;
}

.brands-grid__logo img {
	max-width: 140px;
	max-height: 56px;
	object-fit: contain;
	filter: grayscale(1) invert(1) opacity(0.7);
	transition: filter 0.3s ease;
}

.brands-grid__logo img:hover {
	filter: grayscale(0) invert(0) opacity(1);
}

/* ========================================
   BRAND LIST (marken page — logo + text)
   ======================================== */
.brand-list {
	max-width: 960px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.brand-list__item {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 40px;
	align-items: center;
}

.brand-list__item img {
	max-width: 100%;
	max-height: 64px;
	object-fit: contain;
	justify-self: start;
}

.brand-list__item h3 {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 18px;
	color: var(--color-white);
	margin: 0 0 8px;
}

.brand-list__item p {
	font-size: 16px;
	line-height: 1.75;
	color: var(--color-muted);
	margin: 0;
}

@media (max-width: 640px) {
	.brand-list__item {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

/* ========================================
   CTA BANNER (home)
   ======================================== */
.cta-banner {
	position: relative;
	padding: clamp(90px, 14vw, 180px) var(--pad-inline);
	background: var(--color-dark);
	text-align: center;
	overflow: hidden;
}

.cta-banner__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.35;
}

.cta-banner__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(30, 33, 35, 0.75) 0%, rgba(30, 33, 35, 0.92) 100%);
}

.cta-banner__content {
	position: relative;
	z-index: 1;
	max-width: 640px;
	margin: 0 auto;
}

.cta-banner__content h2 {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(28px, 3.6vw, 44px);
	color: var(--color-white);
	margin: 0 0 28px;
}

/* ========================================
   CTA SECTION (plain dark, referenzen etc.)
   ======================================== */
.cta-section {
	background: var(--color-dark);
	padding: clamp(72px, 10vw, 140px) var(--pad-inline);
	text-align: center;
}

.cta-section__inner {
	max-width: 640px;
	margin: 0 auto;
}

.cta-section__inner h2 {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(26px, 3.2vw, 38px);
	color: var(--color-white);
	margin: 0 0 28px;
}

/* ========================================
   TEAM GRID
   ======================================== */
.team-grid {
	max-width: var(--max-width);
	margin: 0 auto;
}

.team-grid h2 {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(26px, 3.2vw, 38px);
	color: var(--color-white);
	text-align: center;
	margin: 0 0 56px;
}

.team-grid__items {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 28px;
}

.team-grid__member {
	text-align: center;
}

.team-grid__photo {
	aspect-ratio: 2 / 3;
	overflow: hidden;
	margin-bottom: 16px;
	background: var(--color-dark-box);
}

.team-grid__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.team-grid__name {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 16px;
	color: var(--color-white);
	margin: 0 0 4px;
}

.team-grid__role {
	font-size: 14px;
	color: var(--color-meta);
	margin: 0;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: 56px;
	align-items: start;
}

.contact-info h2 {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(26px, 3.2vw, 36px);
	color: var(--color-white);
	margin: 0 0 24px;
}

.contact-info p {
	font-size: 17px;
	line-height: 1.85;
	color: var(--color-muted);
	margin: 0 0 32px;
}

.contact-info address {
	display: flex;
	flex-direction: column;
	gap: 14px;
	font-size: 16px;
	color: var(--color-body);
	margin-bottom: 32px;
	font-style: normal;
}

.contact-info address a {
	color: var(--color-white);
	border-bottom: 1px solid var(--color-link-underline);
	transition: color 0.25s ease, border-color 0.25s ease;
}

.contact-info address a:hover {
	color: var(--color-green-light);
	border-color: var(--color-green-light);
}

.contact-info address .contact-hours {
	color: var(--color-meta);
}

.contact-form h2 {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(22px, 2.8vw, 30px);
	color: var(--color-white);
	margin: 0 0 24px;
}

.contact-form .rf-1603b560cb54 .rf-form {
	max-width: none;
	padding: 0;
}

/* ========================================
   MAP (musterküchen)
   ======================================== */
.location-map {
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
	aspect-ratio: 16 / 7;
	overflow: hidden;
}

.location-map iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* ========================================
   KATALOGE / CATALOG CARDS
   ======================================== */
.catalog-grid {
	max-width: var(--max-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
	gap: 56px;
}

.catalog-card {
	display: flex;
	gap: 28px;
	align-items: flex-start;
	background: var(--color-dark-box);
	padding: 28px;
}

.catalog-card__image {
	width: 150px;
	flex-shrink: 0;
	object-fit: contain;
	display: block;
	background: #e8e8e8;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.catalog-card__body {
	flex: 1;
	min-width: 0;
}

.catalog-card__title {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 20px;
	line-height: 1.35;
	color: var(--color-white);
	margin: 0 0 22px;
	white-space: pre-line;
}

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

.catalog-card__btn {
	display: inline-flex;
	align-items: center;
	padding: 12px 20px;
	font-family: var(--font-heading);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	border-radius: 2px;
	text-decoration: none;
	transition: background 0.25s ease, color 0.25s ease;
}

.catalog-card__btn--solid {
	background: var(--color-green);
	color: var(--color-white);
}

.catalog-card__btn--solid:hover {
	background: var(--color-green-bright);
	color: var(--color-white);
}

.catalog-card__btn--outline {
	background: transparent;
	color: var(--color-body);
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.catalog-card__btn--outline:hover {
	background: var(--color-white);
	color: var(--color-dark);
	border-color: var(--color-white);
}

@media (max-width: 500px) {
	.catalog-grid {
		grid-template-columns: 1fr;
	}

	.catalog-card {
		flex-direction: column;
	}
}

/* ========================================
   APPOINTMENT FORM
   ======================================== */
.appointment-form-container {
	max-width: 600px;
	margin: 0 auto;
	padding: clamp(32px, 5vw, 40px);
	background: var(--color-dark-box);
}

.appointment-form-header {
	text-align: center;
	margin-bottom: 30px;
}

.appointment-form-header h2 {
	font-family: var(--font-heading);
	font-size: 32px;
	font-weight: 700;
	color: var(--color-white);
}

.form-row {
	margin-bottom: 20px;
}

.form-row-2col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.form-group label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-white);
	margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 2px;
	font-size: 14px;
	font-family: var(--font-body);
	color: var(--color-body);
	background: var(--color-dark);
	transition: border-color 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--color-green-light);
}

.form-group select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23dedede' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 35px;
	cursor: pointer;
}

.form-group textarea {
	resize: vertical;
	min-height: 100px;
}

.form-consent {
	margin: 25px 0;
}

.form-consent label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--color-muted);
	cursor: pointer;
}

.form-consent input[type="checkbox"] {
	margin-top: 3px;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	cursor: pointer;
}

.form-consent a {
	color: var(--color-green-light);
	text-decoration: underline;
}

.form-submit-btn {
	width: 100%;
	padding: 16px;
	background: var(--color-green);
	color: var(--color-white);
	border: none;
	border-radius: 2px;
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1px;
	cursor: pointer;
	transition: background-color 0.25s ease;
}

.form-submit-btn:hover {
	background: var(--color-green-hover);
}

.w-form-done {
	background: var(--color-green);
	color: white;
	padding: 15px;
	border-radius: 2px;
	text-align: center;
}

.w-form-fail {
	background: #e74c3c;
	color: white;
	padding: 15px;
	border-radius: 2px;
	text-align: center;
}

@media (max-width: 600px) {
	.form-row-2col {
		grid-template-columns: 1fr;
	}

	.appointment-form-container {
		padding: 20px;
		margin: 20px 10px;
	}
}

/* ========================================
   HERO — LEGAL (solid background, no image)
   ======================================== */
.hero-legal {
	background: var(--color-dark);
	padding: clamp(56px, 8vw, 88px) var(--pad-inline);
}

.hero-legal__content {
	max-width: var(--max-width);
	margin: 0 auto;
}

.hero-legal__content h1 {
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: clamp(28px, 4vw, 46px);
	color: var(--color-white);
	margin: 0;
}

/* ========================================
   LEGAL PAGES (impressum, datenschutz)
   ======================================== */
.legal-content {
	max-width: 760px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.legal-content h2 {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 22px;
	color: var(--color-white);
	margin: 0 0 16px;
}

.legal-content h3 {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 18px;
	color: var(--color-white);
	margin: 32px 0 12px;
}

.legal-content p {
	font-size: 16px;
	line-height: 1.85;
	color: var(--color-muted);
	margin: 0;
}

.legal-content address {
	font-size: 16px;
	line-height: 1.85;
	color: var(--color-muted);
	font-style: normal;
	margin: 0;
}

.legal-content a {
	color: var(--color-white);
	border-bottom: 1px solid var(--color-link-underline);
}

.legal-content a:hover {
	color: var(--color-green-light);
	border-color: var(--color-green-light);
}

.legal-content ul {
	margin: 0;
	padding-left: 20px;
	font-size: 16px;
	line-height: 1.85;
	color: var(--color-muted);
}

/* ========================================
   CPT ARCHIVE LISTINGS
   ======================================== */
.archive-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 30px;
	max-width: var(--max-width);
	margin: 40px auto;
	padding: 0 var(--pad-inline);
}

.archive-grid--musterkuechen {
	grid-template-columns: repeat(2, 1fr);
	margin-top: 0;
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.archive-grid--musterkuechen {
		grid-template-columns: 1fr;
	}
}

.archive-card {
	background: var(--color-dark-box);
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.archive-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.archive-card-image {
	width: 100%;
	height: 250px;
	object-fit: cover;
	display: block;
}

.archive-card-content {
	padding: 25px;
}

.archive-card-title {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 10px;
	color: var(--color-white);
}

.archive-card-title a {
	color: inherit;
	text-decoration: none;
}

.archive-card-title a:hover {
	color: var(--color-green);
}

.archive-card-excerpt {
	font-size: 14px;
	line-height: 1.6;
	color: var(--color-muted);
}

.archive-card-link {
	display: inline-block;
	margin-top: 15px;
	color: var(--color-white);
	font-weight: 500;
	font-size: 14px;
	text-decoration: none;
	border-bottom: 1px solid var(--color-link-underline);
	transition: color 0.25s ease, border-color 0.25s ease;
}

.archive-card-link:hover {
	color: var(--color-green-light);
	border-color: var(--color-green-light);
}

.archive-card--visual .archive-card-link-wrap {
	display: block;
	color: inherit;
	text-decoration: none;
}

.archive-card--visual .archive-card-content {
	padding: 20px 25px 25px;
}

.archive-card--visual .archive-card-title {
	margin-bottom: 0;
}

/* ========================================
   SINGLE POST/CPT
   ======================================== */
.single-content {
	max-width: 900px;
	margin: 0 auto;
	padding: 40px var(--pad-inline);
}

.single-content h1 {
	font-family: var(--font-heading);
	font-size: 38px;
	font-weight: 700;
	margin-bottom: 20px;
	color: var(--color-white);
}

.single-content .featured-image {
	width: 100%;
	height: auto;
	margin-bottom: 30px;
}

.single-content .entry-content p {
	font-size: 16px;
	line-height: 1.7;
	margin-bottom: 20px;
	color: var(--color-body);
}

.single-back-link {
	display: inline-block;
	margin-bottom: 30px;
	color: var(--color-white);
	font-size: 14px;
	text-decoration: none;
	border-bottom: 1px solid var(--color-link-underline);
	transition: color 0.25s ease, border-color 0.25s ease;
}

.single-back-link:hover {
	color: var(--color-green-light);
	border-color: var(--color-green-light);
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(0, 0, 0, 0.95);
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox.active {
	opacity: 1;
	visibility: visible;
}

.lightbox-content {
	position: relative;
	max-width: min(1200px, 94vw);
	max-height: 94vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.lightbox-stage {
	position: relative;
	isolation: isolate;
	width: min(1200px, 94vw);
	height: calc(94vh - 140px);
	min-height: 240px;
	overflow: hidden;
}

.lightbox-stage__layer {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
}

.lightbox-stage__layer--thumb {
	z-index: 0;
}

.lightbox-stage__layer--full {
	z-index: 10;
	opacity: 0;
	transition: none;
}

.lightbox-stage__layer--full.is-loaded {
	opacity: 1;
	transition: opacity 0.3s ease;
}

.lightbox-stage.is-full-loaded .lightbox-stage__layer--thumb {
	visibility: hidden;
	opacity: 0;
}

.lightbox-stage__layer img,
.lightbox-stage__preview,
.lightbox-stage__full {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: contain;
	display: block;
	pointer-events: none;
	margin: 0;
}

.lightbox-stage__spinner {
	position: absolute;
	inset: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.45);
}

.lightbox-stage__spinner[aria-hidden="true"] {
	display: none;
}

.lightbox-stage__spinner-icon {
	width: 42px;
	height: 42px;
	border: 3px solid rgba(255, 255, 255, 0.25);
	border-top-color: var(--color-white, #fff);
	border-radius: 50%;
	animation: lightbox-spin 0.8s linear infinite;
}

@keyframes lightbox-spin {
	to {
		transform: rotate(360deg);
	}
}

.lightbox-caption {
	color: var(--color-white);
	text-align: center;
	padding: 0 20px;
	font-size: 16px;
	max-width: 800px;
}

.lightbox-thumbs {
	display: flex;
	gap: 10px;
	max-width: min(1200px, 94vw);
	overflow-x: auto;
	padding: 4px 8px 8px;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.lightbox-thumbs[hidden] {
	display: none;
}

.lightbox-thumbs::-webkit-scrollbar {
	height: 6px;
}

.lightbox-thumbs::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.35);
	border-radius: 999px;
}

.lightbox-thumb {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid transparent;
	border-radius: 4px;
	padding: 0;
	width: 88px;
	height: 66px;
	overflow: hidden;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.08);
	transition: border-color 0.2s ease, opacity 0.2s ease;
}

.lightbox-thumb:hover,
.lightbox-thumb.is-active {
	border-color: var(--color-accent, #9fd6a6);
}

.lightbox-thumb:not(.is-active) {
	opacity: 0.72;
}

.lightbox-thumb.is-active {
	opacity: 1;
}

.lightbox-thumb img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
	position: fixed;
	background: rgba(255, 255, 255, 0.1);
	border: none;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--color-white);
	transition: background 0.25s ease;
	z-index: 10000;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
	background: rgba(255, 255, 255, 0.2);
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev  { top: 50%; left: 20px; transform: translateY(-50%); }
.lightbox-next  { top: 50%; right: 20px; transform: translateY(-50%); }

body.lightbox-open {
	overflow: hidden;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
	background: var(--color-dark);
	color: var(--color-white);
}

.footer-main {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: clamp(56px, 7vw, 80px) var(--pad-inline) 40px;
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	justify-content: space-between;
}

.footer-brand {
	flex: 0 1 260px;
}

.footer-logo-link {
	display: inline-block;
	margin-bottom: 22px;
}

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

.footer-site-name {
	color: var(--color-white);
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 600;
}

.footer-address {
	color: var(--color-meta);
	font-size: 15px;
	line-height: 1.8;
	font-style: normal;
}

.footer-links-wrap {
	flex: 1 1 460px;
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	justify-content: space-between;
	align-items: flex-start;
}

.footer-links-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	flex: 1;
}

.footer-links-column {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 120px;
}

.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer-links li a {
	color: #dedede;
	font-size: 14px;
	letter-spacing: 0.5px;
	text-decoration: none;
	transition: color 0.25s ease;
}

.footer-links li a:hover {
	color: var(--color-white);
}

.footer-social {
	flex-shrink: 0;
	display: flex;
	align-items: flex-start;
}

.social-icon-link {
	display: inline-block;
	transition: opacity 0.25s ease;
}

.social-icon-link:hover {
	opacity: 0.7;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	margin-top: 0;
}

.footer-bottom-inner {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 24px var(--pad-inline);
}

.footer-copyright {
	color: var(--color-meta);
	font-size: 12px;
}

@media (max-width: 768px) {
	.footer-main {
		flex-direction: column;
		gap: 32px;
	}

	.footer-links-wrap {
		flex-direction: column;
		gap: 8px;
	}

	.footer-links-columns {
		gap: 24px;
	}

	.footer-social {
		margin-top: 8px;
	}
}

/* ========================================
   404 PAGE
   ======================================== */
.error-404 {
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px var(--pad-inline);
}

.error-404-content {
	text-align: center;
	max-width: 600px;
}

.error-404-title {
	font-family: var(--font-heading);
	font-size: 120px;
	font-weight: 900;
	line-height: 1;
	margin: 0 0 20px;
	color: var(--color-white);
}

.error-404-subtitle {
	font-family: var(--font-heading);
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 20px;
	color: var(--color-white);
}

.error-404-text {
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-muted);
	margin: 0 0 40px;
}

@media (max-width: 768px) {
	.error-404-title    { font-size: 80px; }
	.error-404-subtitle { font-size: 24px; }

	.lightbox-stage { height: calc(94vh - 120px); min-height: 200px; }
	.lightbox-thumb { width: 72px; height: 54px; }
	.lightbox-close { top: 10px; right: 10px; width: 40px; height: 40px; }
	.lightbox-prev  { left: 10px; width: 40px; height: 40px; }
	.lightbox-next  { right: 10px; width: 40px; height: 40px; }
}
