/* Startseite marketing sections. All motion lives inside
 * prefers-reduced-motion: no-preference, so the reduced-motion and
 * no-JS experience is complete and static. */

.royal-home {
	overflow-x: clip;
}

/* ---------------------------------------------------------------------------
 * Shared section pieces
 * ------------------------------------------------------------------------- */

.royal-section {
	position: relative;
	padding-block: clamp(4rem, 9vw, 7rem);
}

.royal-section--cream {
	background-color: var(--wp--preset--color--cream);
	background-image:
		radial-gradient(70% 60% at 50% -10%, rgba(235, 194, 63, 0.2), transparent 65%),
		radial-gradient(rgba(96, 28, 39, 0.07) 1px, transparent 1px);
	background-size: auto, 22px 22px;
}

.royal-section--dark {
	color: var(--wp--preset--color--cream);
	background:
		radial-gradient(60% 55% at 15% 0%, rgba(192, 30, 36, 0.35), transparent 70%),
		radial-gradient(50% 50% at 90% 100%, rgba(235, 194, 63, 0.14), transparent 70%),
		linear-gradient(160deg, #4a1520 0%, #2e0e14 100%);
}

.royal-section__head.royal-section__head {
	max-width: 46rem;
	margin-inline: auto !important;
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
	text-align: center;
}

.royal-section__head p:last-child {
	margin-bottom: 0;
	font-size: 1.0625rem;
	opacity: 0.85;
}

.royal-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1rem;
	color: var(--wp--preset--color--primary);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.royal-eyebrow::before,
.royal-section__head .royal-eyebrow::after,
.royal-cta .royal-eyebrow::after {
	content: "";
	width: 2rem;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	opacity: 0.7;
}

:is(.royal-hero, .royal-section--dark, .royal-cta) .royal-eyebrow {
	color: var(--wp--preset--color--gold);
}

.royal-title.royal-title {
	margin: 0 0 1.1rem;
	color: var(--wp--preset--color--maroon);
	font-size: clamp(2rem, 4.2vw, 3.35rem);
	line-height: 1.08;
}

.royal-section--dark .royal-title.royal-title {
	color: var(--wp--preset--color--cream);
}

/* Highlighted words: red with a gold marker stroke on light sections,
 * plain gold on dark ones. */
.royal-hl {
	color: var(--wp--preset--color--primary);
	background: linear-gradient(transparent 64%, rgba(235, 194, 63, 0.45) 64%, rgba(235, 194, 63, 0.45) 90%, transparent 90%);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

:is(.royal-hero, .royal-section--dark, .royal-cta) .royal-hl {
	color: var(--wp--preset--color--gold);
	background: none;
}

/* Bigger buttons on the Startseite, glow on the primary one. */
.royal-home .wp-block-button__link {
	padding: 0.95rem 1.85rem;
	font-size: 1.0625rem;
}

.royal-btn-glow .wp-block-button__link {
	box-shadow: 0 12px 32px -10px rgba(235, 194, 63, 0.75);
}

/* Outline buttons on dark backgrounds: fill cream on hover. */
:is(.royal-hero, .royal-section--dark, .royal-cta) .is-style-outline .wp-block-button__link {
	border: 2px solid rgba(252, 246, 226, 0.7);
	background: transparent;
}

:is(.royal-hero, .royal-section--dark, .royal-cta) .is-style-outline .wp-block-button__link:is(:hover, :focus-visible) {
	border-color: var(--wp--preset--color--cream);
	background: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--maroon) !important;
}

.royal-home .wp-block-button:not(.is-style-outline) .wp-block-button__link.has-gold-background-color:hover {
	background-color: var(--wp--preset--color--cream) !important;
}

/* ---------------------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------------------- */

.royal-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: 100svh;
	padding-top: calc(var(--royal-header-h, 8.5rem) + 2.5rem);
	padding-bottom: 7rem;
	color: var(--wp--preset--color--cream);
	background: #2e0e14;
	overflow: hidden;
}

.royal-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		radial-gradient(50% 60% at 78% 45%, rgba(192, 30, 36, 0.6), transparent 70%),
		radial-gradient(40% 45% at 10% 95%, rgba(235, 194, 63, 0.2), transparent 70%),
		radial-gradient(30% 35% at 5% 10%, rgba(204, 100, 30, 0.18), transparent 70%),
		linear-gradient(155deg, #6a1f2b 0%, #2e0e14 65%);
}

/* Faint royal diamond pattern, faded towards the edges. */
.royal-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image:
		repeating-linear-gradient(45deg, rgba(235, 194, 63, 0.05) 0 1px, transparent 1px 34px),
		repeating-linear-gradient(-45deg, rgba(235, 194, 63, 0.05) 0 1px, transparent 1px 34px);
	-webkit-mask-image: radial-gradient(70% 70% at 50% 45%, #000 20%, transparent 80%);
	mask-image: radial-gradient(70% 70% at 50% 45%, #000 20%, transparent 80%);
}

.royal-hero > .royal-hero__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: center;
	gap: clamp(2.5rem, 5vw, 5rem);
	width: 100%;
}

.royal-hero__title.royal-hero__title {
	margin: 0 0 1.5rem;
	color: var(--wp--preset--color--cream);
	font-size: clamp(2.9rem, 6.6vw, 5.9rem);
	line-height: 0.98;
	text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}

.royal-hero__title .royal-hl {
	position: relative;
	display: inline-block;
}

/* Hand-drawn gold swoosh under "regiert." */
.royal-hero__title .royal-hl::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -0.16em;
	height: 0.26em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 17C70 6 160 3 296 12' fill='none' stroke='%23EBC23F' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	opacity: 0.9;
}

.royal-hero__lead {
	max-width: 34rem;
	margin: 0 0 2.25rem;
	font-size: clamp(1.05rem, 1.5vw, 1.25rem);
	color: rgba(252, 246, 226, 0.85);
}

.royal-hero__actions {
	gap: 0.85rem;
}

.royal-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.75rem;
	margin: 2.5rem 0 0;
	padding: 1.5rem 0 0;
	border-top: 1px solid rgba(252, 246, 226, 0.14);
	list-style: none;
	font-size: 0.95rem;
	font-weight: 600;
	color: rgba(252, 246, 226, 0.9);
}

.royal-hero__trust li {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.royal-hero__trust svg {
	width: 20px;
	height: 20px;
	color: var(--wp--preset--color--gold);
}

/* Image composition */
.royal-hero__visual {
	position: relative;
	width: 100%;
	max-width: 33rem;
	aspect-ratio: 4 / 5;
	margin-inline: auto;
}

.royal-hero__visual figure {
	margin: 0;
	overflow: hidden;
}

.royal-hero__visual img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.royal-hero__arch {
	position: absolute;
	inset: 0 7% 0 13%;
	border: 3px solid rgba(235, 194, 63, 0.6);
	border-radius: 999px 999px 28px 28px;
	box-shadow:
		0 0 0 12px rgba(235, 194, 63, 0.07),
		0 45px 90px -25px rgba(0, 0, 0, 0.7);
}

.royal-hero__arch::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(46, 14, 20, 0.55) 100%);
}

.royal-hero__bubble {
	position: absolute;
	left: -2%;
	bottom: 5%;
	width: 40%;
	aspect-ratio: 1;
	border: 5px solid var(--wp--preset--color--gold);
	border-radius: 50%;
	box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.7);
}

.royal-hero__seal {
	position: absolute;
	top: 5%;
	right: -3%;
	display: grid;
	place-items: center;
	width: 30%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--wp--preset--color--primary);
	box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6), inset 0 0 0 6px rgba(252, 246, 226, 0.12);
}

.royal-hero__seal > svg:first-child {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	fill: var(--wp--preset--color--cream);
	font-family: var(--wp--preset--font-family--body);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 1px;
}

.royal-hero__seal-crown {
	width: 34%;
	height: auto;
	color: var(--wp--preset--color--gold);
}

.royal-hero__chip {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0.7rem 1.15rem;
	border-radius: 999px;
	background: rgba(252, 246, 226, 0.96);
	color: var(--wp--preset--color--maroon);
	font-size: 0.9rem;
	font-weight: 700;
	white-space: nowrap;
	box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.6);
}

.royal-hero__chip--a {
	right: -5%;
	bottom: 24%;
}

.royal-hero__chip--b {
	left: 0;
	top: 22%;
	background: var(--wp--preset--color--gold);
}

/* Scroll cue */
.royal-hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 4.25rem;
	width: 28px;
	height: 44px;
	margin-left: -14px;
	border: 2px solid rgba(252, 246, 226, 0.45);
	border-radius: 999px;
}

.royal-hero__scroll span {
	position: absolute;
	left: 50%;
	top: 8px;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	border-radius: 2px;
	background: var(--wp--preset--color--gold);
}

@media (max-width: 959px) {
	.royal-hero {
		min-height: 0;
		padding-top: calc(var(--royal-header-h, 7.5rem) + 1.5rem);
		padding-bottom: 5.5rem;
	}

	.royal-hero > .royal-hero__grid {
		grid-template-columns: 1fr;
	}

	.royal-hero__visual {
		max-width: 22rem;
	}

	.royal-hero__scroll {
		display: none;
	}
}

@media (max-width: 599px) {
	.royal-hero__chip {
		padding: 0.5rem 0.85rem;
		font-size: 0.8rem;
	}

	.royal-hero__chip--a {
		right: -2%;
	}

	.royal-hero__trust {
		gap: 0.6rem 1.25rem;
		font-size: 0.875rem;
	}
}

/* ---------------------------------------------------------------------------
 * Marquee: two crossing bands
 * ------------------------------------------------------------------------- */

.royal-marquee {
	position: relative;
	z-index: 3;
	margin-top: -3rem;
	margin-bottom: -1.5rem;
	padding-block: 1rem;
	overflow: hidden;
	pointer-events: none;
}

.royal-marquee__band {
	width: 110%;
	margin-left: -5%;
	overflow: hidden;
	box-shadow: 0 14px 30px -12px rgba(46, 14, 20, 0.5);
}

.royal-marquee__band--gold {
	position: relative;
	z-index: 2;
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--maroon);
	transform: rotate(-2deg);
}

.royal-marquee__band--red {
	margin-top: -0.6rem;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--cream);
	transform: rotate(1.5deg);
}

.royal-marquee__track {
	display: flex;
	align-items: center;
	width: max-content;
	white-space: nowrap;
}

.royal-marquee__track > * {
	margin-right: 1.6rem;
}

.royal-marquee__band--gold .royal-marquee__track {
	padding-block: 0.9rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.15rem, 2.2vw, 1.6rem);
	text-transform: uppercase;
}

.royal-marquee__band--red .royal-marquee__track {
	padding-block: 0.65rem;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.royal-marquee i {
	font-style: normal;
	opacity: 0.75;
}

/* ---------------------------------------------------------------------------
 * About: collage + copy + key figures
 * ------------------------------------------------------------------------- */

.royal-about {
	position: relative;
	padding-block: clamp(5.5rem, 10vw, 8rem) clamp(4rem, 8vw, 6rem);
	background: var(--wp--preset--color--base);
}

.royal-about > .royal-about__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(3rem, 6vw, 6rem);
}

.royal-about__collage {
	position: relative;
	aspect-ratio: 1 / 0.95;
}

.royal-about__img {
	position: absolute;
	margin: 0;
	overflow: hidden;
	border-radius: 24px;
	box-shadow: 0 30px 60px -25px rgba(46, 14, 20, 0.5);
}

.royal-about__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.royal-about__img--main {
	left: 0;
	top: 6%;
	width: 70%;
	height: 60%;
}

.royal-about__img--side {
	right: 0;
	bottom: 0;
	width: 46%;
	height: 66%;
	border: 8px solid var(--wp--preset--color--base);
}

.royal-about__img--round {
	left: 8%;
	bottom: 0;
	width: 32%;
	aspect-ratio: 1;
	border: 8px solid var(--wp--preset--color--base);
	border-radius: 50%;
}

.royal-about__badge {
	position: absolute;
	top: -2%;
	right: 6%;
	z-index: 2;
	display: grid;
	place-content: center;
	width: 7.5rem;
	aspect-ratio: 1;
	margin: 0;
	border-radius: 50%;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--cream);
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	transform: rotate(-10deg);
	box-shadow: 0 18px 40px -12px rgba(192, 30, 36, 0.7), inset 0 0 0 5px rgba(252, 246, 226, 0.15);
}

.royal-about__badge strong {
	display: block;
	color: var(--wp--preset--color--gold);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.85rem;
	font-weight: 400;
}

.royal-about__copy > p {
	font-size: 1.0625rem;
	color: rgba(34, 34, 33, 0.82);
}

.royal-checks {
	display: grid;
	gap: 1.1rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
}

.royal-checks li {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.royal-checks li > span {
	display: grid;
	place-items: center;
	flex: none;
	width: 3rem;
	height: 3rem;
	border-radius: 14px;
	background: var(--wp--preset--color--cream);
	font-size: 1.4rem;
	box-shadow: inset 0 0 0 1px rgba(235, 194, 63, 0.45);
}

.royal-checks strong {
	display: block;
	color: var(--wp--preset--color--maroon);
	font-size: 1.05rem;
}

.royal-checks div {
	color: rgba(34, 34, 33, 0.75);
	font-size: 0.95rem;
}

/* Key figures */
.royal-about > .royal-stats {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	max-width: var(--wp--style--global--wide-size);
	margin: clamp(3.5rem, 7vw, 5.5rem) auto 0;
	padding: clamp(1.5rem, 3vw, 2.25rem) 1rem;
	list-style: none;
	overflow: hidden;
	border-radius: 24px;
	color: var(--wp--preset--color--cream);
	background:
		radial-gradient(60% 120% at 100% 0%, rgba(235, 194, 63, 0.2), transparent 60%),
		linear-gradient(135deg, var(--wp--preset--color--maroon) 0%, #2e0e14 100%);
	box-shadow: 0 30px 60px -30px rgba(46, 14, 20, 0.7);
}

.royal-stat {
	display: grid;
	gap: 0.3rem;
	padding: 0.5rem 1rem;
	text-align: center;
}

.royal-stat + .royal-stat {
	border-left: 1px solid rgba(235, 194, 63, 0.2);
}

.royal-stat__num {
	color: var(--wp--preset--color--gold);
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(2.3rem, 4.5vw, 3.5rem);
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.royal-stat__label {
	font-size: 0.9rem;
	color: rgba(252, 246, 226, 0.82);
}

@media (max-width: 959px) {
	.royal-about > .royal-about__grid {
		grid-template-columns: 1fr;
	}

	.royal-about__collage {
		max-width: 34rem;
		width: 100%;
		margin-inline: auto;
	}
}

@media (max-width: 699px) {
	.royal-about > .royal-stats {
		grid-template-columns: 1fr 1fr;
		row-gap: 1rem;
	}

	.royal-stat:nth-child(3) {
		border-left: 0;
	}

	.royal-about__badge {
		width: 6rem;
		font-size: 0.7rem;
	}

	.royal-about__badge strong {
		font-size: 1.45rem;
	}
}

/* ---------------------------------------------------------------------------
 * Category bento
 * ------------------------------------------------------------------------- */

.royal-cats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 15rem;
	grid-auto-flow: dense;
	gap: 1.1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.royal-cat:nth-child(1) {
	grid-column: span 2;
	grid-row: span 2;
}

.royal-cat:nth-child(3) {
	grid-row: span 2;
}

.royal-cat:nth-child(5),
.royal-cat:nth-child(6) {
	grid-column: span 2;
}

.royal-cat__link {
	position: relative;
	isolation: isolate;
	display: block;
	height: 100%;
	overflow: hidden;
	border-radius: 22px;
	color: var(--wp--preset--color--cream);
	text-decoration: none;
	box-shadow: 0 20px 40px -24px rgba(46, 14, 20, 0.7);
}

.royal-cat__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 800ms cubic-bezier(0.2, 0.8, 0.3, 1);
}

.royal-cat__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(46, 14, 20, 0) 30%, rgba(46, 14, 20, 0.92) 100%);
	transition: opacity 300ms ease;
}

.royal-cat__body {
	position: absolute;
	left: 1.4rem;
	right: 1.4rem;
	bottom: 1.3rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.3rem;
}

.royal-cat__count {
	padding: 0.2rem 0.7rem;
	border-radius: 999px;
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--maroon);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.royal-cat__name {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.25rem, 2vw, 1.7rem);
	line-height: 1.1;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.royal-cat:nth-child(1) .royal-cat__name {
	font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.royal-cat__tag {
	font-size: 0.9rem;
	color: rgba(252, 246, 226, 0.85);
}

.royal-cat__arrow {
	position: absolute;
	top: 1.1rem;
	right: 1.1rem;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: rgba(252, 246, 226, 0.95);
	color: var(--wp--preset--color--maroon);
	transition: transform 300ms ease, background-color 300ms ease;
}

.royal-cat__arrow svg {
	width: 20px;
	height: 20px;
}

.royal-cat__link:is(:hover, :focus-visible) .royal-cat__arrow {
	background: var(--wp--preset--color--gold);
	transform: rotate(-45deg);
}

@media (hover: hover) {
	.royal-cat__link:hover .royal-cat__img {
		transform: scale(1.08);
	}
}

@media (max-width: 781px) {
	.royal-cats {
		grid-template-columns: 1fr 1fr;
		grid-auto-rows: 11.5rem;
		gap: 0.75rem;
	}

	.royal-cat:nth-child(n) {
		grid-column: span 1;
		grid-row: span 1;
	}

	.royal-cat:nth-child(1),
	.royal-cat:nth-child(6) {
		grid-column: span 2;
	}

	.royal-cat:nth-child(1) {
		grid-row: span 2;
	}

	.royal-cat__body {
		left: 0.9rem;
		right: 0.9rem;
		bottom: 0.85rem;
	}

	.royal-cat__tag {
		display: none;
	}

	.royal-cat:nth-child(1) .royal-cat__tag {
		display: block;
	}

	.royal-cat__arrow {
		top: 0.7rem;
		right: 0.7rem;
		width: 2.25rem;
		height: 2.25rem;
	}
}

/* ---------------------------------------------------------------------------
 * Royal Empfehlung on dark
 * ------------------------------------------------------------------------- */

.royal-home-featured.royal-home-featured {
	text-align: center;
}

.royal-home-featured .royal-featured__list {
	margin-bottom: 2.5rem;
	padding: 4px 4px 14px;
}

.royal-home-featured .royal-featured__card {
	border: 0;
	border-radius: 20px;
	box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.75);
	transition: transform 250ms ease, box-shadow 250ms ease;
}

.royal-home-featured .royal-featured__card:hover {
	transform: translateY(-6px);
	box-shadow: 0 32px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 2px var(--wp--preset--color--gold);
}

.royal-home-featured .royal-featured__name {
	color: var(--wp--preset--color--maroon);
}

/* ---------------------------------------------------------------------------
 * Dark "Royal Empfehlung" ends in a gold-edged wave into the light
 * promise section, so the two read as clearly separate blocks.
 * ------------------------------------------------------------------------- */

.royal-home-featured.royal-home-featured {
	padding-bottom: calc(clamp(4rem, 9vw, 7rem) + clamp(2.5rem, 5vw, 4.5rem));
}

.royal-home-featured::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: clamp(48px, 7vw, 110px);
	pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath d='M0 62 C 240 4 480 4 720 46 S 1200 104 1440 38 L1440 110 L0 110Z' fill='%23EBC23F'/%3E%3Cpath d='M0 74 C 240 16 480 16 720 58 S 1200 116 1440 50 L1440 110 L0 110Z' fill='%23ffffff'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

/* ---------------------------------------------------------------------------
 * Promise: light section, framed photo + numbered promise cards
 * ------------------------------------------------------------------------- */

.royal-promise {
	position: relative;
	padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3.5rem, 8vw, 6.5rem);
	overflow: hidden;
	background:
		radial-gradient(45% 60% at 0% 50%, rgba(235, 194, 63, 0.16), transparent 70%),
		radial-gradient(40% 50% at 100% 100%, rgba(192, 30, 36, 0.06), transparent 70%),
		var(--wp--preset--color--base);
}

.royal-promise > .royal-promise__grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	align-items: center;
	gap: clamp(3rem, 7vw, 6.5rem);
}

.royal-promise__media {
	position: relative;
	box-sizing: border-box;
	max-width: 30rem;
	width: 100%;
	margin-inline: auto;
	padding: 0 1.25rem 1.25rem 0;
}

/* Gold offset frame behind the photo. */
.royal-promise__media::before {
	content: "";
	position: absolute;
	inset: 1.25rem 0 0 1.25rem;
	border: 2px solid var(--wp--preset--color--gold);
	border-radius: 32px;
}

.royal-promise__photo {
	position: relative;
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 32px;
	box-shadow: 0 40px 70px -35px rgba(46, 14, 20, 0.65);
}

.royal-promise__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 900ms cubic-bezier(0.2, 0.8, 0.3, 1);
}

@media (hover: hover) {
	.royal-promise__media:hover .royal-promise__photo img {
		transform: scale(1.05);
	}
}

.royal-promise__badge {
	position: absolute;
	left: -1rem;
	bottom: 3rem;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0.8rem 1.2rem;
	border-radius: 999px;
	background: var(--wp--preset--color--maroon);
	color: var(--wp--preset--color--cream);
	font-size: 0.95rem;
	white-space: nowrap;
	box-shadow: 0 18px 36px -14px rgba(46, 14, 20, 0.7);
}

.royal-promise__badge strong {
	color: var(--wp--preset--color--gold);
}

.royal-promise__stamp {
	position: absolute;
	top: -1.1rem;
	right: 0;
	display: grid;
	place-items: center;
	width: 4.5rem;
	height: 4.5rem;
	margin: 0;
	border-radius: 50%;
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--maroon);
	box-shadow: 0 14px 30px -10px rgba(235, 194, 63, 0.8), inset 0 0 0 4px rgba(255, 255, 255, 0.35);
	transform: rotate(12deg);
}

.royal-promise__stamp svg {
	width: 2rem;
	height: 2rem;
}

.royal-promise__list {
	display: grid;
	gap: 0.85rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
	counter-reset: royal-promise;
}

.royal-promise__list li {
	position: relative;
	display: grid;
	grid-template-columns: 3rem 1fr;
	column-gap: 1rem;
	padding: 1.1rem 1.25rem;
	border: 1px solid rgba(96, 28, 39, 0.1);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 16px 34px -28px rgba(96, 28, 39, 0.6);
	counter-increment: royal-promise;
	transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

@media (hover: hover) {
	.royal-promise__list li:hover {
		border-color: rgba(235, 194, 63, 0.7);
		box-shadow: 0 20px 40px -26px rgba(96, 28, 39, 0.65);
	}
}

.royal-promise__list li::before {
	content: counter(royal-promise, decimal-leading-zero);
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--wp--preset--color--gold), var(--wp--preset--color--amber));
	color: var(--wp--preset--color--maroon);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.05rem;
}

.royal-promise__list strong {
	align-self: end;
	color: var(--wp--preset--color--maroon);
	font-size: 1.1rem;
}

.royal-promise__list span {
	color: rgba(34, 34, 33, 0.72);
	font-size: 0.95rem;
}

@media (max-width: 959px) {
	.royal-promise > .royal-promise__grid {
		grid-template-columns: 1fr;
	}

	.royal-promise__media {
		max-width: 24rem;
	}

	.royal-promise__photo {
		aspect-ratio: 1 / 1;
	}
}

@media (max-width: 599px) {
	.royal-promise__badge {
		left: -0.25rem;
		bottom: 2.25rem;
		padding: 0.6rem 0.95rem;
		font-size: 0.85rem;
	}

	.royal-promise__stamp {
		width: 3.5rem;
		height: 3.5rem;
	}

	.royal-promise__stamp svg {
		width: 1.5rem;
		height: 1.5rem;
	}

	.royal-promise__list li {
		grid-template-columns: 2.5rem 1fr;
		column-gap: 0.85rem;
		padding: 0.95rem 1rem;
	}

	.royal-promise__list li::before {
		width: 2.5rem;
		height: 2.5rem;
		font-size: 0.9rem;
	}
}

/* ---------------------------------------------------------------------------
 * Restaurant gallery
 * ------------------------------------------------------------------------- */

.royal-gallery {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 18rem 13rem;
	gap: 1.1rem;
}

.royal-gallery__item {
	margin: 0;
	overflow: hidden;
	border-radius: 22px;
	box-shadow: 0 20px 40px -24px rgba(46, 14, 20, 0.6);
}

.royal-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 800ms cubic-bezier(0.2, 0.8, 0.3, 1);
}

@media (hover: hover) {
	.royal-gallery__item:hover img {
		transform: scale(1.05);
	}
}

.royal-gallery__item--wide {
	grid-row: span 2;
}

.royal-gallery__quote {
	grid-column: 2 / 4;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0;
	padding: 1.5rem 2rem;
	border-radius: 22px;
	color: var(--wp--preset--color--cream);
	background:
		radial-gradient(80% 120% at 100% 0%, rgba(235, 194, 63, 0.25), transparent 60%),
		var(--wp--preset--color--primary);
}

.royal-gallery__quote p {
	margin: 0 0 0.6rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.3rem, 2.2vw, 1.85rem);
	line-height: 1.2;
}

.royal-gallery__quote cite {
	color: var(--wp--preset--color--gold);
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

@media (max-width: 781px) {
	.royal-gallery {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 14rem 15rem auto;
		gap: 0.75rem;
	}

	.royal-gallery__item--wide {
		grid-column: span 2;
		grid-row: auto;
	}

	.royal-gallery__quote {
		grid-column: span 2;
	}
}

/* ---------------------------------------------------------------------------
 * Branches + final CTA
 * ------------------------------------------------------------------------- */

.royal-branches-section .royal-branchcard {
	border-radius: 22px;
	box-shadow: 0 24px 50px -30px rgba(96, 28, 39, 0.45);
	transition: transform 250ms ease, box-shadow 250ms ease;
}

@media (hover: hover) {
	.royal-branches-section .royal-branchcard:hover {
		transform: translateY(-4px);
		box-shadow: 0 30px 60px -30px rgba(96, 28, 39, 0.6);
	}
}

.royal-cta {
	position: relative;
	isolation: isolate;
	padding-block: clamp(5rem, 11vw, 8.5rem);
	overflow: hidden;
	color: var(--wp--preset--color--cream);
	text-align: center;
	background: #2e0e14 url("../images/grill-feuer.webp") center / cover no-repeat;
}

.royal-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(60% 70% at 50% 110%, rgba(235, 194, 63, 0.3), transparent 70%),
		linear-gradient(180deg, rgba(46, 14, 20, 0.9) 0%, rgba(96, 28, 39, 0.82) 100%);
}

.royal-cta__title.royal-cta__title {
	margin: 0 0 1rem;
	color: var(--wp--preset--color--cream);
	font-size: clamp(2.5rem, 6vw, 4.6rem);
	line-height: 1.02;
}

.royal-cta__lead {
	max-width: 36rem;
	margin: 0 auto 2.25rem !important;
	font-size: 1.125rem;
	color: rgba(252, 246, 226, 0.85);
}

/* ---------------------------------------------------------------------------
 * Motion (only for visitors fine with it; html.royal-motion = JS ran)
 * ------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
	.royal-marquee__band--gold .royal-marquee__track {
		animation: royal-marquee 38s linear infinite;
	}

	.royal-marquee__band--red .royal-marquee__track {
		animation: royal-marquee 30s linear infinite reverse;
	}

	.royal-hero__seal > svg:first-child {
		animation: royal-spin 22s linear infinite;
	}

	.royal-hero__bubble {
		animation: royal-float 7s ease-in-out infinite;
	}

	.royal-hero__chip--a {
		animation: royal-float 6s ease-in-out 0.8s infinite;
	}

	.royal-hero__chip--b {
		animation: royal-float 6.5s ease-in-out 1.6s infinite;
	}

	.royal-hero__arch img {
		animation: royal-kenburns 24s ease-in-out infinite alternate;
	}

	.royal-hero__scroll span {
		animation: royal-scrollcue 1.8s ease-in-out infinite;
	}

	/* Hero entrance */
	html.royal-motion .royal-hero__copy > * {
		animation: royal-rise 800ms cubic-bezier(0.2, 0.8, 0.3, 1) both;
	}

	html.royal-motion .royal-hero__copy > :nth-child(2) {
		animation-delay: 90ms;
	}

	html.royal-motion .royal-hero__copy > :nth-child(3) {
		animation-delay: 180ms;
	}

	html.royal-motion .royal-hero__copy > :nth-child(4) {
		animation-delay: 270ms;
	}

	html.royal-motion .royal-hero__copy > :nth-child(5) {
		animation-delay: 360ms;
	}

	html.royal-motion .royal-hero__visual {
		animation: royal-zoom-in 1100ms cubic-bezier(0.2, 0.8, 0.3, 1) 150ms both;
	}

	html.royal-motion .royal-hero__title .royal-hl::after {
		animation: royal-draw 900ms cubic-bezier(0.6, 0, 0.3, 1) 700ms both;
	}
}

@keyframes royal-marquee {
	to {
		transform: translateX(-50%);
	}
}

@keyframes royal-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes royal-float {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-10px);
	}
}

@keyframes royal-kenburns {
	from {
		transform: scale(1);
	}

	to {
		transform: scale(1.08);
	}
}

@keyframes royal-scrollcue {
	0% {
		opacity: 0;
		transform: translateY(0);
	}

	40% {
		opacity: 1;
	}

	100% {
		opacity: 0;
		transform: translateY(14px);
	}
}

@keyframes royal-rise {
	from {
		opacity: 0;
		transform: translateY(24px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes royal-zoom-in {
	from {
		opacity: 0;
		transform: scale(0.92) translateY(20px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes royal-draw {
	from {
		clip-path: inset(0 100% 0 0);
	}

	to {
		clip-path: inset(0 0 0 0);
	}
}

/* ---------------------------------------------------------------------------
 * Reviews
 * ------------------------------------------------------------------------- */

.royal-stars {
	--royal-rating: 5;
	display: inline-block;
	font-size: 1.25rem;
	letter-spacing: 0.12em;
	line-height: 1;
	color: transparent;
	background: linear-gradient(90deg, var(--wp--preset--color--gold) calc(var(--royal-rating) / 5 * 100%), rgba(96, 28, 39, 0.18) 0);
	-webkit-background-clip: text;
	background-clip: text;
}

.royal-reviews {
	display: grid;
	grid-template-columns: 1.1fr 1fr 1fr;
	gap: 1.25rem;
}

.royal-reviews__score {
	position: relative;
	overflow: hidden;
	padding: 2rem;
	border-radius: 24px;
	color: var(--wp--preset--color--cream);
	background:
		radial-gradient(70% 70% at 100% 0%, rgba(235, 194, 63, 0.25), transparent 65%),
		linear-gradient(150deg, var(--wp--preset--color--maroon) 0%, #2e0e14 100%);
	box-shadow: 0 30px 60px -30px rgba(46, 14, 20, 0.7);
}

.royal-reviews__score .royal-stars {
	font-size: 1.6rem;
	background: linear-gradient(90deg, var(--wp--preset--color--gold) calc(var(--royal-rating) / 5 * 100%), rgba(252, 246, 226, 0.22) 0);
	-webkit-background-clip: text;
	background-clip: text;
}

.royal-reviews__num {
	margin: 0 0 0.35rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(3.5rem, 7vw, 5rem);
	line-height: 0.9;
	color: var(--wp--preset--color--gold);
}

.royal-reviews__count {
	margin: 0.75rem 0 1.25rem;
	font-size: 1.05rem;
	font-weight: 700;
}

.royal-reviews__count span {
	display: block;
	font-size: 0.8125rem;
	font-weight: 500;
	color: rgba(252, 246, 226, 0.65);
}

.royal-reviews__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
}

.royal-reviews__chips li {
	padding: 0.3rem 0.75rem;
	border: 1px solid rgba(235, 194, 63, 0.35);
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
	background: rgba(252, 246, 226, 0.06);
}

.royal-reviews__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 44px;
	padding: 0.55rem 1.2rem;
	border-radius: 999px;
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--maroon) !important;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 150ms ease, transform 150ms ease;
}

.royal-reviews__link:hover {
	background: var(--wp--preset--color--cream);
	transform: translateY(-1px);
}

.royal-review {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 2rem 1.75rem 1.5rem;
	border-radius: 24px;
	background: var(--wp--preset--color--base);
	box-shadow: 0 24px 50px -30px rgba(96, 28, 39, 0.45);
}

/* Big decorative quote mark. */
.royal-review::before {
	content: "“";
	position: absolute;
	top: 0.6rem;
	right: 1.4rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 6rem;
	line-height: 1;
	color: rgba(235, 194, 63, 0.45);
}

.royal-review__text {
	flex: 1;
	display: flex;
	align-items: center;
	margin: 1rem 0 1.5rem;
	padding: 0;
	border: 0;
}

.royal-review__text p {
	margin: 0;
	font-size: clamp(1.15rem, 1.7vw, 1.4rem);
	font-weight: 500;
	line-height: 1.5;
	color: var(--wp--preset--color--contrast);
}

.royal-review__author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding-top: 1rem;
	border-top: 1px dashed rgba(96, 28, 39, 0.18);
	font-size: 0.8125rem;
	color: rgba(34, 34, 33, 0.65);
}

.royal-review__author strong {
	display: block;
	font-size: 0.95rem;
	color: var(--wp--preset--color--maroon);
}

.royal-review__avatar {
	display: grid;
	place-items: center;
	flex: none;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--wp--preset--color--gold), var(--wp--preset--color--amber));
	color: var(--wp--preset--color--maroon);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.1rem;
}

@media (max-width: 959px) {
	.royal-reviews {
		grid-template-columns: 1fr 1fr;
	}

	.royal-reviews__score {
		grid-column: 1 / -1;
	}
}

@media (max-width: 599px) {
	.royal-reviews {
		grid-template-columns: 1fr;
	}

	.royal-reviews__score {
		padding: 1.5rem;
	}
}

/* ---------------------------------------------------------------------------
 * Small phones (≤ 599px / ≤ 379px): tighter type so nothing clips or
 * wraps awkwardly on 320–414px wide screens.
 * ------------------------------------------------------------------------- */

@media (max-width: 599px) {
	/* Eyebrows: no hanging decorative lines once the text may wrap. */
	.royal-eyebrow {
		gap: 0.5rem;
		font-size: 0.7rem;
		letter-spacing: 0.14em;
		text-wrap: balance;
	}

	.royal-eyebrow::before,
	.royal-section__head .royal-eyebrow::after,
	.royal-cta .royal-eyebrow::after {
		display: none;
	}

	.royal-hero__title.royal-hero__title {
		font-size: clamp(2.3rem, 12vw, 3.2rem);
	}

	.royal-title.royal-title {
		font-size: clamp(1.75rem, 8.5vw, 2.2rem);
		text-wrap: balance;
	}

	.royal-cta__title.royal-cta__title {
		font-size: clamp(2.2rem, 11vw, 2.8rem);
	}

	.royal-cat__name,
	.royal-cat:nth-child(1) .royal-cat__name {
		font-size: clamp(1rem, 4.8vw, 1.35rem);
		-webkit-hyphens: auto;
		hyphens: auto;
		overflow-wrap: break-word;
	}

	.royal-cat:nth-child(1) .royal-cat__name {
		font-size: clamp(1.35rem, 6.5vw, 1.75rem);
	}

	.royal-reviews__link {
		justify-content: center;
		width: 100%;
		font-size: 0.9375rem;
	}

	.royal-review {
		padding: 1.5rem 1.25rem 1.25rem;
	}

	.royal-home .wp-block-button__link {
		padding: 0.85rem 1.5rem;
		font-size: 1rem;
	}
}

@media (max-width: 379px) {
	.royal-hero__trust {
		flex-direction: column;
		gap: 0.5rem;
	}

	.royal-hero__chip {
		padding: 0.4rem 0.7rem;
		font-size: 0.72rem;
	}

	.royal-stat__label {
		font-size: 0.8rem;
	}

	.royal-about__badge {
		width: 5.25rem;
		font-size: 0.62rem;
	}

	.royal-about__badge strong {
		font-size: 1.25rem;
	}
}
