/* ==========================================================================
   R24 Karriere – styles
   Values taken from the original funnel's computed styles (Perspective "Recruiting" theme).
   Mobile first; breakpoints as in the original: 640px (sm) and 768px (md).
   ========================================================================== */

/* The original loads only these two static cuts (Inter v12, 300 and 600): text set in 400 renders
   with the 300 face and bold text with the 600 face. Same files here, so text measures identically. */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/inter-v12-latin-ext-300.woff2") format("woff2");
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/inter-v12-latin-ext-600.woff2") format("woff2");
}

:root {
	/* Color */
	--color-bg: #fff;
	--color-text: #000;
	--color-accent: #ffb70f;
	--color-accent-soft: rgba(255, 183, 15, .2);
	--color-on-accent: #f5f5f5;
	--color-border: #e5e7eb;
	--color-muted: rgba(0, 0, 0, .6);
	--color-error: #dc2626;
	--color-focus: #000;

	/* Typography (mobile → tablet → desktop, see media queries) */
	--font-base: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-ui: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--fs-display: 24px;
	--lh-display: 1.25;
	--ls-display: normal;
	--fs-lead: 20px;
	--lh-lead: 25px;
	--fs-body: 16px;
	--lh-body: 24px;
	--fs-small: 14px;
	--fs-xs: 12px;

	/* Spacing */
	--gutter: 24px;
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-8: 64px;

	/* Layout */
	--container: 1184px;
	--content: 896px;
	--form: 576px;
	--tile: 212px;
	--tile-gap: 16px;

	/* Shape & motion */
	--radius: 8px;
	--radius-media: 12px;
	--shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
	--transition: .5s cubic-bezier(0, 0, .2, 1);
}

@media (min-width: 640px) {
	:root {
		--fs-display: 30px;
		--lh-display: 1.2;
		--ls-display: -.01em;
	}
}
@media (min-width: 768px) {
	:root {
		--fs-display: 36px;
		--lh-display: 1.15;
		--ls-display: -.02em;
		--fs-lead: 24px;
		--lh-lead: 30px;
	}
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-base);
	font-size: var(--fs-body);
	font-optical-sizing: auto;
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote, fieldset, legend { margin: 0; padding: 0; border: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
strong, b { font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }

/* ---------- Header ---------- */
.site-header { display: flex; padding: 16px var(--gutter); }
.site-logo { display: inline-flex; }
.site-logo picture { display: block; }
.site-logo img { width: auto; height: 48px; }
.site-main:focus { outline: none; }

/* ---------- Blocks & type ---------- */
.block {
	max-width: calc(var(--content) + 2 * var(--gutter)); /* text column: 896px like the original */
	margin: 0 auto;
	padding: var(--space-4) var(--gutter);
	text-align: center;
}
.block--media { padding-top: 40px; padding-bottom: 40px; }
.block--logo { padding-top: var(--space-4); padding-bottom: 15px; }
.block--video { padding-top: 0; padding-bottom: 0; }
.block--kicker + .block--video,
[data-section-type="kicker"] + [data-section-type="video"] > .block--video { padding-top: var(--space-4); } /* builder: sections sit in .sb-section wrappers */
.block--after-media { padding-top: 31px; padding-bottom: 7px; }
.block--intro { padding-top: 24px; padding-bottom: 24px; }
.block--tight { padding-top: 12px; padding-bottom: 12px; }
.block--note { padding-top: 64px; padding-bottom: 112px; }
.block--cta { padding-top: 24px; padding-bottom: 24px; }
.block--form { padding-top: 32px; }
.block--after-video { padding-top: 40px; }
.block--lead-title { padding-top: 24px; }               /* Präsentation title */
.block--caption { padding-top: 7px; padding-bottom: 33px; } /* line above a video */
.block--prose { padding-top: 8px; padding-bottom: 56px; } /* original: 96px from the last paragraph to the image */
.block--heading { padding-top: 15px; padding-bottom: 31px; }
.block--kicker { padding-bottom: var(--space-2); }
.block--title { padding-top: var(--space-6); }
.block--sub { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.block--list { padding-top: var(--space-5); padding-bottom: var(--space-5); }
.block--benefit { padding-top: 74px; } /* original: hidden divider row (56px) before "Dein Benefit" */
.block--button { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.block--icon { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.block--section { padding-top: 47px; }
.block--cards { padding-bottom: 28px; }
.display {
	font-size: var(--fs-display);
	font-weight: 700;
	line-height: var(--lh-display);
	letter-spacing: var(--ls-display);
}
.display--xl { font-size: 32px; }
@media (min-width: 768px) {
	.display--xl { font-size: 48px; }
}
.lead { font-size: var(--fs-lead); font-weight: 400; line-height: var(--lh-lead); }
.subtitle { font-size: var(--fs-lead); font-weight: 700; line-height: var(--lh-lead); }
.prose { max-width: calc(var(--content) + 2 * var(--gutter)); }
.prose p + p { margin-top: var(--space-5); }

/* ---------- Tiles (department cards, job tiles, single-choice answers) ---------- */
.tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--tile-gap);
	max-width: var(--content);
	margin: 38px auto 0;
}
.step .tiles { margin-top: 24px; } /* answer tiles: 24px below the question, 40px from 768px */
@media (min-width: 768px) {
	.step .tiles { margin-top: 40px; }
}
@media (min-width: 768px) {
	.tiles {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	.tiles > li { width: var(--tile); }
}
.tile {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--color-accent);
	color: var(--color-on-accent);
	text-decoration: none;
	transition: transform .15s cubic-bezier(0, 0, .2, 1), box-shadow .15s cubic-bezier(0, 0, .2, 1);
}
/* Original: zoom on hover from 640px (0.5s), a short press-in on tap/click (0.2s). */
@media (min-width: 640px) {
	.tile { transition-duration: .5s; }
	.tile:hover { transform: scale(1.05); box-shadow: var(--shadow-hover); }
}
.tile:focus-visible { transform: scale(1.05); box-shadow: var(--shadow-hover); }
.tile:active { transform: scale(.9); transition-duration: .2s; }
@media (prefers-reduced-motion: reduce) {
	.tile:hover, .tile:focus-visible, .tile:active { transform: none; }
}
.tile__media, .tile__icon { display: block; aspect-ratio: 4 / 3; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tile__icon { display: flex; align-items: center; justify-content: center; color: #fff; }
.tile__icon svg { width: 64px; height: 64px; }
.tile__label {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	padding: var(--space-4);
	font-weight: 700;
	line-height: 20px;
	overflow-wrap: anywhere;
}
.tile__label--small { font-size: var(--fs-small); line-height: 21px; }
@media (min-width: 768px) {
	.tile__label { line-height: 24px; }
	.tile__label--small { line-height: 21px; }
}
.tiles--photo .tile__label { flex: 0 0 auto; min-height: 52px; }
@media (min-width: 768px) {
	.tiles--photo .tile__label { min-height: 56px; }
}

/* ---------- Scroll arrow ---------- */
.scroll-down { display: inline-block; color: var(--color-text); }
.scroll-down svg { width: 77px; height: 77px; }

/* ---------- Testimonials ---------- */
.testimonials {
	display: grid;
	gap: var(--space-6);
	max-width: calc(var(--content) + 2 * var(--gutter));
	padding-top: 35px;
	padding-bottom: 21px;
}
@media (min-width: 768px) {
	.testimonials { grid-template-columns: repeat(2, 1fr); }
}
.testimonial__avatar { width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 50%; object-fit: cover; }
.testimonial__name { font-weight: 700; }

/* ---------- Media ---------- */
.media { max-width: var(--content); margin: 0 auto; overflow: hidden; border-radius: var(--radius-media); }
.media--image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media--logo { border-radius: 0; }
.media--logo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.media--video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.media--video iframe { width: 100%; height: 100%; border: 0; }
/* Until media cookies are allowed (original: 448px wide, 608px from 1024px, square corners below 640px). */
.media--video-blocked {
	width: calc(100% - 32px);
	max-width: 432px;
	border-radius: 0;
	background: #2b2b2d url("../images/funnel/video-consent-bg.jpg") center / cover no-repeat;
}
@media (min-width: 640px) {
	.media--video-blocked { width: 100%; max-width: 448px; border-radius: var(--radius-media); }
}
@media (min-width: 1024px) {
	.media--video-blocked { max-width: 608px; }
}
.video__consent {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px;
	color: #fff;
	font-family: var(--font-ui);
}
@media (min-width: 640px) {
	.video__consent { gap: 16px; }
}
.video__consent-icon { width: 12%; height: auto; filter: drop-shadow(0 1px .5px rgba(0, 0, 0, .25)); }
.video__consent-text { padding: 0 16px; font-size: 14px; line-height: 20px; text-align: center; }
.video__consent-text a { color: #fff; text-decoration: underline; }
.video__consent-text a:hover { color: #d1d5db; }
.video__consent-button {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 16px;
	border: 0;
	border-radius: 8px;
	background: #2563eb;
	color: #fff;
	font-size: 14px;
	line-height: 20px;
	transition: background-color .15s cubic-bezier(.4, 0, .2, 1);
}
.video__consent-button:hover { background: #1d4ed8; }
@media (max-width: 767px) {
	.block--media { padding: 24px 32px 16px; }
	.media--logo { margin: 0 calc(-1 * var(--gutter)); } /* edge to edge */
}

/* ---------- Benefit ---------- */
.benefit { padding: var(--space-4) 0; }
.benefit__kicker { font-size: var(--fs-lead); font-weight: 700; line-height: var(--lh-lead); }
.benefit__title {
	font-size: var(--fs-display);
	font-weight: 700;
	line-height: var(--lh-display);
	letter-spacing: var(--ls-display);
}
.benefit__text { margin-top: 24px; }
.benefit__text + .benefit__text { margin-top: 0; }

/* ---------- Emoji lists (job ad, benefits) ---------- */
.emoji-list {
	display: grid;
	gap: var(--space-5); /* original: two 436px columns, 24px apart */
	max-width: var(--content);
	margin: 0 auto;
	text-align: left;
}
@media (min-width: 768px) {
	.emoji-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.emoji-list li { display: flex; align-items: flex-start; gap: 32px; padding-left: var(--space-2); }
.emoji-list__text { display: flex; align-items: center; min-height: 48px; }
.emoji-list__emoji { flex: 0 0 32px; font-size: 32px; line-height: 48px; text-align: center; }
.emoji-list--small { gap: var(--space-4) var(--space-6); }
.emoji-list--small li { gap: var(--space-4); }
.emoji-list--small .emoji-list__text { min-height: 24px; }
.emoji-list--small .emoji-list__emoji { flex-basis: 20px; font-size: 20px; line-height: 24px; }
.emoji-list--small .emoji-list__text { font-size: var(--fs-small); line-height: 21px; }

/* ---------- Buttons ---------- */
.button {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: var(--space-4) var(--space-5);
	border: 0;
	border-radius: var(--radius);
	background: var(--color-accent);
	color: var(--color-on-accent);
	font-size: var(--fs-lead);
	font-weight: 700;
	line-height: var(--lh-lead);
	text-align: center;
	text-decoration: none;
	transition: transform var(--transition), box-shadow var(--transition);
}
.button:hover { transform: scale(1.05); box-shadow: var(--shadow-hover); }
.button:disabled { cursor: progress; opacity: .7; transform: none; }
.button--small { font-size: var(--fs-body); line-height: var(--lh-body); }
.button--stacked span { font-size: var(--fs-body); font-weight: 400; line-height: var(--lh-body); }
@media (min-width: 1024px) {
	.button { width: auto; padding: var(--space-4) var(--space-6); }
}
@media (prefers-reduced-motion: reduce) {
	.button:hover { transform: none; }
}

/* Customer Care: single option shown as icon + button */
.choice-button { display: flex; flex-direction: column; align-items: center; gap: 32px; margin: 38px 0 16px; }
.choice-button__icon { width: 77px; height: 77px; }

/* ---------- Forms ---------- */
.funnel-form { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); }
.funnel-form > .display { margin-bottom: 14px; }
.funnel-form > * { width: 100%; max-width: var(--form); }
.funnel-form > .choices { max-width: none; }
.funnel-form > .display { max-width: 864px; } /* question box has 16px side padding in the original */
@media (min-width: 1024px) {
	.funnel-form > .button { width: auto; }
}
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { color: var(--color-error); font-size: var(--fs-small); }

.field {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	min-height: 56px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: #fff;
	text-align: left;
	transition: border-color .15s, box-shadow .15s;
}
.field:focus-within { border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-soft); }
.field__icon { position: absolute; top: 16px; left: 16px; font-size: 20px; line-height: 24px; }
.field input:not([type="checkbox"]), .field textarea, .field select {
	flex: 1;
	min-width: 0;
	height: 54px;
	padding: 0 40px 0 52px;
	border: 0;
	background: transparent;
	font-weight: 300;
	outline: none;
}
.field textarea { height: 158px; padding: 16px 16px 16px 52px; resize: none; } /* fixed 160px box like the original */
@media (max-width: 639px) {
	.field textarea { height: 126px; } /* 128px box below 640px */
}
.field input::placeholder, .field textarea::placeholder { color: #6b7280; opacity: 1; }
.field--phone .field__code {
	flex: 0 0 auto;
	height: 54px;
	padding: 0 4px 0 16px;
	font-weight: 400;
	cursor: pointer;
}
.field--phone input:not([type="checkbox"]) { padding-left: 8px; }
.field__alert {
	position: absolute;
	top: 18px;
	right: 22px;
	display: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #ef4444;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
}
.field__alert::after { content: "!"; }
.field.is-invalid .field__alert { display: block; }
.field__error { flex: 0 0 100%; margin: -8px 0 12px 52px; color: var(--color-error); font-size: var(--fs-xs); line-height: 16px; }
/* Free-text question: the message sits inside the box, 16px above its bottom edge, so nothing below moves (original). */
.field--textarea .field__error { position: absolute; bottom: 16px; left: 52px; margin: 0; line-height: 15px; }
.field--phone .field__error { margin-left: 56px; }

.field--checkbox {
	display: grid;
	grid-template-columns: 24px 1fr;
	gap: 0 var(--space-4);
	min-height: 0;
	padding: var(--space-2) 0;
	border: 0;
	background: none;
	box-shadow: none !important;
}
.field--checkbox input { width: 24px; height: 24px; margin: 0; accent-color: var(--color-accent); }
.field--checkbox label { padding-right: var(--space-4); font-size: var(--fs-small); line-height: 24px; } /* original: 16px free on the right */
.field--checkbox input { align-self: center; }
.field--checkbox .field__error { grid-column: 2; margin: 4px 0 0; }

/* Multiple choice (goals) */
.choices { max-width: var(--content); margin: 0 auto; }
.choices legend { width: 100%; margin-bottom: 32px; }
.choices__grid { display: grid; gap: var(--space-4); }
@media (min-width: 768px) {
	.choices__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.choices__hint { display: block; font-size: var(--fs-body); font-weight: 400; line-height: var(--lh-body); letter-spacing: normal; }
.choice {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	min-height: 64px;
	padding: var(--space-4);
	border-radius: var(--radius);
	background: var(--color-accent);
	color: var(--color-on-accent);
	text-align: left;
	cursor: pointer;
	transition: transform var(--transition), box-shadow var(--transition);
}
.choice:hover { transform: scale(1.02); box-shadow: var(--shadow-hover); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__check {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #fff center / 11px 9px no-repeat;
	box-shadow: inset 0 0 0 2px #fff;
}
.choice input:checked + .choice__label + .choice__check {
	background-color: var(--color-accent);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9'%3E%3Cpath d='M1 4.5l3 3L10 1' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.choice input:focus-visible + .choice__label + .choice__check { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* Upload */
.upload { padding: var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; text-align: left; }
.upload__drop {
	position: relative;
	padding: var(--space-4) var(--space-4) var(--space-4) 48px;
	border: 1px dashed var(--color-border);
	border-radius: 6px;
}
.upload:focus-within { border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-soft); }
.upload__icon { position: absolute; top: 14px; left: 16px; font-size: 20px; }
.upload__label { color: #111827; font-size: var(--fs-small); line-height: 20px; }
.upload__hint { margin-top: 4px; color: #6b7280; font-size: var(--fs-xs); line-height: 16px; }
.upload__hint.is-error { color: var(--color-error); }
.upload__input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.upload-video { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-2); text-align: left; }
.upload-video__title { font-size: var(--fs-small); font-weight: 600; line-height: 20px; }

/* Thanks */
.thanks__icon { width: 77px; height: 77px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer {
	padding: var(--space-6) var(--space-4);
	color: var(--color-muted);
	font-family: var(--font-ui);
	font-size: var(--fs-xs);
	line-height: 16px;
	text-align: center;
}
.site-footer a, .site-footer__consent { color: inherit; text-decoration: underline; }
.site-footer a:hover, .site-footer__consent:hover { color: var(--color-text); }
.site-footer__sep { padding: 0 6px; }
.site-footer__consent { padding: 0; border: 0; background: none; font: inherit; }

/* ---------- Progress bar ---------- */
.progress {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 10;
	height: 4px;
	background: var(--color-accent-soft);
}
.progress__bar { height: 100%; background: var(--color-accent); }

/* ---------- Consent dialog (original "Einwilligung zur Datenverarbeitung") ---------- */
.consent {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end; /* original: at the bottom on phones, centered from 640px */
	padding: 8px;
	background: rgba(0, 0, 0, .2);
}
@media (min-width: 640px) {
	.consent { justify-content: center; }
}
.consent__dialog {
	position: relative;
	width: 100%;
	border-radius: 8px;
	background: #f9fafb;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
	font-family: var(--font-ui);
}
@media (min-width: 640px) {
	.consent__dialog { width: 360px; }
}
.consent__body { max-height: 496px; overflow-y: auto; padding: 24px; color: #374151; }
.consent__cookie { position: absolute; top: 0; right: 0; width: 60px; height: 60px; pointer-events: none; }
.consent__title { margin-bottom: 12px; color: #1f2937; font-size: 16px; font-weight: 600; line-height: 24px; }
.consent__subtitle { margin-top: 16px; color: #1f2937; font-size: 14px; font-weight: 500; line-height: 20px; }
.consent__text { font-size: 14px; line-height: 1.625; }
.consent__text a, .consent__links a, .consent__details a { color: #374151; text-decoration: underline; }
.consent__text a:hover, .consent__links a:hover, .consent__details a:hover, .consent__more:hover { color: #111827; }
.consent__more { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; }
.consent__links { margin-top: 12px; font-size: 14px; line-height: 20px; }
.consent__links a { padding-right: 8px; }
.consent__categories { margin-bottom: 16px; font-size: 14px; line-height: 1.625; }
.consent__row { display: flex; align-items: center; margin-top: 16px; }
.consent__toggle-details { display: flex; flex: 1; align-items: center; gap: 16px; padding: 0; border: 0; background: none; color: inherit; text-align: left; }
.consent__triangle { flex: 0 0 auto; width: 0; height: 0; border-width: 6px 0 6px 6px; border-style: solid; border-color: transparent transparent transparent #4a4a4a; transition: transform .2s; }
.consent__toggle-details[aria-expanded="true"] .consent__triangle { transform: rotate(90deg); }
.consent__details { padding-left: 22px; }
.consent__details p { margin-top: 16px; }
.consent__row--service > span { flex: 1; }
.consent__switch {
	position: relative;
	flex: 0 0 40px;
	width: 40px;
	height: 20px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #8d8d8d;
	transition: background .2s;
}
.consent__switch::after {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	transition: transform .2s;
	content: "";
}
.consent__switch[aria-checked="true"] { background: #19ab27; }
.consent__switch[aria-checked="true"]::after { transform: translateX(20px); }
.consent__switch:disabled { cursor: not-allowed; opacity: .6; }
.consent__button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: #dbeafe;
	color: #1d4ed8;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	transition: color .15s cubic-bezier(.4, 0, .2, 1), background-color .15s cubic-bezier(.4, 0, .2, 1);
}
.consent__button:hover { color: #1e40af; }
.consent__button--primary { background: #2563eb; color: #fff; }
.consent__button--primary:hover { color: #fff; }
.consent__button--primary:hover { background: #1d4ed8; }
.consent__secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }

/* ---------- Generic pages ---------- */
.page-content { max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: var(--space-4) var(--gutter) var(--space-8); }
.page-content__title { margin-bottom: var(--space-6); font-size: var(--fs-display); line-height: var(--lh-display); }
.entry-content > * + * { margin-top: var(--space-4); }

/* ---------- Accessibility helpers ---------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}
.skip-link:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 20px;
	clip-path: none;
	background: var(--color-bg);
	box-shadow: 0 0 0 2px var(--color-focus);
}

/* Tablet (768–1023px), as the original: a 736px column with 16px sides, images inset by 40px,
   full-width buttons (from main rules above, auto width only from 1024px) and four tiles per row. */
@media (min-width: 768px) and (max-width: 1023px) {
	:root { --content: 736px; --gutter: 16px; }
	.block--media { padding-left: 56px; padding-right: 56px; }
	.tiles > li { width: calc(25% - 12px); }
	.step--multi .funnel-form > .button { max-width: none; }
}

/* Mobile block rhythm of the original (more vertical air below 768px) */
@media (max-width: 767px) {
	.block:not([class*="block--"]) { padding-top: 24px; padding-bottom: 24px; }
	.block--cards { padding-top: 24px; padding-bottom: 30px; }
	.block--cards .tiles { margin-top: 25px; }
	.block--icon { padding-top: 40px; padding-bottom: 40px; }
	.block--section { padding-top: 56px; padding-bottom: 16px; }
	.block.prose { padding-top: 34px; }
	.testimonials { gap: 22px; }
	.block--title { padding-top: 40px; }
	.block--sub { padding-top: 16px; padding-bottom: 16px; }
	.block--list { padding-top: 32px; padding-bottom: 32px; }
	.block--button { padding-top: 40px; }
	.block--kicker { padding-top: 24px; padding-bottom: 16px; }
	.block--logo { padding-top: 24px; padding-bottom: 24px; }
	.tiles { margin-top: 24px; }
	.block--benefit { padding-top: 97px; }
	main > .block--benefit:last-child, main > .sb-section:last-child > .block--benefit { padding-bottom: 24px; } /* last before the footer */
	.benefit__text { margin-top: 40px; }
	.block:not([class*="block--"]) > .benefit { padding-bottom: 8px; }
	.choices legend { margin-bottom: 24px; }
	.block.testimonials { padding-top: 52px; }
	.block--title { padding-bottom: 24px; }
	.block--video { padding: 8px; }
	.block--kicker + .block--video, [data-section-type="kicker"] + [data-section-type="video"] > .block--video { padding: 24px 8px 8px; }
	.block--after-video { padding-top: 48px; }
	.choice-button { margin-top: 48px; }
	.block--lead-title { padding-top: 32px; padding-bottom: 24px; }
	.block--caption { padding-top: 16px; padding-bottom: 40px; }
	.block--after-media { padding-top: 40px; padding-bottom: 16px; }
	.block--cta { padding-top: 32px; padding-bottom: 32px; }
	.step--presentation .block--button { padding-bottom: 40px; } /* last button, after the image */
	.block.block--prose { padding-top: 18px; }
	.block--tight { padding-top: 16px; padding-bottom: 22px; }
	.block--heading { padding-top: 24px; padding-bottom: 40px; }
	.block--intro { padding-top: 32px; padding-bottom: 30px; }
	.block--form { padding-top: 40px; }
	.funnel-form > .display { margin-bottom: 8px; }
	.block--note { padding-top: 90px; padding-bottom: 136px; }
	.step--text .funnel-form { padding-bottom: 40px; } /* free-text question: 80px from the button to "Dein Benefit" */
	.funnel-form + .block--tight { padding-top: 24px; } /* "Sichere Verbindung" 40px below the submit button */
}
