:root {
	--ahk-mr-blue: #229ee9;
	--ahk-mr-blue-deep: #3157bd;
	--ahk-mr-dark: #0a0d10;
	--ahk-mr-panel: #131a20;
	--ahk-mr-paper: #fff;
	--ahk-mr-ink: #151a1e;
	--ahk-mr-muted: #68747d;
	--ahk-mr-line: #d9e2e8;
	--ahk-mr-width: 1600px;
	--ahk-mr-content: 1240px;
	--ahk-mr-reading-width: 1040px;
	--ahk-mr-radius: 22px;
}

.ahk-mini-ratgeber-page .wp-block-post-title { display: none !important; }
.ahk-mini-ratgeber-page,
body:has(.ahk-mr-page) {
	background-color: #0c0e10 !important;
	background-image:
		linear-gradient(123deg, transparent 0%, transparent 12%, rgba(255,255,255,.07) 23%, rgba(255,255,255,.018) 31%, transparent 43%, transparent 72%, rgba(255,255,255,.045) 82%, rgba(255,255,255,.008) 88%, transparent 96%),
		linear-gradient(57deg, transparent 0%, transparent 30%, rgba(255,255,255,.022) 39%, transparent 48%, transparent 100%),
		radial-gradient(ellipse 82% 25% at 2% 10%, rgba(176,182,186,.21) 0%, rgba(105,111,116,.075) 42%, transparent 76%),
		radial-gradient(ellipse 74% 23% at 99% 30%, rgba(255,255,255,.13) 0%, rgba(255,255,255,.035) 43%, transparent 76%),
		radial-gradient(ellipse 78% 24% at 1% 55%, rgba(145,151,156,.15) 0%, rgba(85,91,96,.045) 47%, transparent 77%),
		radial-gradient(ellipse 70% 22% at 98% 72%, rgba(238,241,243,.105) 0%, rgba(255,255,255,.022) 44%, transparent 78%),
		linear-gradient(180deg, #090b0d 0%, #191c1f 24%, #0c0f11 52%, #181b1e 76%, #0b0e10 100%) !important;
	background-repeat: no-repeat !important;
	background-size: 100% 100% !important;
}
.ahk-mini-ratgeber-page .wp-site-blocks,
body:has(.ahk-mr-page) .wp-site-blocks {
	gap: 0 !important;
	row-gap: 0 !important;
	background: transparent !important;
}
.ahk-mini-ratgeber-page .wp-site-blocks > * + *,
body:has(.ahk-mr-page) .wp-site-blocks > * + * { margin-block-start: 0 !important; }
.ahk-mini-ratgeber-page .wp-site-blocks > main.wp-block-post-content,
body:has(.ahk-mr-page) .wp-site-blocks > main.wp-block-post-content,
.wp-block-post-content:has(> .ahk-mr-page) {
	margin-block-start: 0 !important;
	padding-block-start: 0 !important;
}
html:has(body.ahk-mini-ratgeber-page), body.ahk-mini-ratgeber-page { overflow-x: clip !important; }

.ahk-mr-page, .ahk-mr-page * { box-sizing: border-box; }
.ahk-mr-page {
	width: 100vw;
	max-width: none !important;
	margin: 0 calc(50% - 50vw) !important;
	background: transparent;
	color: #fff;
	font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	overflow: hidden;
}
.ahk-mr-page > * { margin-block: 0 !important; }
.ahk-mr-page .alignwide {
	width: min(var(--ahk-mr-width), calc(100% - 40px));
	max-width: var(--ahk-mr-width) !important;
	margin-inline: auto !important;
}
.ahk-mr-page h1, .ahk-mr-page h2, .ahk-mr-page h3 {
	font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 760;
	letter-spacing: -.035em;
}
.ahk-mr-page a { text-underline-offset: 3px; }
.ahk-mr-eyebrow {
	margin: 0 0 13px !important;
	color: #43b4f5;
	font-size: .78rem;
	font-weight: 760;
	letter-spacing: .095em;
	text-transform: uppercase;
}

.ahk-mr-hero {
	position: relative;
	margin: 0 !important;
	background: #090c0f;
}
.ahk-mr-hero .wp-block-cover__background {
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(6,9,12,.98) 0%, rgba(6,9,12,.88) 48%, rgba(6,9,12,.42) 76%, rgba(6,9,12,.32) 100%),
		linear-gradient(0deg, rgba(6,9,12,.88), transparent 40%) !important;
	opacity: 1 !important;
}
.ahk-mr-hero .wp-block-cover__image-background {
	filter: saturate(.85) contrast(1.04);
	object-position: center 48%;
}
.ahk-mr-hero .wp-block-cover__inner-container { position: relative; z-index: 2; width: 100%; }
.ahk-mr-hero-inner { padding: clamp(88px, 10vw, 142px) 0; }
.ahk-mr-breadcrumb { margin: 0 0 44px !important; color: #9fb0bb; font-size: .83rem; }
.ahk-mr-breadcrumb a { color: #c8d6df !important; text-decoration: none; }
.ahk-mr-hero h1 {
	max-width: 970px;
	margin: 0;
	color: #fff;
	font-size: clamp(3rem, 5.35vw, 6.1rem);
	line-height: .97;
}
.ahk-mr-lead {
	max-width: 820px;
	margin: 25px 0 0 !important;
	color: #d7e0e5;
	font-size: clamp(1.18rem, 1.65vw, 1.52rem);
	line-height: 1.5;
}
.ahk-mr-actions { margin-top: 34px; gap: 12px; }
.ahk-mr-primary-button .wp-block-button__link,
.ahk-mr-secondary-button .wp-block-button__link {
	min-height: 50px;
	padding: 13px 25px;
	border-radius: 999px !important;
	font-weight: 760;
	text-decoration: none !important;
	transition: transform .2s ease, filter .2s ease, background .2s ease;
}
.ahk-mr-primary-button .wp-block-button__link {
	border: 0 !important;
	background: linear-gradient(105deg, var(--ahk-mr-blue), var(--ahk-mr-blue-deep)) !important;
	box-shadow: 0 13px 30px rgba(35,123,225,.24);
	color: #fff !important;
}
.ahk-mr-secondary-button .wp-block-button__link {
	border: 1px solid rgba(91,190,247,.72) !important;
	background: rgba(8,15,20,.42) !important;
	color: #fff !important;
}
.ahk-mr-primary-button .wp-block-button__link:hover,
.ahk-mr-secondary-button .wp-block-button__link:hover { transform: translateY(-2px); filter: brightness(1.12); }

.ahk-mr-article {
	padding: clamp(72px, 8vw, 118px) 0 clamp(86px, 9vw, 130px);
	background: #f4f6f8;
	color: var(--ahk-mr-ink);
}
.ahk-mr-reading-shell {
	padding: 0;
	background: transparent;
}
.ahk-mr-reading-shell > .alignwide { width: 100% !important; max-width: none !important; }
.ahk-mr-answer {
	position: relative;
	margin-bottom: clamp(48px, 6vw, 76px) !important;
	padding: clamp(30px, 4vw, 52px) clamp(30px, 5vw, 68px);
	overflow: hidden;
	border: 1px solid #cfe0ea;
	border-radius: var(--ahk-mr-radius);
	background: linear-gradient(135deg, #fff, #eff7fb);
	box-shadow: 0 22px 55px rgba(24,52,68,.1);
}
.ahk-mr-answer::after {
	position: absolute;
	top: -90px;
	right: -70px;
	width: 290px;
	height: 210px;
	border: 1px solid rgba(34,158,233,.18);
	border-radius: 50%;
	box-shadow: 0 0 85px rgba(34,158,233,.13);
	content: "";
	transform: rotate(-14deg);
}
.ahk-mr-answer .ahk-mr-eyebrow { color: #207bb4; }
.ahk-mr-answer-text {
	position: relative;
	z-index: 1;
	max-width: 1040px;
	margin: 0 !important;
	color: #26343d;
	font-size: clamp(1.12rem,1.55vw,1.38rem);
	line-height: 1.72;
}

.ahk-mr-layout {
	display: grid !important;
	grid-template-columns: 270px minmax(0, 1fr) !important;
	column-gap: clamp(36px, 3.2vw, 54px) !important;
	align-items: start !important;
	width: 100% !important;
	max-width: none !important;
}
.ahk-mr-layout > .wp-block-column { width: auto !important; max-width: none !important; flex-basis: auto !important; margin: 0 !important; }
.ahk-mr-toc {
	position: sticky;
	top: 38px;
	margin: 0 !important;
	padding: 27px;
	border: 1px solid var(--ahk-mr-line);
	border-radius: 18px;
	background: rgba(255,255,255,.8);
	box-shadow: 0 14px 40px rgba(22,42,54,.07);
}
.admin-bar .ahk-mr-toc { top: 70px; }
.ahk-mr-toc-title { margin: 0 0 18px !important; color: #16222a; font-weight: 760; }
.ahk-mr-toc ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.ahk-mr-toc li { margin: 0; border-top: 1px solid #e1e8ec; }
.ahk-mr-toc li:first-child { border-top: 0; }
.ahk-mr-toc a { display: block; padding: 12px 0; color: #4a5963 !important; font-size: .92rem; line-height: 1.4; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.ahk-mr-toc a:hover { color: #167fbd !important; transform: translateX(3px); }
.ahk-mr-toc-back { margin: 17px 0 0 !important; padding-top: 17px; border-top: 1px solid #d4e0e7; }
.ahk-mr-toc-back a { color: #1685c5 !important; font-weight: 720; }

.ahk-mr-content { min-width: 0; width: 100%; max-width: none; margin: 0 !important; }
.ahk-mr-section { width: 100%; margin: 0 0 62px !important; }
.ahk-mr-section:last-child { margin-bottom: 0 !important; }
.ahk-mr-section h2 {
	scroll-margin-top: 38px;
	margin: 0 0 25px;
	color: #11191e;
	font-size: clamp(2rem,3.15vw,3.25rem);
	line-height: 1.08;
}
.ahk-mr-section h3 { margin: 34px 0 12px; color: #17242c; font-size: clamp(1.35rem,2vw,1.85rem); line-height: 1.18; }
.ahk-mr-section > p,
.ahk-mr-section > ul { color: #44525b; font-size: 1.08rem; line-height: 1.82; }
.ahk-mr-section > p { max-width: 1040px; }
.ahk-mr-section > p { margin: 0 0 21px; }
.ahk-mr-section > ul { margin: 26px 0 28px; padding-left: 1.25em; }
.ahk-mr-section li { margin: 10px 0; padding-left: 7px; }
.ahk-mr-section a { color: #147fbd !important; font-weight: 690; }

.ahk-mr-table { width: 100%; margin: 34px 0 !important; overflow-x: auto; border: 1px solid #d6e1e7; border-radius: 16px; background: #fff; box-shadow: 0 14px 38px rgba(24,49,63,.07); }
.ahk-mr-table table { width: 100%; min-width: 650px; border-collapse: collapse; }
.ahk-mr-table th, .ahk-mr-table td { padding: 17px 18px; border: 0; border-bottom: 1px solid #e2e8ec; text-align: left; vertical-align: top; }
.ahk-mr-table th { background: #111a20; color: #fff; font-size: .86rem; letter-spacing: .035em; }
.ahk-mr-table td { color: #45535c; font-size: .94rem; line-height: 1.55; }
.ahk-mr-table tr:last-child td { border-bottom: 0; }
.ahk-mr-table figcaption { padding: 16px 18px; border-top: 1px solid #dce5ea; color: #6b7880; font-size: .82rem; line-height: 1.55; }

.ahk-mr-callout {
	position: relative;
	margin: 38px 0 !important;
	padding: clamp(29px,4vw,46px);
	overflow: hidden;
	border: 1px solid rgba(255,255,255,.11);
	border-radius: 20px;
	background: radial-gradient(circle at 100% 0, rgba(255,255,255,.08), transparent 42%), linear-gradient(140deg, #252a2e, #171b1e 68%);
	box-shadow: 0 22px 48px rgba(17,33,42,.17);
}
.ahk-mr-callout::after { position: absolute; right: -80px; bottom: -100px; width: 270px; height: 180px; border: 1px solid rgba(101,200,251,.18); border-radius: 50%; content: ""; transform: rotate(-12deg); }
.ahk-mr-callout .ahk-mr-eyebrow { position: relative; z-index: 1; color: #71c9f8; }
.ahk-mr-callout h3 { position: relative; z-index: 1; margin: 0 0 15px; color: #fff; font-size: clamp(1.65rem,2.5vw,2.4rem); }
.ahk-mr-callout > p:last-child { position: relative; z-index: 1; margin: 0; color: #c4d0d6; font-size: 1rem; line-height: 1.72; }

/*
 * Keep every editorial block on one calm centre axis. Gutenberg's constrained
 * layout otherwise assigns different horizontal positions to headings, copy,
 * tables and groups. Text remains left-aligned for comfortable reading.
 */
.ahk-mr-section > h2,
.ahk-mr-section > h3,
.ahk-mr-section > p,
.ahk-mr-section > ul,
.ahk-mr-section > .ahk-mr-table,
.ahk-mr-section > .ahk-mr-callout {
	width: min(100%, var(--ahk-mr-reading-width)) !important;
	max-width: var(--ahk-mr-reading-width) !important;
	margin-right: auto !important;
	margin-left: auto !important;
	text-align: left;
}

.ahk-mr-signature {
	padding: 0 0 clamp(72px, 8vw, 112px);
	background: #f4f6f8;
	color: var(--ahk-mr-ink);
}
.ahk-mr-signature-inner { padding-left: calc(270px + clamp(36px, 3.2vw, 54px)); }
.ahk-mr-signature p {
	display: inline-flex;
	align-items: center;
	padding-top: 22px;
	border-top: 1px solid #cbd6dc;
	margin: 0 !important;
	color: #33434d;
	font-size: .95rem;
	font-weight: 520;
}
.ahk-mr-signature strong { color: #152129; font-weight: 760; }

.ahk-mr-related {
	display: none !important;
	padding: clamp(78px,8vw,116px) 0;
	background-color: #0d1114;
	background-image: radial-gradient(ellipse 70% 75% at 100% 0, rgba(43,129,193,.2), transparent 66%), linear-gradient(128deg, rgba(255,255,255,.04), transparent 35%);
}
.ahk-mr-related h2 { max-width: 900px; margin: 0 0 40px; color: #fff; font-size: clamp(2.3rem,4vw,4.35rem); line-height: 1.04; }
.ahk-mr-related-grid { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.ahk-mr-related-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 315px;
	margin: 0 !important;
	padding: 29px;
	border: 1px solid rgba(82,181,239,.3);
	border-radius: 19px;
	background: linear-gradient(145deg, rgba(33,143,211,.14), transparent 46%), #12191e;
	transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.ahk-mr-related-card:hover, .ahk-mr-related-card:focus-within { transform: translateY(-5px); border-color: rgba(91,190,247,.62); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.ahk-mr-card-kicker { margin: 0 0 34px !important; color: #62c2f6; font-size: .72rem; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.ahk-mr-related-card h3 { margin: 0 0 14px; color: #fff; font-size: 1.55rem; line-height: 1.12; }
.ahk-mr-related-card > p:not(.ahk-mr-card-kicker):not(.ahk-mr-card-link) { margin: 0; color: #aebbc3; line-height: 1.65; }
.ahk-mr-card-link { margin: auto 0 0 !important; padding-top: 25px; }
.ahk-mr-card-link a { color: #54bcf5 !important; font-weight: 750; text-decoration: none; }
.ahk-mr-card-link a::after { position: absolute; inset: 0; content: ""; }

.ahk-mr-cta {
	padding: clamp(76px,8vw,112px) 0;
	background: transparent;
}
.ahk-mr-cta-inner { padding: clamp(36px,6vw,78px); border: 1px solid rgba(255,255,255,.13); border-radius: 26px; background: linear-gradient(145deg, #292e32, #171b1e 72%); }
.ahk-mr-cta h2 { max-width: 900px; margin: 0; color: #fff; font-size: clamp(2.35rem,4.3vw,4.8rem); line-height: 1.02; }
.ahk-mr-cta-inner > p:not(.ahk-mr-eyebrow) { max-width: 760px; margin: 20px 0 0; color: #afbdc5; font-size: 1.06rem; line-height: 1.7; }
.ahk-mr-cta .wp-block-buttons { margin-top: 30px; }

@media (max-width: 1000px) {
	.ahk-mr-layout { grid-template-columns: 230px minmax(0,1fr) !important; column-gap: 32px !important; }
	.ahk-mr-signature-inner { padding-left: 262px; }
	.ahk-mr-related-grid { grid-template-columns: 1fr 1fr; }
	.ahk-mr-related-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 781px) {
	.ahk-mr-page { width: calc(100% + 48px) !important; margin-right: -24px !important; margin-left: -24px !important; }
	.ahk-mr-page .alignwide { width: calc(100% - 40px); }
	.ahk-mr-reading-shell { width: calc(100% - 32px) !important; }
	.ahk-mr-hero { min-height: 660px !important; }
	.ahk-mr-hero .wp-block-cover__background {
		background: linear-gradient(180deg, rgba(6,9,12,.68) 0%, rgba(6,9,12,.9) 48%, rgba(6,9,12,.99) 100%) !important;
	}
	.ahk-mr-hero .wp-block-cover__image-background {
		object-position: 61% center;
	}
	.ahk-mr-article-mini-3-tuerer-oder-5-tuerer .ahk-mr-hero .wp-block-cover__image-background {
		opacity: 0 !important;
	}
	.ahk-mr-article-mini-3-tuerer-oder-5-tuerer .ahk-mr-hero {
		background-color: #090c0f;
		background-image: url("../images/mini-3-5-mobile.jpg");
		background-position: center center;
		background-repeat: no-repeat;
		background-size: cover;
	}
	.ahk-mr-article-mini-clubman-oder-countryman .ahk-mr-hero .wp-block-cover__image-background {
		opacity: 0 !important;
	}
	.ahk-mr-article-mini-clubman-oder-countryman .ahk-mr-hero {
		background-color: #090c0f;
		background-image: url("../images/mini-clubman-countryman-mobile.jpg");
		background-position: center center;
		background-repeat: no-repeat;
		background-size: cover;
	}
	.ahk-mr-hero-inner { padding: 72px 0 64px; }
	.ahk-mr-breadcrumb { margin-bottom: 34px !important; }
	.ahk-mr-hero h1 { font-size: clamp(2.7rem,12vw,4.8rem); }
	.ahk-mr-layout { grid-template-columns: 1fr !important; }
	.ahk-mr-signature-inner { padding-left: 0; }
	.ahk-mr-toc { position: relative; top: auto; }
	.admin-bar .ahk-mr-toc { top: auto; }
	.ahk-mr-related-grid { grid-template-columns: 1fr; }
	.ahk-mr-related-card:last-child { grid-column: auto; }
	.ahk-mr-table {
		overflow: visible;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}
	.ahk-mr-table table,
	.ahk-mr-table tbody,
	.ahk-mr-table tr,
	.ahk-mr-table td {
		display: block;
		width: 100%;
		min-width: 0;
	}
	.ahk-mr-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
	}
	.ahk-mr-table tbody tr {
		margin: 0 0 14px;
		overflow: hidden;
		border: 1px solid #d6e1e7;
		border-radius: 15px;
		background: #fff;
		box-shadow: 0 10px 28px rgba(24,49,63,.07);
	}
	.ahk-mr-table tbody tr:last-child { margin-bottom: 0; }
	.ahk-mr-table td {
		display: grid;
		grid-template-columns: minmax(92px,.72fr) minmax(0,1.28fr);
		gap: 15px;
		align-items: start;
		padding: 14px 16px;
		border-bottom: 1px solid #e2e8ec;
		font-size: .91rem;
		overflow-wrap: anywhere;
	}
	.ahk-mr-table td:first-child {
		display: block;
		padding: 13px 16px;
		border-bottom: 0;
		background: linear-gradient(105deg, #111a20, #172630);
		color: #fff;
		font-size: .92rem;
		font-weight: 760;
		letter-spacing: .01em;
	}
	.ahk-mr-table td:first-child::before { display: none; }
	.ahk-mr-table td:last-child { border-bottom: 0; }
	.ahk-mr-table td::before {
		color: #17242c;
		font-size: .78rem;
		font-weight: 760;
		line-height: 1.45;
		content: attr(data-label);
	}
	.ahk-mr-table figcaption {
		margin-top: 12px;
		border: 1px solid #dce5ea;
		border-radius: 12px;
		background: #fff;
	}
}

@media (max-width: 520px) {
	.ahk-mr-actions { align-items: stretch; }
	.ahk-mr-actions .wp-block-button, .ahk-mr-actions .wp-block-button__link { width: 100%; text-align: center; }
	.ahk-mr-answer { padding: 28px 24px; }
	.ahk-mr-article { padding-top: 56px; }
	.ahk-mr-reading-shell { width: calc(100% - 24px) !important; }
	.ahk-mr-table { margin-right: auto !important; margin-left: auto !important; }
	.ahk-mr-cta-inner { border-right: 0; border-left: 0; border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.ahk-mr-page *, .ahk-mr-page *::before, .ahk-mr-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

