/**
 * HIBERT RENTAL – gemeinsame Styles für die ergänzenden Seiten-Patterns.
 *
 * Die Kapselung unter .hrw-page schützt die bestehende Startseite, den
 * Mietartikel-Katalog sowie Header und Footer vor unbeabsichtigten Änderungen.
 */
.hrw-page {
	--hrw-navy: #000034;
	--hrw-navy-soft: #10104a;
	--hrw-orange: #f5a623;
	--hrw-orange-hover: #ffb43b;
	--hrw-orange-text: #925500;
	--hrw-ink: #11152a;
	--hrw-muted: #647083;
	--hrw-paper: #f7f4ef;
	--hrw-paper-deep: #eee9e1;
	--hrw-white: #ffffff;
	--hrw-border: rgba(0, 0, 52, 0.11);
	--hrw-border-strong: rgba(0, 0, 52, 0.2);
	--hrw-shadow: 0 18px 52px rgba(0, 0, 52, 0.1);
	--hrw-shadow-soft: 0 10px 30px rgba(0, 0, 52, 0.07);
	--hrw-radius: 18px;
	--hrw-radius-small: 10px;
	--hrw-container: 1180px;
	max-width: none !important;
	margin-block: 0 !important;
	padding: 0 !important;
	background: var(--hrw-white);
	color: var(--hrw-ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.68;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.hrw-page,
.hrw-page * {
	box-sizing: border-box;
}

.hrw-page :where(h1, h2, h3, h4, p, ul, ol, figure) {
	margin-top: 0;
}

.hrw-page :where(h1, h2, h3, h4) {
	color: var(--hrw-navy);
	font-family: inherit;
	font-weight: 800;
	letter-spacing: -0.025em;
}

.hrw-page p,
.hrw-page li {
	line-height: 1.68;
}

.hrw-page a:not(.wp-element-button) {
	color: var(--hrw-navy);
	text-decoration-color: var(--hrw-orange);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.hrw-page :where(section[id], div[id]) {
	scroll-margin-top: 112px;
}

.hrw-page :where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--hrw-orange-text) !important;
	outline-offset: 3px;
}

/* Theme-Fallback: Block- und Elementor-Titel werden serverseitig verhindert.
 * Diese Regel deckt klassische Themes ab, die keinen passenden Filter bieten. */
.hrw-has-content-h1 :where(.entry-title, .page-title, .elementor-page-title) {
	display: none;
}

.hrw-not-found {
	min-height: 62vh;
	padding: clamp(72px, 9vw, 120px) 24px;
	background: #f7f4ef;
	color: #11152a;
	text-align: center;
}

.hrw-not-found .hrw-not-found__inner {
	width: min(760px, 100%);
	margin: 0 auto;
}

/* Width helpers and headings. */
.hrw-page .hrw-container {
	width: min(var(--hrw-container), calc(100% - 48px));
	max-width: var(--hrw-container) !important;
	margin-inline: auto !important;
}

.hrw-page .hrw-kicker {
	margin-bottom: 14px !important;
	color: var(--hrw-orange-text);
	font-size: 14px !important;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
}

.hrw-page .hrw-section-title {
	max-width: 920px;
	margin-bottom: 20px !important;
	font-size: clamp(36px, 4.1vw, 54px) !important;
	line-height: 1.1 !important;
}

.hrw-page .hrw-card-title {
	margin-bottom: 14px !important;
	font-size: clamp(26px, 2.6vw, 34px) !important;
	line-height: 1.16 !important;
}

.hrw-page .hrw-section-text,
.hrw-page .hrw-lead {
	max-width: 800px;
	margin-bottom: 0 !important;
	color: var(--hrw-muted);
	font-size: clamp(17px, 1.7vw, 20px) !important;
	line-height: 1.7;
}

.hrw-page .hrw-section__intro {
	margin: 0 auto 52px !important;
}

.hrw-page .hrw-section__intro .hrw-section-title,
.hrw-page .has-text-align-center.hrw-section-title,
.hrw-page .has-text-align-center.hrw-section-text,
.hrw-page .has-text-align-center.hrw-lead {
	margin-inline: auto !important;
}

/* Hero sections. */
.hrw-page .hrw-hero {
	position: relative;
	isolation: isolate;
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--hrw-white);
	background: var(--hrw-navy);
}

.hrw-page .hrw-hero::after {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(90deg, rgba(0, 0, 52, 0.34) 0%, rgba(0, 0, 52, 0.08) 58%, rgba(0, 0, 52, 0.16) 100%);
	content: "";
	pointer-events: none;
}

.hrw-page .hrw-hero > .wp-block-cover__background,
.hrw-page .hrw-hero > .wp-block-cover__image-background {
	z-index: 0;
}

.hrw-page .hrw-hero > .wp-block-cover__inner-container {
	z-index: 2;
	width: 100%;
}

.hrw-page .hrw-hero__inner {
	display: flex;
	min-height: inherit;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding-block: clamp(88px, 10vw, 136px) !important;
}

.hrw-page .hrw-hero .hrw-kicker,
.hrw-page .hrw-final-cta .hrw-kicker,
.hrw-page .hrw-section--navy .hrw-kicker {
	color: var(--hrw-orange);
}

.hrw-page .hrw-hero__title {
	max-width: 940px;
	margin-bottom: 4px !important;
	color: var(--hrw-white) !important;
	font-size: clamp(48px, 6.3vw, 78px) !important;
	font-weight: 820 !important;
	line-height: 1.02 !important;
	letter-spacing: -0.045em;
}

.hrw-page .hrw-script {
	max-width: 980px;
	margin: 0 0 28px !important;
	color: var(--hrw-orange);
	font-family: "HR Allura", Allura, "Segoe Script", cursive;
	font-size: clamp(48px, 6vw, 72px) !important;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.06;
}

.hrw-page .hrw-hero__text {
	max-width: 780px;
	margin-bottom: 32px !important;
	color: rgba(255, 255, 255, 0.93);
	font-size: clamp(18px, 1.8vw, 21px) !important;
	line-height: 1.65;
}

.hrw-page--photos .hrw-hero__inner {
	max-width: var(--hrw-container) !important;
}

.hrw-page--contact .hrw-hero > img {
	object-position: center 48%;
}

.hrw-page--about .hrw-hero > img,
.hrw-page--inquiry .hrw-hero > img {
	object-position: center;
}

/* The inquiry page intentionally uses a text/image split instead of a cover. */
.hrw-page .hrw-hero--split {
	min-height: 620px;
	padding: 76px max(24px, calc((100vw - var(--hrw-container)) / 2)) !important;
}

.hrw-page .hrw-hero--inquiry {
	background-color: var(--hrw-navy) !important;
}

.hrw-page .hrw-hero--split::after {
	display: none;
}

.hrw-page .hrw-hero-split {
	display: grid !important;
	width: 100%;
	max-width: var(--hrw-container) !important;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	align-items: center;
	gap: clamp(44px, 6vw, 82px);
	margin: 0 auto !important;
}

.hrw-page .hrw-hero--split .hrw-hero__inner {
	width: auto;
	min-height: 0;
	margin: 0 !important;
	padding: 0 !important;
}

.hrw-page .hrw-hero-split__media,
.hrw-page .hrw-hero-split__image {
	min-width: 0;
	margin: 0 !important;
}

.hrw-page .hrw-hero-split__image {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--hrw-radius);
	box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
	aspect-ratio: 4 / 3;
}

.hrw-page .hrw-hero-split__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hrw-page .hrw-hero--photos > img {
	object-position: center;
}

.hrw-page .hrw-hero--about > img {
	object-position: center 52%;
}

.hrw-page .hrw-hero--contact > img {
	object-position: center 48%;
}

/* Full-width content sections. */
.hrw-page .hrw-section {
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding: clamp(78px, 8vw, 108px) max(24px, calc((100vw - var(--hrw-container)) / 2)) !important;
}

.hrw-page .hrw-section > * {
	margin-left: auto;
	margin-right: auto;
}

.hrw-page .hrw-section--light {
	background: var(--hrw-white);
}

.hrw-page .hrw-section--warm {
	background: var(--hrw-paper);
}

.hrw-page .hrw-section--navy {
	background: var(--hrw-navy);
	color: rgba(255, 255, 255, 0.86);
}

.hrw-page .hrw-section--navy :where(h2, h3),
.hrw-page .hrw-final-cta :where(h2, h3) {
	color: var(--hrw-white) !important;
}

.hrw-page .hrw-section--navy .hrw-section-text,
.hrw-page .hrw-section--navy .hrw-lead,
.hrw-page .hrw-final-cta .hrw-lead {
	color: rgba(255, 255, 255, 0.82);
}

.hrw-page .hrw-photo-compare > .hrw-section__intro,
.hrw-page .hrw-contact-options > .hrw-section-title,
.hrw-page .hrw-region > .hrw-section-title,
.hrw-page .hrw-region > .hrw-section-text {
	margin-inline: auto !important;
}

.hrw-page .hrw-photo-products {
	width: 100%;
}

.hrw-page .hrw-story,
.hrw-page .hrw-contact-options,
.hrw-page .hrw-region {
	position: relative;
}

/* Buttons and actions. */
.hrw-page .hrw-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 4px;
}

.hrw-page .hrw-button,
.hrw-page .hrw-button .wp-block-button__link {
	margin: 0;
}

.hrw-page .hrw-button .wp-element-button,
.hrw-page .wp-block-button.hrw-button .wp-block-button__link {
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	padding: 14px 25px;
	border: 2px solid var(--hrw-navy);
	border-radius: 8px !important;
	background: transparent;
	box-shadow: none;
	color: var(--hrw-navy);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.hrw-page .hrw-button--primary .wp-element-button,
.hrw-page .wp-block-button.hrw-button--primary .wp-block-button__link {
	border-color: var(--hrw-orange);
	background: var(--hrw-orange);
	color: var(--hrw-navy);
}

.hrw-page .hrw-button .wp-element-button:hover,
.hrw-page .wp-block-button.hrw-button .wp-block-button__link:hover {
	transform: translateY(-2px);
	background: var(--hrw-navy);
	color: var(--hrw-white);
	box-shadow: 0 10px 24px rgba(0, 0, 52, 0.16);
}

.hrw-page .hrw-button--primary .wp-element-button:hover,
.hrw-page .wp-block-button.hrw-button--primary .wp-block-button__link:hover {
	border-color: var(--hrw-orange-hover);
	background: var(--hrw-orange-hover);
	color: var(--hrw-navy);
}

.hrw-page .hrw-hero .hrw-button--outline .wp-element-button,
.hrw-page .hrw-section--navy .hrw-button--outline .wp-element-button,
.hrw-page .hrw-final-cta .hrw-button--outline .wp-element-button {
	border-color: rgba(255, 255, 255, 0.9);
	color: var(--hrw-white);
}

.hrw-page .hrw-hero .hrw-button--outline .wp-element-button:hover,
.hrw-page .hrw-section--navy .hrw-button--outline .wp-element-button:hover,
.hrw-page .hrw-final-cta .hrw-button--outline .wp-element-button:hover {
	border-color: var(--hrw-white);
	background: var(--hrw-white);
	color: var(--hrw-navy);
}

.hrw-page .hrw-button--text .wp-element-button {
	min-height: 46px;
	padding: 10px 18px;
}

/* Product comparison cards. */
.hrw-page .hrw-split-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	margin: 0 !important;
}

.hrw-page .hrw-split-grid > .wp-block-column {
	min-width: 0;
	margin: 0;
}

.hrw-page .hrw-product-panel {
	display: flex;
	height: 100%;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--hrw-border);
	border-radius: var(--hrw-radius);
	background: var(--hrw-white);
	box-shadow: var(--hrw-shadow);
}

.hrw-page .hrw-product-panel__image {
	width: 100%;
	margin: 0 !important;
	overflow: hidden;
	background: var(--hrw-paper-deep);
	aspect-ratio: 4 / 3;
}

.hrw-page .hrw-product-panel__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 420ms ease;
}

.hrw-page .hrw-product-panel:hover .hrw-product-panel__image img {
	transform: scale(1.025);
}

.hrw-page .hrw-product-panel__body {
	display: flex;
	min-width: 0;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 34px 34px 36px !important;
}

.hrw-page .hrw-product-panel__body > p:not(.hrw-kicker) {
	color: var(--hrw-muted);
}

.hrw-page .hrw-product-panel__body > .wp-block-buttons {
	margin-top: auto;
	padding-top: 8px;
}

.hrw-page .hrw-check-list {
	width: 100%;
	margin: 5px 0 26px !important;
	padding: 0;
	list-style: none;
}

.hrw-page .hrw-check-list li {
	position: relative;
	margin: 0 0 11px;
	padding-left: 28px;
	color: var(--hrw-ink);
}

.hrw-page .hrw-check-list li::before {
	position: absolute;
	top: 0;
	left: 0;
	color: var(--hrw-orange-text);
	content: "✓";
	font-weight: 900;
}

/* Feature and process cards. */
.hrw-page .hrw-feature-grid,
.hrw-page .hrw-step-grid,
.hrw-page .hrw-contact-grid {
	display: grid !important;
	gap: 22px;
	margin-top: 48px !important;
}

.hrw-page .hrw-feature-grid--four {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hrw-page .hrw-step-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hrw-page .hrw-feature-card,
.hrw-page .hrw-step-card {
	position: relative;
	height: 100%;
	margin: 0 !important;
	padding: 30px 26px 32px !important;
	border: 1px solid var(--hrw-border);
	border-radius: 14px;
	background: var(--hrw-white);
	box-shadow: var(--hrw-shadow-soft);
}

.hrw-page .hrw-feature-card h3,
.hrw-page .hrw-step-card h3 {
	margin-bottom: 12px !important;
	font-size: 21px !important;
	line-height: 1.25 !important;
}

.hrw-page .hrw-feature-card > p:last-child,
.hrw-page .hrw-step-card > p:last-child {
	margin-bottom: 0 !important;
	color: var(--hrw-muted);
	font-size: 16px;
}

.hrw-page .hrw-feature-card__number,
.hrw-page .hrw-step-card__number {
	display: inline-grid;
	width: 42px;
	height: 42px;
	place-items: center;
	margin-bottom: 22px !important;
	border-radius: 50%;
	background: rgba(245, 166, 35, 0.16);
	color: var(--hrw-orange-text);
	font-size: 14px !important;
	font-weight: 850;
	letter-spacing: 0.05em;
}

.hrw-page .hrw-section--navy .hrw-feature-card {
	border-color: rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.075);
	box-shadow: none;
}

.hrw-page .hrw-section--navy .hrw-feature-card h3 {
	color: var(--hrw-white) !important;
}

.hrw-page .hrw-section--navy .hrw-feature-card > p:last-child {
	color: rgba(255, 255, 255, 0.75);
}

.hrw-page .hrw-section--navy .hrw-feature-card__number {
	background: rgba(245, 166, 35, 0.15);
	color: var(--hrw-orange);
}

.hrw-page .hrw-process > .hrw-section-title,
.hrw-page .hrw-values > .hrw-section-title {
	margin-inline: auto !important;
}

/* Image/text split on the About page. */
.hrw-page .hrw-media-split {
	display: grid !important;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
	align-items: center;
	gap: clamp(42px, 6vw, 78px);
	margin: 0 !important;
}

.hrw-page .hrw-media-split > .wp-block-column {
	min-width: 0;
	margin: 0;
}

.hrw-page .hrw-media-split__media {
	width: 100%;
}

.hrw-page .hrw-rounded-image {
	margin: 0 !important;
	overflow: hidden;
	border-radius: var(--hrw-radius);
	box-shadow: var(--hrw-shadow);
	aspect-ratio: 4 / 3;
}

.hrw-page .hrw-rounded-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hrw-page .hrw-media-split__content .hrw-section-title {
	font-size: clamp(34px, 3.7vw, 48px) !important;
}

.hrw-page .hrw-media-split__content > p:not(.hrw-kicker) {
	margin-bottom: 17px !important;
	color: var(--hrw-muted);
}

/* Contact cards. */
.hrw-page .hrw-contact-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hrw-page .hrw-contact-card {
	display: flex;
	height: 100%;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
	margin: 0 !important;
	padding: 34px !important;
	border: 1px solid var(--hrw-border);
	border-radius: var(--hrw-radius);
	background: var(--hrw-white);
	box-shadow: var(--hrw-shadow-soft);
}

.hrw-page .hrw-contact-card--accent {
	border-color: var(--hrw-navy);
	background: var(--hrw-navy);
	color: rgba(255, 255, 255, 0.83);
}

.hrw-page .hrw-contact-card h3 {
	max-width: 100%;
	margin-bottom: 12px !important;
	font-size: clamp(23px, 2.4vw, 30px) !important;
	line-height: 1.2 !important;
	overflow-wrap: anywhere;
}

.hrw-page .hrw-contact-card--accent h3 {
	color: var(--hrw-white) !important;
}

.hrw-page .hrw-contact-card > p:not(.hrw-contact-card__label) {
	color: var(--hrw-muted);
}

.hrw-page .hrw-contact-card--accent > p:not(.hrw-contact-card__label) {
	color: rgba(255, 255, 255, 0.78);
}

.hrw-page .hrw-contact-card__label {
	margin-bottom: 13px !important;
	color: var(--hrw-orange-text);
	font-size: 13px !important;
	font-weight: 850;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.hrw-page .hrw-contact-card--accent .hrw-contact-card__label {
	color: var(--hrw-orange);
}

.hrw-page .hrw-contact-card > .wp-block-buttons {
	margin-top: auto;
	padding-top: 12px;
}

.hrw-page .hrw-small-note {
	margin-bottom: 0 !important;
	font-size: 14px !important;
	font-style: italic;
}

.hrw-page .hrw-contact-cta .wp-block-buttons,
.hrw-page .hrw-contact-fallback .wp-block-buttons {
	margin-top: 30px;
}

/* Inquiry form framing; individual fields live in the form stylesheet. */
.hrw-page .hrw-form-shell {
	width: 100%;
	margin: 46px auto 0 !important;
	padding: clamp(26px, 4vw, 48px) !important;
	border: 1px solid var(--hrw-border);
	border-radius: var(--hrw-radius);
	background: var(--hrw-white);
	box-shadow: var(--hrw-shadow);
}

.hrw-page .hrw-form-note {
	max-width: 820px;
	margin: 24px auto 0 !important;
	color: var(--hrw-muted);
	font-size: 14px !important;
	line-height: 1.65;
}

.hrw-page .hrw-inquiry-section .hrw-section__intro {
	margin-bottom: 0 !important;
}

/* FAQ accordion. */
.hrw-page .hrw-faq > .hrw-section-title {
	margin-inline: auto !important;
	margin-bottom: 38px !important;
}

.hrw-page .hrw-faq-item {
	margin: 0 0 14px !important;
	padding: 0 !important;
	overflow: hidden;
	border: 1px solid var(--hrw-border);
	border-radius: 12px;
	background: var(--hrw-white);
	box-shadow: 0 5px 18px rgba(0, 0, 52, 0.045);
}

.hrw-page .hrw-faq-item summary {
	position: relative;
	padding: 21px 58px 21px 24px;
	cursor: pointer;
	color: var(--hrw-navy);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.4;
	list-style: none;
}

.hrw-page .hrw-faq-item summary::-webkit-details-marker {
	display: none;
}

.hrw-page .hrw-faq-item summary::after {
	position: absolute;
	top: 50%;
	right: 24px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(245, 166, 35, 0.17);
	color: var(--hrw-navy);
	content: "+";
	font-size: 21px;
	font-weight: 700;
	line-height: 25px;
	text-align: center;
	transform: translateY(-50%);
}

.hrw-page .hrw-faq-item[open] summary::after {
	content: "−";
}

.hrw-page .hrw-faq-item > p {
	margin: 0 !important;
	padding: 0 24px 23px;
	color: var(--hrw-muted);
}

.hrw-page .hrw-faq > .wp-block-buttons {
	margin-top: 30px;
}

/* Final CTA shared by editorial pages. */
.hrw-page .hrw-final-cta {
	isolation: isolate;
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 24px !important;
	color: var(--hrw-white);
	background: var(--hrw-navy);
}

.hrw-page .hrw-final-cta > .wp-block-cover__inner-container {
	width: 100%;
}

.hrw-page .hrw-final-cta__inner {
	display: flex;
	min-height: inherit;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-block: 72px !important;
	text-align: center;
}

.hrw-page .hrw-final-cta .hrw-section-title {
	margin-inline: auto !important;
	font-size: clamp(36px, 4.4vw, 56px) !important;
}

.hrw-page .hrw-final-cta .hrw-actions {
	justify-content: center;
	margin-top: 30px;
}

/* Legal pages. */
.hrw-page--legal {
	background: var(--hrw-paper);
}

.hrw-page--legal :where(h1, h2, h3, h4) {
	font-weight: 700;
}

.hrw-page--legal .hrw-kicker {
	font-weight: 700;
	letter-spacing: 0.13em;
}

.hrw-page--imprint .hrw-legal-content,
.hrw-page--privacy .hrw-legal-content,
.hrw-page--rental-terms .hrw-legal-content {
	min-height: 42vh;
}

.hrw-page .hrw-legal-hero {
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding: clamp(88px, 9vw, 124px) max(24px, calc((100vw - var(--hrw-container)) / 2)) !important;
	background: linear-gradient(135deg, var(--hrw-navy) 0%, #101052 100%);
	color: var(--hrw-white);
}

.hrw-page .hrw-legal-hero > * {
	width: 100%;
	max-width: 960px;
	margin-left: 0 !important;
	margin-right: auto !important;
}

.hrw-page .hrw-legal-hero .hrw-kicker {
	color: var(--hrw-orange);
}

.hrw-page .hrw-legal-hero__title {
	max-width: 980px;
	margin-bottom: 18px !important;
	color: var(--hrw-white) !important;
	font-size: clamp(44px, 5vw, 58px) !important;
	font-weight: 700 !important;
	line-height: 1.08 !important;
	letter-spacing: -0.025em !important;
}

.hrw-page .hrw-legal-hero__text {
	max-width: 760px;
	margin-bottom: 0 !important;
	color: rgba(255, 255, 255, 0.8);
	font-size: clamp(17px, 1.7vw, 20px) !important;
}

.hrw-page .hrw-legal-content {
	background: var(--hrw-paper);
}

.hrw-page .hrw-legal-content > * {
	width: 100%;
	max-width: 960px;
}

.hrw-page .hrw-legal-updated {
	margin: 0 0 20px !important;
	color: var(--hrw-muted);
	font-size: 14px !important;
	font-weight: 650;
}

.hrw-page .hrw-legal-jumpnav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 30px !important;
}

.hrw-page .hrw-legal-jumpnav p {
	margin: 0 !important;
}

.hrw-page .hrw-legal-jumpnav a {
	display: inline-flex;
	min-height: 40px;
	align-items: center;
	padding: 8px 14px;
	border: 1px solid var(--hrw-border);
	border-radius: 999px;
	background: var(--hrw-white);
	color: var(--hrw-navy);
	font-size: 14px;
	font-weight: 750;
	text-decoration: none;
	transition: border-color 150ms ease, background-color 150ms ease;
}

.hrw-page .hrw-legal-jumpnav a:hover {
	border-color: var(--hrw-orange);
	background: rgba(245, 166, 35, 0.11);
}

.hrw-page .hrw-legal-card,
.hrw-page .hrw-legal-notice {
	margin: 0 0 22px !important;
	padding: clamp(26px, 4vw, 42px) !important;
	border: 1px solid var(--hrw-border);
	border-radius: 14px;
	background: var(--hrw-white);
	box-shadow: var(--hrw-shadow-soft);
	color: #25293a;
}

.hrw-page .hrw-legal-card:last-child {
	margin-bottom: 0 !important;
}

.hrw-page .hrw-legal-card :where(h2, h3),
.hrw-page .hrw-legal-notice :where(h2, h3) {
	max-width: 820px;
}

.hrw-page .hrw-legal-card h2,
.hrw-page .hrw-legal-notice h2 {
	margin-bottom: 18px !important;
	font-size: clamp(25px, 3vw, 34px) !important;
	font-weight: 700 !important;
	line-height: 1.22 !important;
	letter-spacing: -0.02em !important;
}

.hrw-page .hrw-legal-card h3 {
	margin: 30px 0 12px !important;
	font-size: 21px !important;
	line-height: 1.3 !important;
}

.hrw-page .hrw-legal-card p:last-child,
.hrw-page .hrw-legal-notice p:last-child {
	margin-bottom: 0 !important;
}

.hrw-page .hrw-legal-card a,
.hrw-page .hrw-legal-notice a {
	overflow-wrap: anywhere;
	font-weight: 650;
}

.hrw-page .hrw-legal-notice {
	border: 2px solid rgba(245, 166, 35, 0.55);
	background: #fff8eb;
	box-shadow: none;
}

.hrw-page .hrw-legal-list {
	margin: 0 0 20px !important;
	padding-left: 24px;
}

.hrw-page .hrw-legal-list li {
	margin-bottom: 9px;
	padding-left: 4px;
}

.hrw-page .hrw-legal-list li::marker {
	color: var(--hrw-orange-text);
}

.hrw-page .hrw-legal-card--cta {
	border-color: var(--hrw-navy);
	background: var(--hrw-navy);
	color: rgba(255, 255, 255, 0.82);
}

.hrw-page .hrw-legal-card--cta h2 {
	color: var(--hrw-white) !important;
}

.hrw-page .hrw-legal-card--cta .hrw-actions {
	margin-top: 28px;
}

.hrw-page .hrw-legal-card--cta .is-style-outline .wp-element-button {
	border-color: rgba(255, 255, 255, 0.9);
	color: var(--hrw-white);
}

.hrw-page .hrw-legal-card--cta .is-style-outline .wp-element-button:hover {
	border-color: var(--hrw-white);
	background: var(--hrw-white);
	color: var(--hrw-navy);
}

/* Tablet layout. */
@media (max-width: 1080px) {
	.hrw-page .hrw-feature-grid--four {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hrw-page .hrw-hero__title {
		max-width: 860px;
	}
}

@media (max-width: 900px) {
	.hrw-page .hrw-hero-split {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.hrw-page .hrw-hero-split__image {
		max-height: 520px;
	}

	.hrw-page .hrw-media-split {
		grid-template-columns: 1fr;
		gap: 38px;
	}

	.hrw-page .hrw-rounded-image {
		max-height: 540px;
	}

	.hrw-page .hrw-contact-grid {
		grid-template-columns: 1fr;
	}
}

/* Mobile layout. WordPress uses 781px as its common block breakpoint. */
@media (max-width: 781px) {
	.hrw-page {
		font-size: 16px;
		line-height: 1.62;
	}

	.hrw-page .hrw-container {
		width: calc(100% - 40px);
	}

	.hrw-page .hrw-hero {
		min-height: 580px !important;
	}

	.hrw-page .hrw-hero--split {
		min-height: 0 !important;
		padding: 68px 20px 64px !important;
	}

	.hrw-page .hrw-hero::after {
		background: linear-gradient(180deg, rgba(0, 0, 52, 0.1) 0%, rgba(0, 0, 52, 0.42) 100%);
	}

	.hrw-page .hrw-hero__inner {
		min-height: 580px;
		justify-content: flex-end;
		padding-block: 76px 64px !important;
	}

	.hrw-page .hrw-hero--split .hrw-hero__inner {
		min-height: 0;
		justify-content: center;
		padding: 0 !important;
	}

	.hrw-page .hrw-hero-split {
		gap: 34px;
	}

	.hrw-page .hrw-hero-split__image {
		max-height: none;
		aspect-ratio: 4 / 3;
	}

	.hrw-page .hrw-hero__title {
		max-width: 100%;
		font-size: clamp(39px, 11.5vw, 52px) !important;
		line-height: 1.04 !important;
	}

	.hrw-page .hrw-script {
		margin-bottom: 22px !important;
		font-size: clamp(43px, 13vw, 58px) !important;
		line-height: 1.02;
	}

	.hrw-page .hrw-hero__text {
		margin-bottom: 28px !important;
		font-size: 17px !important;
		line-height: 1.6;
	}

	.hrw-page .hrw-section {
		padding: 66px 20px !important;
	}

	.hrw-page .hrw-section-title {
		font-size: clamp(32px, 9.2vw, 42px) !important;
		line-height: 1.12 !important;
	}

	.hrw-page .hrw-section__intro {
		margin-bottom: 38px !important;
	}

	.hrw-page .hrw-actions {
		width: 100%;
		align-items: stretch;
		flex-direction: column;
		gap: 10px;
	}

	.hrw-page .hrw-actions > .wp-block-button,
	.hrw-page .hrw-actions .wp-element-button {
		width: 100%;
	}

	.hrw-page .hrw-button .wp-element-button,
	.hrw-page .wp-block-button.hrw-button .wp-block-button__link {
		min-height: 54px;
		padding-inline: 19px;
	}

	.hrw-page .hrw-split-grid,
	.hrw-page .hrw-feature-grid--four,
	.hrw-page .hrw-step-grid,
	.hrw-page .hrw-contact-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.hrw-page .hrw-feature-grid,
	.hrw-page .hrw-step-grid,
	.hrw-page .hrw-contact-grid {
		margin-top: 34px !important;
	}

	.hrw-page .hrw-product-panel__body,
	.hrw-page .hrw-contact-card {
		padding: 27px 22px 29px !important;
	}

	.hrw-page .hrw-product-panel__image {
		aspect-ratio: 4 / 3;
	}

	.hrw-page .hrw-feature-card,
	.hrw-page .hrw-step-card {
		padding: 25px 22px 27px !important;
	}

	.hrw-page .hrw-rounded-image {
		aspect-ratio: 4 / 3;
	}

	.hrw-page .hrw-media-split__content .hrw-section-title {
		font-size: clamp(31px, 8.6vw, 40px) !important;
	}

	.hrw-page .hrw-form-shell {
		margin-top: 34px !important;
		padding: 22px 18px !important;
		border-radius: 14px;
	}

	.hrw-page .hrw-faq-item summary {
		padding: 18px 54px 18px 19px;
		font-size: 17px;
	}

	.hrw-page .hrw-faq-item summary::after {
		right: 18px;
	}

	.hrw-page .hrw-faq-item > p {
		padding: 0 19px 20px;
	}

	.hrw-page .hrw-final-cta {
		min-height: 500px !important;
		padding-inline: 20px !important;
	}

	.hrw-page .hrw-final-cta__inner {
		padding-block: 68px !important;
	}

	.hrw-page .hrw-final-cta .hrw-section-title {
		font-size: clamp(34px, 9.6vw, 44px) !important;
	}

	.hrw-page .hrw-legal-hero {
		padding: 74px 20px !important;
	}

	.hrw-page .hrw-legal-hero__title {
		font-size: clamp(38px, 10.5vw, 46px) !important;
		line-height: 1.08 !important;
	}

	.hrw-page .hrw-legal-card,
	.hrw-page .hrw-legal-notice {
		padding: 24px 20px !important;
		border-radius: 12px;
	}

	.hrw-page .hrw-legal-card h2,
	.hrw-page .hrw-legal-notice h2 {
		font-size: clamp(24px, 7.2vw, 30px) !important;
		font-weight: 700 !important;
	}

	.hrw-page .hrw-legal-jumpnav {
		gap: 8px;
	}

	.hrw-page .hrw-legal-jumpnav a {
		font-size: 13px;
	}
}

@media (max-width: 430px) {
	.hrw-page .hrw-hero {
		min-height: 610px !important;
	}

	.hrw-page .hrw-hero--split {
		min-height: 0 !important;
	}

	.hrw-page .hrw-hero__inner {
		min-height: 610px;
	}

	.hrw-page .hrw-hero--split .hrw-hero__inner {
		min-height: 0;
	}

	.hrw-page .hrw-kicker {
		font-size: 12px !important;
		letter-spacing: 0.12em;
	}

	.hrw-page .hrw-hero__title {
		font-size: clamp(37px, 11.2vw, 46px) !important;
	}

	.hrw-page .hrw-script {
		font-size: clamp(40px, 13vw, 52px) !important;
	}

	.hrw-page .hrw-contact-card h3 {
		font-size: 23px !important;
	}
}

/*
 * Live-Qualitätskorrekturen.
 *
 * Diese Selektoren nutzen bewusst die Klassen der bereits eingesetzten
 * Gutenberg-Inhalte. Dadurch wirken sie nach einem Plugin-Update sofort und
 * nicht nur bei neu eingefügten Patterns.
 */

/* Startseite: Artikelauswahl bleibt der einzige gefüllte Hero-CTA. */
body.home .hibert-home-hero .wp-block-button:has(a[href*="/mietanfrage/"]) .wp-block-button__link,
body.home .hibert-home-hero a.wp-block-button__link[href*="/mietanfrage/"] {
	border: 2px solid rgba(255, 255, 255, 0.92) !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #fff !important;
}

/* Startseite: Die gesamte Sortimentskarte fuehrt zum jeweiligen Bereich.
 * Der vorhandene Textlink bleibt semantisch der einzige Link, seine
 * Klickflaeche wird lediglich ueber die komplette Karte gespannt. */
body.home .hibert-sortiment-section .hibert-category-card {
	position: relative;
	cursor: pointer;
}

body.home .hibert-sortiment-section .hibert-category-card a[href] {
	position: static;
}

body.home .hibert-sortiment-section .hibert-category-card a[href]::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
	content: "";
}

body.home .hibert-sortiment-section .hibert-category-card:focus-within {
	outline: 3px solid var(--hr-orange, #f5a623);
	outline-offset: 3px;
}

/* Fotoseite: Zubehörtexte ruhig und professionell zentrieren. */
.hibert-photo-options-showcase__accessory-overview {
	justify-items: stretch;
}

body .hibert-photo-page .hibert-photo-options-showcase__kicker,
body .hibert-photo-page .hibert-photo-options-showcase__title,
body .hibert-photo-page .hibert-photo-options-showcase__intro,
body .hibert-photo-page .hibert-photo-options-showcase__subheading,
body .hibert-photo-page .hibert-photo-options-showcase__group-copy,
body .hibert-photo-page .hibert-photo-options-showcase__accessory-copy,
body .hibert-photo-page .hibert-photo-options-showcase__accessory-copy > *,
body .hibert-photo-page .hibert-photo-feature-option,
body .hibert-photo-page .hibert-photo-feature-option > div,
body .hibert-photo-page .hibert-photo-feature-option h3,
body .hibert-photo-page .hibert-photo-feature-option p {
	text-align: center !important;
}

body .hibert-photo-page .hibert-photo-options-showcase__accessory-copy h3,
body .hibert-photo-page .hibert-photo-options-showcase__accessory-copy > p,
body .hibert-photo-page .hibert-photo-options-showcase__group-copy {
	max-width: 680px;
	margin-right: auto !important;
	margin-left: auto !important;
}

body .hibert-photo-page .hibert-photo-options-showcase__title,
body .hibert-photo-page .hibert-photo-options-showcase__subheading,
body .hibert-photo-page .hibert-photo-options-showcase__accessory-copy h3,
body .hibert-photo-page .hibert-photo-feature-option h3 {
	font-family: Inter, Arial, sans-serif !important;
	font-weight: 800 !important;
}

body .hibert-photo-page .hibert-photo-options-showcase__intro,
body .hibert-photo-page .hibert-photo-options-showcase__group-copy,
body .hibert-photo-page .hibert-photo-options-showcase__accessory-copy > p,
body .hibert-photo-page .hibert-photo-feature-option p {
	font-family: Inter, Arial, sans-serif !important;
	font-weight: 400 !important;
}

/* Über-uns/Kontakt: echte Seiten-Hooks statt alter, nicht vorhandener Aliase. */
.hibert-about-page .hibert-about-hero > .wp-block-cover__image-background {
	object-position: center 58%;
}

.hibert-contact-page .hibert-contact-hero > .wp-block-cover__image-background {
	object-position: center 50%;
}

.hibert-about-simple-grid > *,
.hibert-contact-main__grid > *,
.hibert-contact-service__grid > *,
.hibert-contact-method__content {
	min-width: 0;
}

.hibert-contact-method__content a {
	overflow-wrap: anywhere;
}

.hibert-about-simple-image:empty,
.hibert-about-simple-image:has(img[src=""]) {
	display: none !important;
}

.hibert-about-simple-grid:not(:has(.hibert-about-simple-image img[src]:not([src=""]))) {
	grid-template-columns: minmax(0, 820px) !important;
	justify-content: center;
}

/* Rechteseiten: keine abgeschnittenen Inhalte oder seitlichen weißen Streifen. */
.hrw-page--legal,
.hrw-page--legal .hrw-legal-content,
.hrw-page--legal .hrw-legal-content > *,
.hrw-page--legal .hrw-legal-card,
.hrw-page--legal .hrw-legal-notice,
.hrw-page--legal .hrw-legal-jumpnav,
.hrw-page--legal .hrw-legal-jumpnav > * {
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.hrw-page--legal {
	width: 100%;
}

.hrw-page--legal .hrw-legal-card :where(p, li, a),
.hrw-page--legal .hrw-legal-notice :where(p, li, a) {
	overflow-wrap: anywhere;
	word-break: normal;
}

.hrw-page--legal .hrw-legal-jumpnav a {
	max-width: 100%;
	white-space: normal;
	text-align: center;
}

.hrw-page--rental-terms :where(h2[id], div[id]) {
	scroll-margin-top: 112px;
}

@media (max-width: 781px) {
	body.home .hibert-home-hero .wp-block-button:has(a[href*="/mietanfrage/"]),
	body.home .hibert-home-hero .wp-block-button:has(a[href*="/mietanfrage/"]) .wp-block-button__link {
		width: 100%;
	}

	.hibert-photo-options-showcase__accessory-copy {
		padding: 30px 22px !important;
	}

	.hrw-page--legal .hrw-legal-content {
		width: 100% !important;
		padding-right: 20px !important;
		padding-left: 20px !important;
	}

	.hrw-page--legal .hrw-legal-jumpnav > p {
		flex: 1 1 auto;
	}

	.hrw-page--legal .hrw-legal-jumpnav a {
		width: 100%;
		min-height: 44px;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hrw-page *,
	.hrw-page *::before,
	.hrw-page *::after,
	.hibert-catalog *,
	.hibert-catalog *::before,
	.hibert-catalog *::after,
	.hibert-header-v2 *,
	.hibert-footer-v1 *,
	.hr-request-dock *,
	.hrw-form * {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	.hrw-page :where(a, button, img):hover,
	.hibert-catalog :where(a, button, img):hover,
	.hibert-header-v2 :where(a, button):hover,
	.hibert-footer-v1 :where(a, button):hover,
	.hr-request-dock :where(a, button):hover,
	.hrw-form :where(a, button):hover {
		transform: none !important;
	}
}

@media (forced-colors: active) {
	.hrw-page :where(a, button, input, select, textarea, summary):focus-visible {
		outline: 3px solid Highlight !important;
	}
}
