/* Geteilte Basis für den klickbaren Wireframe-Prototyp · Ravensberger */
:root {
	--rb-primary: #6a9aad;
	--rb-primary-dark: #547e8d;
	--rb-primary-light: #e1ebef;
	--rb-text: #464646;
	--rb-bg: #f9f9f9;
	--rb-white: #fff;
	--rb-border: #eee;
	--rb-radius: 0.1875rem;
	--rb-header-h: 9.5rem;
	--rb-container: 98.75rem;
	--rb-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
	--rb-shadow-lg: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
	--wf-ph: #f0f2f3;
	--wf-ph-border: #d6dde0;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Mona Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	color: var(--rb-text);
	background: var(--rb-bg);
	line-height: 1.5;
}

a {
	color: inherit;
}

.page {
	max-width: var(--rb-container);
	margin: 0 auto;
	padding: 1.5rem 1.25rem 5rem;
}

.wf-note {
	font-size: 0.8125rem;
	color: #6b7780;
	background: var(--rb-primary-light);
	border-left: 0.1875rem solid var(--rb-primary);
	padding: 0.5rem 0.75rem;
	margin: 0 0 1.5rem;
}

/* ---- Platzhalter ---- */
.ph {
	background: var(--wf-ph);
	border: 0.0625rem dashed var(--wf-ph-border);
	border-radius: var(--rb-radius);
	color: #9aa6ac;
	font-size: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.ph-img {
	width: 100%;
	aspect-ratio: 16 / 10;
}

/* ---- Buttons ---- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	background: var(--rb-primary);
	color: var(--rb-white);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 600;
	padding: 0.55rem 1.1rem;
	border-radius: var(--rb-radius);
	border: 0.0625rem solid var(--rb-primary);
	cursor: pointer;
}
.btn.ghost {
	background: transparent;
	color: var(--rb-primary-dark);
}

/* ---- Header / Hauptnavi (zweizeilig, an Live-Shop angelehnt) ---- */
.hdr {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--rb-white);
	border-bottom: 0.0625rem solid var(--rb-border);
	box-shadow: var(--rb-shadow);
}
.hdr-top {
	border-bottom: 0.0625rem solid var(--rb-border);
}
.hdr-row {
	max-width: var(--rb-container);
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 1rem 1.5rem;
}
.logo {
	display: inline-flex;
	flex-direction: column;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}
.logo .logo-1 {
	font-size: 1.875rem;
	font-weight: 400;
	color: var(--rb-primary);
	letter-spacing: 0.005em;
}
.logo .logo-2 {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #2a2a2a;
	letter-spacing: 0.18em;
	margin-top: 0.2rem;
}
.hdr-search {
	flex: 1;
	max-width: 36rem;
	margin: 0 auto;
	position: relative;
	display: flex;
}
.hdr-search input {
	flex: 1;
	border: 0.0625rem solid var(--rb-border);
	background: #f3f3f3;
	border-radius: 0.25rem;
	padding: 0.85rem 3rem 0.85rem 1.25rem;
	font: inherit;
	font-size: 0.9375rem;
	color: var(--rb-text);
	outline: none;
}
.hdr-search input::placeholder {
	color: #7a868c;
}
.hdr-search button {
	position: absolute;
	right: 0.25rem;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	color: #4a4a4a;
	font-size: 1.125rem;
	width: 2.75rem;
	height: 2.5rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.hdr-tools {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}
.hdr-tools a {
	color: #3a3a3a;
	font-size: 1.25rem;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
}
.hdr-tools a:hover {
	color: var(--rb-primary-dark);
}
.hdr-bottom {
	max-width: var(--rb-container);
	margin: 0 auto;
	padding: 0 1.5rem;
}
.burger {
	display: none;
	border: 0.0625rem solid var(--rb-border);
	background: var(--rb-white);
	border-radius: var(--rb-radius);
	width: 2.5rem;
	height: 2.5rem;
	font-size: 1.1rem;
	cursor: pointer;
}

.mainnav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2.75rem;
	min-height: 3.75rem;
	font-size: 1rem;
}
.mainnav .sale {
	color: var(--rb-text);
	text-decoration: none;
	padding: 0.5rem 0;
	white-space: nowrap;
}
.mainnav .sale:hover {
	color: var(--rb-primary-dark);
}

/* Dropdown-Trigger */
.nav-dd {
	position: static;
}
.nav-dd-btn {
	background: none;
	border: none;
	font: inherit;
	color: var(--rb-text);
	font-weight: 400;
	cursor: pointer;
	padding: 0.5rem 0;
	border-bottom: 0.125rem solid transparent;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	white-space: nowrap;
}
.nav-dd-btn .caret {
	color: var(--rb-primary);
	font-size: 0.875rem;
}
.nav-dd-btn:hover,
.nav-dd-btn[aria-expanded="true"] {
	color: var(--rb-primary-dark);
	border-bottom-color: var(--rb-primary);
}
.nav-dd-btn.is-new {
	color: var(--rb-primary-dark);
	font-weight: 600;
}

/* Megamenü */
.megamenu {
	display: none;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: var(--rb-header-h);
	width: min(var(--rb-container), calc(100vw - 2.5rem));
	background: var(--rb-white);
	border: 0.0625rem solid var(--rb-border);
	border-top: none;
	border-radius: 0 0 var(--rb-radius) var(--rb-radius);
	box-shadow: var(--rb-shadow-lg);
	padding: 2rem 2.5rem 2.5rem;
}
.megamenu.is-open {
	display: block;
}
.mega-all {
	display: inline-block;
	border: 0.0625rem solid var(--rb-text);
	color: var(--rb-text);
	background: var(--rb-white);
	border-radius: 0.25rem;
	padding: 0.75rem 1.75rem;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	margin-bottom: 1.5rem;
}
.mega-all:hover {
	background: var(--rb-text);
	color: var(--rb-white);
}
.mega-cols {
	display: grid;
	gap: 2.5rem;
	align-items: start;
}
.mega-cols.ratgeber {
	grid-template-columns: repeat(4, 1fr) 18rem;
}
.mega-cols.service {
	grid-template-columns: repeat(4, 1fr) 18rem;
}
.mega-cols.stub-cols {
	grid-template-columns: repeat(2, 1fr) 22rem;
}
.mega-col h3 {
	font-size: 0.9375rem;
	margin: 0 0 0.6rem;
}
.mega-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mega-col li {
	margin: 0.35rem 0;
}
.mega-col a {
	color: var(--rb-text);
	text-decoration: none;
	font-size: 0.875rem;
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
}
.mega-col a > i {
	flex: none;
	margin-top: 0.15rem;
	width: 1rem;
	text-align: center;
}
.mega-col .mega-text {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}
.mega-col .mega-title {
	font-weight: 600;
}
.mega-col .mega-sub {
	font-size: 0.75rem;
	color: #7a868c;
	font-weight: 400;
	line-height: 1.35;
}
.mega-col a:hover .mega-title {
	color: var(--rb-primary-dark);
}
.mega-col .ph {
	width: 1.25rem;
	height: 1.25rem;
	flex: none;
}
.feature {
	background: var(--rb-bg);
	border: 0.0625rem solid var(--rb-border);
	border-radius: var(--rb-radius);
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	position: relative;
	overflow: hidden;
}
.feature .feature-img {
	width: 100%;
	aspect-ratio: 16 / 10;
}
.feature .feature-circle {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	width: 7rem;
	height: 7rem;
	border-radius: 50%;
	background: var(--rb-primary);
	color: var(--rb-white);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 0.875rem;
	line-height: 1.2;
	padding: 0.5rem;
	box-shadow: var(--rb-shadow);
}
.feature .feature-sub {
	font-size: 0.8125rem;
	color: #6b7780;
}
.feature.stub-feature .feature-circle {
	display: none;
}
.cross {
	background: var(--rb-primary-light);
	border-radius: var(--rb-radius);
	padding: 0.9rem;
}
.cross h3 {
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--rb-primary-dark);
	margin: 0 0 0.6rem;
}
.cross .row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8125rem;
	margin: 0.4rem 0;
}
.cross .ph {
	width: 1.5rem;
	height: 1.5rem;
	flex: none;
	background: var(--rb-white);
}
.mega-cta {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 0.0625rem solid var(--rb-border);
}

/* ---- Mobile-Menü ---- */
.mobile-menu {
	display: none;
	border-top: 0.0625rem solid var(--rb-border);
	background: var(--rb-white);
}
.mobile-menu.is-open {
	display: block;
}
.mobile-menu details {
	border-bottom: 0.0625rem solid var(--rb-border);
}
.mobile-menu summary {
	list-style: none;
	cursor: pointer;
	padding: 0.85rem 1.25rem;
	font-weight: 600;
}
.mobile-menu summary::-webkit-details-marker {
	display: none;
}
.mobile-menu .sub a {
	display: block;
	padding: 0.5rem 1.25rem;
	text-decoration: none;
	color: var(--rb-text);
	font-size: 0.9375rem;
}
.mobile-pinned {
	background: var(--rb-primary-light);
	padding: 0.85rem 1.25rem;
	font-size: 0.875rem;
}

@media (max-width: 60rem) {
	:root {
		--rb-header-h: 5rem;
	}
	.hdr-bottom,
	.hdr-tools {
		display: none;
	}
	.hdr-row {
		gap: 0.75rem;
		padding: 0.75rem 1rem;
	}
	.hdr-search {
		max-width: none;
	}
	.logo .logo-1 {
		font-size: 1.25rem;
	}
	.logo .logo-2 {
		font-size: 0.6875rem;
		letter-spacing: 0.14em;
	}
	.burger {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
	.megamenu {
		display: none !important;
	}
}

/* ---- Runde Kategorie-Leiste (wiederverwendbar · aus Startseiten-A/B-Test) ---- */
.cat-strip {
	display: flex;
	gap: 2rem;
	align-items: flex-start;
	flex-wrap: wrap;
}
.cat-strip .cat-intro {
	max-width: 22rem;
	flex: 1 1 16rem;
}
.cat-strip .cat-intro h2 {
	font-size: 1.5rem;
	line-height: 1.2;
	margin: 0 0 0.4rem;
}
.cat-strip .cat-intro p {
	margin: 0;
	color: #6b7780;
	font-size: 0.9375rem;
}
.cat-items {
	display: flex;
	gap: 1.25rem;
	flex: 2 1 28rem;
	overflow-x: auto;
	padding-bottom: 0.25rem;
}
.cat-item {
	flex: 0 0 auto;
	width: 5.5rem;
	text-align: center;
	text-decoration: none;
	color: var(--rb-text);
}
.cat-item .circle {
	display: block;
	width: 5rem;
	height: 5rem;
	margin: 0 auto 0.5rem;
	border-radius: 50%;
	border: 0.125rem solid transparent;
	padding: 0.1875rem;
}
.cat-item .circle .ph {
	width: 100%;
	height: 100%;
	border-radius: 50%;
}
.cat-item .label {
	display: block;
	font-size: 0.8125rem;
	line-height: 1.2;
}
.cat-item:hover .circle {
	border-color: var(--rb-primary-light);
}
.cat-item.is-active .circle {
	border-color: var(--rb-primary);
}
.cat-item.is-active .label {
	color: var(--rb-primary-dark);
	font-weight: 600;
}

/* ---- Breadcrumb / Zurück ---- */
.crumb {
	font-size: 0.8125rem;
	color: #7a868c;
	margin-bottom: 1rem;
}
.crumb a {
	color: var(--rb-primary-dark);
	text-decoration: none;
}
.back-bar {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--rb-white);
	border: 0.0625rem solid var(--rb-border);
	border-radius: var(--rb-radius);
	padding: 0.6rem 0.9rem;
	font-size: 0.875rem;
	color: var(--rb-primary-dark);
	text-decoration: none;
}
