/* RJ-Mediendesign – Theme-Styles (Frontend + Editor)
   Farben, Schriften, Schatten kommen aus theme.json (CSS-Variablen --wp--preset--*). */

*, *::before, *::after { box-sizing: border-box; }
body { -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; }
.wp-site-blocks > * { margin-block-start: 0; }
:focus-visible { outline: 3px solid var(--wp--preset--color--accent); outline-offset: 3px; border-radius: 8px; }

/* Abstände/Größen in den Seiten-Sektionen (Margins werden über gap gesteuert) */
:is(.rj-hero, .rj-section, .rj-cta, .rj-footer, .rj-page-hero) :where(h1, h2, h3, h4, p, ul) { margin: 0; }
.wp-block-post-content > :where(:not(.alignfull)) { padding-inline: var(--wp--custom--gutter); }

.rj-inner { position: relative; max-width: var(--wp--custom--container); margin-inline: auto; padding-inline: var(--wp--custom--gutter); }

/* ---------- Bewegung ---------- */
@keyframes rjFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes rjBlob { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(36px, -24px) scale(1.08); } }
@keyframes rjIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.rj-float { animation: rjFloat 7s ease-in-out infinite; }
.rj-float--2 { animation-duration: 8s; animation-delay: -2.5s; }
.rj-float--3 { animation-duration: 9s; animation-delay: -5s; }
.rj-blob { animation: rjBlob 20s ease-in-out infinite; }
@supports (animation-timeline: view()) {
	.rj-reveal { animation: rjIn linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
}
@media (prefers-reduced-motion: reduce) {
	.rj-float, .rj-blob, .rj-reveal { animation: none !important; }
	* { scroll-behavior: auto !important; transition: none !important; }
}

/* ---------- Label / Badge / Tag (Block-Stile) ---------- */
.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--mono); font-size: 12px; font-weight: 500;
	letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--primary); line-height: 1.4;
}
.is-style-pill-badge {
	display: flex; align-items: center; gap: 10px; align-self: flex-start; width: fit-content;
	padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255,255,255,.8);
	box-shadow: 0 6px 20px -10px rgba(11,61,116,.25);
	font-family: var(--wp--preset--font-family--mono); font-size: 12px; font-weight: 500;
	letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--primary); line-height: 1.4;
}
.is-style-pill-badge::before {
	content: ""; flex: none; width: 22px; height: 22px; border-radius: 999px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-12a7 7 0 0 1 14 0c0 5.8-7 12-7 12z'/%3E%3C/svg%3E") center / 12px 12px no-repeat,
		var(--wp--preset--gradient--teal-blue);
}
.is-style-tag {
	display: inline-block; width: fit-content; font-family: var(--wp--preset--font-family--mono); font-size: 11px; font-weight: 500;
	letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; line-height: 1.3;
	background: var(--wp--preset--color--tag-bg); color: var(--wp--preset--color--tag-text);
}

/* ---------- Buttons ---------- */
.wp-block-buttons { gap: 12px; }
.wp-block-button__link {
	display: inline-flex; align-items: center; gap: 10px; min-height: 52px; text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(24,95,165,.6); }
.wp-block-button.is-style-arrow .wp-block-button__link::after,
.rj-arrow::after, .wp-block-button.is-style-text-link .wp-block-button__link::after {
	content: ""; flex: none; width: 18px; height: 18px; background: currentColor;
	-webkit-mask: var(--rj-arrow) center / contain no-repeat; mask: var(--rj-arrow) center / contain no-repeat;
}
:root { --rj-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.wp-block-button.is-style-soft .wp-block-button__link {
	background: #fff; color: var(--wp--preset--color--primary-dark); box-shadow: var(--wp--preset--shadow--button-soft);
}
.wp-block-button.is-style-soft .wp-block-button__link:hover { box-shadow: 0 1px 2px rgba(11,61,116,.08), 0 14px 30px -14px rgba(11,61,116,.45); color: var(--wp--preset--color--primary-dark); }
.wp-block-button.is-style-light .wp-block-button__link {
	background: #fff; color: var(--wp--preset--color--primary-dark); box-shadow: none; min-height: 54px; padding-inline: 28px; font-weight: 800;
}
.wp-block-button.is-style-light .wp-block-button__link:hover { color: var(--wp--preset--color--primary-dark); box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); }
.wp-block-button.is-style-light .wp-block-button__link::after {
	content: ""; flex: none; width: 18px; height: 18px; background: currentColor;
	-webkit-mask: var(--rj-arrow) center / contain no-repeat; mask: var(--rj-arrow) center / contain no-repeat;
}
.wp-block-button.is-style-text-link .wp-block-button__link {
	background: none; box-shadow: none; padding: 0; min-height: 44px; gap: 8px;
	color: var(--wp--preset--color--primary); font-weight: 700; font-size: 17px;
}
.wp-block-button.is-style-text-link .wp-block-button__link:hover { transform: none; box-shadow: none; color: var(--wp--preset--color--primary-dark); }

/* ---------- Icons (Block rj/icon) ---------- */
.rj-icon {
	--s: 52px; --g: var(--wp--preset--gradient--sky);
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: var(--s); height: var(--s); border-radius: calc(var(--s) * .3); background: var(--g);
}
.rj-icon svg { width: 46%; height: 46%; display: block; }
.rj-icon--sky { --g: var(--wp--preset--gradient--sky); }
.rj-icon--teal { --g: var(--wp--preset--gradient--teal); }
.rj-icon--teal-violet { --g: var(--wp--preset--gradient--teal-violet); }
.rj-icon--violet-rose { --g: var(--wp--preset--gradient--violet-rose); }
.rj-icon--rose-amber { --g: var(--wp--preset--gradient--rose-amber); }
.rj-icon--amber-rose { --g: var(--wp--preset--gradient--amber-rose); }
.rj-icon--amber { --g: var(--wp--preset--gradient--amber); }
.rj-icon--blue { --g: var(--wp--preset--gradient--blue); }
.rj-icon--teal-blue { --g: var(--wp--preset--gradient--teal-blue); }

/* ---------- Header / Navigation ---------- */
.rj-site-header { position: sticky; top: 0; z-index: 50; padding: 14px clamp(12px, 3vw, 24px) 0; margin-bottom: -78px; }
.admin-bar .rj-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .rj-site-header { top: 46px; } }
.rj-nav-wrap { position: relative; }
.rj-nav {
	position: relative; max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 10px 10px 10px 16px; background: rgba(255,255,255,.76);
	-webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
	border: 1px solid rgba(255,255,255,.85); border-radius: 22px; box-shadow: var(--wp--preset--shadow--nav);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .rj-nav { background: rgba(255,255,255,.97); } }
.rj-logo { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--wp--preset--color--ink); flex: none; }
.rj-logo:hover { color: var(--wp--preset--color--ink); }
.rj-logo__mark {
	width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
	background: var(--wp--preset--gradient--blue); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: -.02em;
	box-shadow: 0 6px 16px -8px rgba(11,61,116,.7);
}
.rj-logo__name { font-weight: 800; font-size: 17px; letter-spacing: -.02em; white-space: nowrap; }
.rj-nav__menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.rj-nav__link, .rj-nav__drop-toggle {
	display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent;
	font: 600 15px/1.2 var(--wp--preset--font-family--jakarta); color: var(--wp--preset--color--text-nav); text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background .2s ease, color .2s ease;
}
.rj-nav__link:hover, .rj-nav__drop-toggle:hover { background: rgba(24,95,165,.06); color: var(--wp--preset--color--primary-dark); }
.rj-nav__link[aria-current="page"], .rj-nav__item--drop.is-current > .rj-nav__drop-toggle { background: var(--wp--preset--color--surface-blue); color: var(--wp--preset--color--primary-dark); }
.rj-nav__drop-toggle svg { transition: transform .2s ease; }
.rj-nav__item--drop.is-open > .rj-nav__drop-toggle svg { transform: rotate(180deg); }
.rj-nav__item { position: relative; }
.rj-drop { position: absolute; top: 100%; left: -24px; padding-top: 12px; z-index: 60; display: none; }
.rj-nav__item--drop:hover > .rj-drop, .rj-nav__item--drop:focus-within > .rj-drop, .rj-nav__item--drop.is-open > .rj-drop { display: block; }
.rj-drop__panel {
	width: 620px; padding: 14px; border-radius: 24px; background: #fff; box-shadow: var(--wp--preset--shadow--menu);
	display: flex; flex-direction: column; gap: 6px;
}
.rj-drop__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.rj-drop__item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 16px; text-decoration: none; color: var(--wp--preset--color--ink); transition: background .2s ease; }
.rj-drop__item:hover, .rj-drop__item:focus-visible { background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); }
.rj-drop__item .rj-icon { --s: 40px; }
.rj-drop__text { display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
.rj-drop__text strong { font-size: 15px; }
.rj-drop__text small { font-size: 13px; color: var(--wp--preset--color--text-muted); }
.rj-drop__text .is-style-tag { font-size: 10px; padding: 2px 7px; margin-left: 4px; vertical-align: 2px; letter-spacing: .04em; }
.rj-drop__all {
	display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 16px;
	background: var(--wp--preset--color--surface); text-decoration: none; color: var(--wp--preset--color--primary); font-weight: 700; font-size: 14px;
}
.rj-drop__all::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--rj-arrow) center / contain no-repeat; mask: var(--rj-arrow) center / contain no-repeat; }
.rj-nav__cta {
	display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; white-space: nowrap;
	background: var(--wp--preset--gradient--blue); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none;
	box-shadow: 0 8px 20px -10px rgba(24,95,165,.75); transition: transform .2s ease, box-shadow .2s ease;
}
.rj-nav__cta:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(24,95,165,.6); }
.rj-nav__mobile-actions { display: none; align-items: center; gap: 8px; }
.rj-nav__mobile-actions .rj-nav__cta { min-height: 44px; padding: 0 16px; font-size: 14px; }
.rj-nav__burger {
	width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--primary-dark);
	display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.rj-nav__burger .i-close { display: none; }
.rj-nav__burger[aria-expanded="true"] .i-close { display: block; }
.rj-nav__burger[aria-expanded="true"] .i-open { display: none; }
.rj-mobile { position: absolute; left: 0; right: 0; top: 100%; padding-top: 10px; z-index: 60; display: none; }
.rj-mobile.is-open { display: block; }
.rj-mobile__panel {
	max-width: 1240px; margin: 0 auto; padding: 12px; border-radius: 24px; background: #fff; box-shadow: 0 30px 70px -24px rgba(11,61,116,.45);
	display: flex; flex-direction: column; gap: 4px; max-height: 76vh; overflow-y: auto;
}
.rj-mobile__label { padding: 10px 14px 4px; font-family: var(--wp--preset--font-family--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--primary); }
.rj-mobile__panel a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border-radius: 14px; text-decoration: none; color: var(--wp--preset--color--ink); font-weight: 600; font-size: 16px; }
.rj-mobile__panel a[aria-current="page"] { background: var(--wp--preset--color--surface-blue); color: var(--wp--preset--color--primary-dark); }
.rj-mobile__panel a.rj-mobile__all { color: var(--wp--preset--color--primary); font-weight: 700; font-size: 15px; }
.rj-mobile__dot { width: 10px; height: 10px; border-radius: 4px; background: var(--g); flex: none; }
.rj-mobile__panel hr { border: 0; height: 1px; background: #E3EAF3; margin: 6px 10px; }
@media (max-width: 999px) {
	.rj-nav__menu, .rj-nav > .rj-nav__cta { display: none; }
	.rj-nav__mobile-actions { display: flex; }
}
@media (min-width: 1000px) { .rj-mobile { display: none !important; } }

/* ---------- Hero ---------- */
.rj-hero { position: relative; overflow: clip; padding: 170px 0 110px; background: linear-gradient(180deg, #EAF1F9 0%, #F2F6FB 45%, #FFFFFF 100%); }
.rj-blobs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.rj-blobs i { position: absolute; border-radius: 50%; }
.rj-blobs i:nth-child(1) { width: 620px; height: 620px; top: -180px; right: -120px; filter: blur(20px); background: radial-gradient(circle at 35% 35%, rgba(24,95,165,.30), rgba(24,95,165,0) 68%); }
.rj-blobs i:nth-child(2) { width: 480px; height: 480px; bottom: -160px; left: 32%; filter: blur(24px); animation-delay: -7s; background: radial-gradient(circle at 50% 50%, rgba(18,184,166,.24), rgba(18,184,166,0) 68%); }
.rj-blobs i:nth-child(3) { width: 420px; height: 420px; top: 40px; left: -160px; filter: blur(24px); animation-delay: -12s; background: radial-gradient(circle at 50% 50%, rgba(124,108,232,.16), rgba(124,108,232,0) 68%); }
.rj-hero__grid { position: relative; max-width: var(--wp--custom--container); margin: 0 auto; padding-inline: var(--wp--custom--gutter); display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.rj-hero__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.rj-hero__copy h1 { text-wrap: balance; }
.rj-grad-text { background: linear-gradient(120deg, #185FA5 10%, #12B8A6 90%) !important; -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; -webkit-text-fill-color: transparent; }
.rj-hero__lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--wp--preset--color--text); max-width: 560px; text-wrap: pretty; }
.rj-checks { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; font-weight: 500; color: var(--wp--preset--color--text); }
.rj-checks li { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; }
.rj-checks li::before {
	content: ""; flex: none; width: 18px; height: 18px; background: var(--wp--preset--color--accent-check);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.rj-hero__visual { flex: 1 1 420px; min-width: 0; position: relative; height: 500px; }
.rj-fc { position: absolute; padding: 18px; border-radius: 24px; background: rgba(255,255,255,.93); box-shadow: var(--wp--preset--shadow--float); display: flex; flex-direction: column; gap: 14px; }
.rj-fc--web { top: 0; left: 0; width: min(340px, 82%); }
.rj-fc--app { top: 150px; right: 0; width: min(260px, 64%); gap: 12px; }
.rj-fc--auto { bottom: 0; left: 6%; width: min(330px, 84%); }
.rj-fc__head { display: flex; align-items: center; gap: 12px; }
.rj-fc__head .rj-icon { --s: 40px; }
.rj-fc__title { display: flex; flex-direction: column; line-height: 1.25; }
.rj-fc__title strong { font-size: 16px; color: var(--wp--preset--color--ink); }
.rj-fc__title span { font-size: 13px; color: var(--wp--preset--color--text-muted); }
.rj-fc__screen { border-radius: 16px; background: var(--wp--preset--color--surface); padding: 12px; display: flex; flex-direction: column; gap: 9px; }
.rj-fc__dots { display: flex; gap: 5px; }
.rj-fc__dots i { width: 8px; height: 8px; border-radius: 9px; background: #C9D6E5; }
.rj-fc__banner { height: 58px; border-radius: 12px; background: linear-gradient(120deg, #185FA5, #12B8A6); }
.rj-fc__line { height: 8px; border-radius: 8px; background: #D5E0EC; }
.rj-fc__pill { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--wp--preset--color--primary); color: #fff; font-size: 11px; font-weight: 700; }
.rj-fc__list { display: flex; flex-direction: column; gap: 8px; }
.rj-fc__row { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 12px; background: var(--wp--preset--color--surface); font-size: 13px; font-weight: 600; color: var(--wp--preset--color--ink); }
.rj-fc__row i { width: 18px; height: 18px; border-radius: 9px; background: var(--wp--preset--color--accent); }
.rj-fc__row i.is-open { background: none; border: 2px solid #C9D6E5; }
.rj-fc__flow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; font-weight: 700; color: var(--wp--preset--color--primary-dark); }
.rj-fc__flow span { padding: 7px 11px; border-radius: 999px; }
.rj-fc__flow span:nth-child(1) { background: var(--wp--preset--color--surface-blue); }
.rj-fc__flow span:nth-child(3) { background: #E2F6F3; }
.rj-fc__flow span:nth-child(5) { background: #EEEBFC; }
.rj-fc__flow svg { color: #7D8EA3; flex: none; }
@media (max-width: 560px) { .rj-hero { padding-top: 150px; } .rj-hero__visual { height: 470px; } }

/* ---------- Sektionen allgemein ---------- */
.rj-section { padding-block: clamp(72px, 9vw, 112px); }
.rj-section--surface { background: var(--wp--preset--color--surface); }
.rj-section--white { background: #fff; }
.rj-section--tall { padding-block: clamp(72px, 9vw, 120px); }
.rj-section .rj-inner { display: flex; flex-direction: column; gap: 44px; }
.rj-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.rj-section__title { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.rj-section h2 { font-size: clamp(30px, 4vw, 46px); text-wrap: balance; }
.rj-section__head .wp-block-buttons { flex: none; }

/* ---------- Bento / Karten ---------- */
.rj-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rj-card {
	position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: 26px;
	background: #fff; color: var(--wp--preset--color--ink); box-shadow: var(--wp--preset--shadow--card);
	transition: transform .25s ease, box-shadow .25s ease;
}
.rj-card:hover, .rj-card:focus-within { transform: translateY(-4px); box-shadow: var(--wp--preset--shadow--card-hover); }
.rj-card:has(a:focus-visible) { outline: 3px solid var(--wp--preset--color--accent); outline-offset: 3px; }
.rj-span2 { grid-column: span 2; }
.rj-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.rj-card h3, .rj-card .rj-card__title { font-size: 22px; line-height: 1.25; letter-spacing: -.02em; font-weight: 700; color: var(--wp--preset--color--ink); }
.rj-card__title a { color: inherit; text-decoration: none; }
.rj-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.rj-card__title a:focus-visible { outline: none; }
.rj-card__text { color: var(--wp--preset--color--text); font-size: 16px; }
.rj-card--hero { min-height: 280px; }
.rj-card--hero::before { content: ""; position: absolute; right: -60px; bottom: -60px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(24,95,165,.14), rgba(24,95,165,0) 70%); pointer-events: none; }
.rj-card--hero h3 { font-size: 26px; letter-spacing: -.02em; line-height: 1.2; }
.rj-card--hero .rj-card__text { font-size: 17px; max-width: 520px; }
.rj-card__more { margin-top: auto; font-weight: 700; color: var(--wp--preset--color--primary); display: flex; align-items: center; gap: 8px; }
.rj-card__more::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--rj-arrow) center / contain no-repeat; mask: var(--rj-arrow) center / contain no-repeat; }
.rj-card--cta { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--wp--preset--gradient--brand); color: #fff; box-shadow: 0 18px 40px -22px rgba(11,61,116,.55); }
.rj-card--cta::before { content: ""; position: absolute; right: -40px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(18,184,166,.45), rgba(18,184,166,0) 70%); pointer-events: none; }
.rj-card--cta > * { position: relative; }
.rj-card--cta .rj-card__copy { display: flex; flex-direction: column; gap: 6px; max-width: 440px; }
.rj-card--cta h3, .rj-card--cta .rj-card__title { font-size: 24px; color: #fff; }
.rj-card--cta .rj-card__text { color: #D6E4F3; }
.rj-card--cta .rj-card__title a:focus-visible::after { outline: 3px solid #fff; outline-offset: -3px; }
.rj-card__pill {
	display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: #fff;
	color: var(--wp--preset--color--primary-dark); font-weight: 700; font-size: 15px;
}
.rj-card__pill::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--rj-arrow) center / contain no-repeat; mask: var(--rj-arrow) center / contain no-repeat; }
@media (max-width: 900px) { .rj-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .rj-bento { grid-template-columns: minmax(0, 1fr); } .rj-span2 { grid-column: auto; } }

/* ---------- Warum RJ ---------- */
.rj-why { flex-direction: row !important; flex-wrap: wrap; gap: 56px !important; align-items: center; }
.rj-why__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.rj-why__copy p { color: var(--wp--preset--color--text); text-wrap: pretty; }
.rj-why__grid { flex: 1 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.rj-mini { padding: 26px; border-radius: 22px; background: var(--wp--preset--color--surface); display: flex; flex-direction: column; gap: 12px; }
.rj-mini .rj-icon { --s: 44px; }
.rj-mini__title { font-size: 18px; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.rj-mini__text { font-size: 15px; color: var(--wp--preset--color--text); }

/* ---------- Referenzen ---------- */
.rj-refs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.rj-ref { position: relative; display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: var(--wp--preset--shadow--card); transition: transform .25s ease, box-shadow .25s ease; }
.rj-ref:hover, .rj-ref:focus-within { transform: translateY(-4px); box-shadow: var(--wp--preset--shadow--card-hover); }
.rj-ref:has(a:focus-visible) { outline: 3px solid var(--wp--preset--color--accent); outline-offset: 3px; }
.rj-ref__img { height: 220px; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; font-size: 14px; font-weight: 600; background: var(--g, linear-gradient(135deg, #DCE8F5, #C3D7EE)); color: var(--c, #3F5B7A); }
.rj-ref__img p { margin: 0; }
.rj-ref--sand .rj-ref__img { --g: linear-gradient(135deg, #FBE9D6, #F6D3C7); --c: #7A4A2A; }
.rj-ref--mint .rj-ref__img { --g: linear-gradient(135deg, #D6F2EE, #CFE0F5); --c: #2D5D60; }
.rj-ref__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.rj-ref__label { font-family: var(--wp--preset--font-family--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--primary); }
.rj-ref__title { font-size: 20px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.rj-ref__title a { color: inherit; text-decoration: none; }
.rj-ref__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.rj-ref__title a:focus-visible { outline: none; }
.rj-ref__text { font-size: 15px; color: var(--wp--preset--color--text); }

/* ---------- FAQ ---------- */
.rj-faq { flex-direction: row !important; flex-wrap: wrap; gap: 48px !important; }
.rj-faq__intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.rj-faq__intro p { color: var(--wp--preset--color--text); }
.rj-faq__list { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.wp-block-details.is-style-faq { border-radius: 20px; background: var(--wp--preset--color--surface); padding: 0 24px; margin: 0; }
.wp-block-details.is-style-faq summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; cursor: pointer;
	font-weight: 700; font-size: 17px; color: var(--wp--preset--color--ink); list-style: none;
}
.wp-block-details.is-style-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-faq summary::after {
	content: "+"; flex: none; width: 32px; height: 32px; border-radius: 999px; background: #fff; display: flex; align-items: center; justify-content: center;
	color: var(--wp--preset--color--primary); font-size: 20px; font-weight: 600; line-height: 1; transition: transform .25s ease;
}
.wp-block-details.is-style-faq[open] summary::after { transform: rotate(45deg); }
.wp-block-details.is-style-faq > :not(summary) { margin: 0 0 22px; color: var(--wp--preset--color--text); }

/* ---------- CTA ---------- */
.rj-cta { padding: 0 var(--wp--custom--gutter) clamp(72px, 9vw, 112px); background: #fff; }
.rj-cta__box {
	position: relative; overflow: hidden; max-width: var(--wp--custom--container); margin: 0 auto; border-radius: 28px;
	padding: clamp(40px, 6vw, 80px); background: var(--wp--preset--gradient--brand); color: #fff;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
}
.rj-cta__box > .rj-blobs { overflow: visible; }
.rj-cta__box .rj-blobs i:nth-child(1) { width: 420px; height: 420px; right: -80px; top: -160px; left: auto; bottom: auto; filter: none; background: radial-gradient(circle, rgba(18,184,166,.5), rgba(18,184,166,0) 70%); }
.rj-cta__box .rj-blobs i:nth-child(2) { width: 360px; height: 360px; left: -120px; bottom: -200px; top: auto; right: auto; filter: none; animation: none; background: radial-gradient(circle, rgba(124,108,232,.35), rgba(124,108,232,0) 70%); }
.rj-cta__copy { position: relative; display: flex; flex-direction: column; gap: 14px; max-width: 620px; }
.rj-cta__copy h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); text-wrap: balance; }
.rj-cta__copy p { color: #D6E4F3; font-size: 18px; }
.rj-cta__box > .wp-block-buttons { position: relative; }

/* ---------- Footer ---------- */
.rj-footer { position: relative; overflow: hidden; background: var(--wp--preset--gradient--footer); color: var(--wp--preset--color--footer-text); font-size: 15px; line-height: 1.6; }
.rj-footer::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -260px; background: radial-gradient(circle, rgba(18,184,166,.22), rgba(18,184,166,0) 70%); pointer-events: none; }
.rj-footer__inner { position: relative; max-width: var(--wp--custom--container); margin: 0 auto; padding: 72px var(--wp--custom--gutter) 32px; display: flex; flex-direction: column; gap: 48px; }
.rj-footer__row { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.rj-footer__brand { flex: 1.4 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.rj-footer__col { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.rj-footer__col--narrow { flex-basis: 160px; }
.rj-footer__brand p { max-width: 320px; }
.rj-footer .rj-logo { color: #fff; min-height: 0; }
.rj-footer .rj-logo__name { font-size: 18px; }
.rj-footer .rj-logo__mark { background: linear-gradient(135deg, #12B8A6, #185FA5); box-shadow: none; }
.rj-footer address { font-style: normal; display: flex; flex-direction: column; gap: 2px; }
.rj-footer address a { color: #fff; margin-top: 6px; }
.rj-footer .is-style-eyebrow { color: var(--wp--preset--color--footer-label); font-size: 11px; }
.rj-footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rj-footer a { color: var(--wp--preset--color--footer-text); text-decoration: none; }
.rj-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.rj-footer :focus-visible { outline-color: #fff; }
.rj-footer .rj-footer__strong a { color: #fff; font-weight: 600; }
.rj-footer .wp-block-button__link { background: #fff; color: var(--wp--preset--color--primary-dark); box-shadow: none; min-height: 46px; padding: 0 22px; font-size: 15px; }
.rj-footer .wp-block-button__link:hover { color: var(--wp--preset--color--primary-dark); text-decoration: none; box-shadow: 0 12px 28px -12px rgba(0,0,0,.4); }
.rj-social { display: flex; gap: 10px; margin-top: 4px; }
.rj-social a { width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .2s ease; }
.rj-social a:hover { background: rgba(255,255,255,.2); text-decoration: none; }
.rj-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.rj-footer__bottom ul { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.rj-footer__badge { font-family: var(--wp--preset--font-family--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--footer-label); }

/* ---------- Unterseiten (Platzhalter-Kopf) ---------- */
.rj-page-hero { position: relative; overflow: clip; padding: 160px 0 64px; background: linear-gradient(180deg, #EAF1F9 0%, #F2F6FB 55%, #FFFFFF 100%); }
.rj-page-hero .rj-inner { max-width: 960px; display: flex; flex-direction: column; gap: 18px; }
.rj-page-hero h1 { font-size: clamp(36px, 5vw, 56px); text-wrap: balance; }
.rj-page-hero .rj-hero__lead { max-width: 640px; }
.rj-page-body { padding-block: 48px 72px; color: var(--wp--preset--color--text); }
.rj-page-title { padding: 150px var(--wp--custom--gutter) 8px; max-width: 820px; margin-inline: auto; }

.rj-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.rj-footer__legal .wp-block-list { flex-direction: row; gap: 6px 22px; }
.rj-footer__badge { margin: 0; }

/* Feinschliff: schmale Displays */
@media (max-width: 460px) {
	.rj-nav { padding-left: 12px; padding-right: 8px; }
	.rj-logo__name { font-size: 15px; }
	.rj-nav__mobile-actions .rj-nav__cta { padding: 0 12px; font-size: 13px; }
}
.rj-footer .wp-block-button__link { white-space: nowrap; }
