/* ==========================================================================
   River of Joy – Design "River-Blau"
   ========================================================================== */

:root {
	--rjo-blue: #1A4B6B;
	--rjo-blue-2: #2376AB;
	--rjo-blue-3: #24597C;
	--rjo-navy: #0F2E43;
	--rjo-accent: #8FD0F2;
	--rjo-bg: #F4F7F9;
	--rjo-white: #FFFFFF;
	--rjo-line: #DCE5EC;
	--rjo-soft: #E8F1F7;
	--rjo-muted: #4F6B7E;
	--rjo-on-blue: #D2E1EB;

	--rjo-font-head: "Montserrat", system-ui, sans-serif;
	--rjo-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--rjo-max: 1312px;
	--rjo-text: 880px;   /* maximale Zeilenbreite für Fließtext auf Unterseiten */
	--rjo-pad-x: clamp(20px, 4vw, 64px);
	--rjo-section: clamp(72px, 8vw, 120px);
	--rjo-radius: 20px;
	--rjo-radius-sm: 10px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 100px; }

body {
	margin: 0;
	background: var(--rjo-bg);
	color: var(--rjo-navy);
	font-family: var(--rjo-font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { opacity: .85; }

h1, h2, h3, h4 { font-family: var(--rjo-font-head); margin: 0; line-height: 1.1; letter-spacing: -0.015em; }

:focus-visible { outline: 3px solid var(--rjo-blue-2); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 1000; width: auto; height: auto; clip: auto;
	background: var(--rjo-white); padding: 12px 18px; border-radius: 8px;
}

.rjo-container { max-width: var(--rjo-max); margin: 0 auto; }
.rjo-section { padding: var(--rjo-section) var(--rjo-pad-x); }

/* Startseite: zwei helle Bereiche hintereinander teilen sich einen Abstand
   (statt unten + oben doppelt). Farbige Bereiche behalten ihren Innenabstand. */
.home .rjo-section:not(.rjo-confs):not(.rjo-faq--white) + .rjo-section:not(.rjo-confs):not(.rjo-faq--white) { padding-top: 0; }
/* Direkt unter dem Schnelleinstieg etwas weniger Luft. */
.rjo-quick + .rjo-section { padding-top: clamp(56px, 6vw, 88px); }

.rjo-kicker {
	display: block; font-size: 14px; font-weight: 600; letter-spacing: .14em;
	text-transform: uppercase; color: var(--rjo-blue-2);
}
.rjo-h2 { font-weight: 800; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; }

.rjo-section-head {
	display: flex; justify-content: space-between; align-items: flex-end;
	gap: 24px; flex-wrap: wrap; margin-bottom: 40px;
}
.rjo-section-head > div:first-child { display: flex; flex-direction: column; gap: 12px; }

.rjo-more {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 600; color: var(--rjo-blue);
}

/* ---------- Buttons ---------- */
.rjo-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 14px 28px; border-radius: var(--rjo-radius-sm);
	font-family: var(--rjo-font-body); font-size: 16px; font-weight: 700; line-height: 1.2;
	border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, opacity .15s ease;
}
.rjo-btn:hover { opacity: 1; transform: translateY(-1px); }
.rjo-btn--white { background: var(--rjo-white); color: var(--rjo-blue); }
.rjo-btn--blue { background: var(--rjo-blue); color: var(--rjo-white); }
.rjo-btn--accent { background: var(--rjo-accent); color: var(--rjo-navy); }
.rjo-btn--ghost { border-color: rgba(255,255,255,.6); color: var(--rjo-white); font-weight: 600; }
.rjo-btn--ghost-dark { border-color: var(--rjo-blue); color: var(--rjo-blue); font-weight: 600; }
.rjo-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Header ---------- */
.rjo-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--rjo-white); border-bottom: 1px solid var(--rjo-line);
	padding: 0 var(--rjo-pad-x);
}
.admin-bar .rjo-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .rjo-header { top: 0; } }

.rjo-header__inner {
	max-width: var(--rjo-max); margin: 0 auto;
	display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px;
}
.rjo-brand { display: flex; align-items: center; gap: 14px; }
.rjo-brand .custom-logo { max-height: 56px; width: auto; }
.rjo-brand__mark {
	width: 44px; height: 44px; border-radius: 12px; background: var(--rjo-blue); color: var(--rjo-white);
	display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.rjo-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.rjo-brand__name { font-family: var(--rjo-font-head); font-weight: 800; font-size: 20px; color: var(--rjo-blue); }
.rjo-brand__place { font-size: 13px; color: var(--rjo-muted); }

.rjo-nav { display: flex; align-items: center; gap: 28px; }
.rjo-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.rjo-menu li { position: relative; }
.rjo-menu a { font-size: 15px; font-weight: 500; padding: 8px 0; display: inline-block; }
.rjo-menu .current-menu-item > a,
.rjo-menu .current_page_item > a,
.rjo-menu .current-menu-ancestor > a { color: var(--rjo-blue-2); }

/* Untermenüs */
.rjo-menu .sub-menu {
	list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: -14px; min-width: 220px;
	background: var(--rjo-white); border: 1px solid var(--rjo-line); border-radius: 12px;
	box-shadow: 0 12px 32px rgba(15,46,67,.1); display: none;
}
.rjo-menu li:hover > .sub-menu,
.rjo-menu li:focus-within > .sub-menu { display: block; }
.rjo-menu .sub-menu a { display: block; padding: 8px 12px; border-radius: 8px; }
.rjo-menu .sub-menu a:hover { background: var(--rjo-soft); opacity: 1; }

.rjo-header__give { min-height: 44px; padding: 10px 22px; font-weight: 600; }

.rjo-nav-toggle {
	display: none; align-items: center; justify-content: center; width: 48px; height: 48px;
	border: 1px solid var(--rjo-line); border-radius: 12px; background: var(--rjo-white); color: var(--rjo-navy); cursor: pointer;
}
.rjo-nav-toggle .rjo-icon-close { display: none; }

@media (max-width: 1080px) {
	.rjo-nav-toggle { display: inline-flex; }
	.rjo-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--rjo-white); border-bottom: 1px solid var(--rjo-line);
		padding: 16px var(--rjo-pad-x) 28px; flex-direction: column; align-items: stretch; gap: 16px;
		max-height: calc(100vh - 88px); overflow-y: auto;
	}
	.rjo-nav-open .rjo-nav { display: flex; }
	.rjo-nav-open .rjo-nav-toggle .rjo-icon-menu { display: none; }
	.rjo-nav-open .rjo-nav-toggle .rjo-icon-close { display: block; }
	.rjo-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.rjo-menu a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--rjo-line); }
	.rjo-menu .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 16px; }
	.rjo-menu .sub-menu a { font-size: 16px; padding: 10px 0; border-radius: 0; }
	.rjo-header__give { align-self: flex-start; }
}

/* ---------- Hero (volle Breite) ---------- */
.rjo-hero {
	position: relative; overflow: hidden; isolation: isolate;
	display: flex; align-items: flex-end;
	min-height: 640px; min-height: min(88vh, 900px); min-height: min(88svh, 900px);
	background: var(--rjo-blue); color: var(--rjo-white);
}
.rjo-hero__bg { position: absolute; inset: 0; z-index: -2; }
.rjo-hero__picture { display: block; width: 100%; height: 100%; }
.rjo-hero__bg img,
.rjo-hero__bg video {
	position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
	object-fit: cover; object-position: var(--rjo-hero-pos, center center);
}
.rjo-hero__overlay {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(to top, rgba(15,46,67,.85) 0%, rgba(15,46,67,.35) 45%, rgba(15,46,67,0) 75%),
		rgba(15,46,67,var(--rjo-overlay, .35));
}
.rjo-hero__content {
	width: 100%; max-width: calc(var(--rjo-max) + 2 * var(--rjo-pad-x)); margin: 0 auto;
	padding: clamp(120px, 14vw, 200px) var(--rjo-pad-x) clamp(48px, 7vw, 104px);
}
.rjo-hero__text { max-width: 780px; display: flex; flex-direction: column; gap: 26px; }
.rjo-hero__badge {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
	background: rgba(255,255,255,.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500;
}
.rjo-hero__title {
	font-weight: 900; font-size: clamp(44px, 7vw, 104px); line-height: .96; letter-spacing: -0.02em;
	text-shadow: 0 2px 24px rgba(15,46,67,.25);
}
.rjo-hero__title em { font-style: normal; color: var(--rjo-accent); }
.rjo-hero__lead { margin: 0; font-size: clamp(17px, 1.5vw, 21px); color: #E6EEF4; max-width: 580px; }

/* Handy-Bild statt Video */
.rjo-hero__mobile-only { display: none; }
@media (max-width: 767px) {
	.rjo-hero { min-height: 600px; min-height: min(86svh, 760px); }
	.rjo-hero__desktop-only { display: none; }
	.rjo-hero__mobile-only { display: block; }
	.rjo-hero__content { padding-top: 120px; }
	.rjo-hero__text { gap: 20px; }
	.rjo-hero .rjo-btn { flex: 1 1 auto; }
}

/* ---------- Platzhalter ---------- */
.rjo-placeholder {
	position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 20px;
	color: rgba(255,255,255,.6); font-size: 13px; letter-spacing: .05em;
}
.rjo-placeholder--top { align-items: flex-start; justify-content: flex-end; text-align: right; padding: 24px; }
.rjo-placeholder--light { background: #DCE8F0; color: var(--rjo-muted); align-items: center; justify-content: center; text-align: center; }

/* ---------- Schnelleinstieg ---------- */
.rjo-quick { padding: 0 var(--rjo-pad-x); }
.rjo-quick__inner {
	max-width: var(--rjo-max); margin: 0 auto; display: flex; flex-wrap: wrap;
	background: var(--rjo-white); border-radius: 0 0 var(--rjo-radius) var(--rjo-radius);
	box-shadow: 0 12px 32px rgba(15,46,67,.08);
}
.rjo-quick__item { flex: 1 1 260px; padding: 32px; display: flex; gap: 18px; align-items: flex-start; border-right: 1px solid #E6EDF2; }
.rjo-quick__item:last-child { border-right: 0; }
.rjo-quick__icon {
	flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; background: var(--rjo-soft); color: var(--rjo-blue);
	display: inline-flex; align-items: center; justify-content: center;
}
.rjo-quick__body { display: flex; flex-direction: column; gap: 6px; }
.rjo-quick__title { font-family: var(--rjo-font-head); font-weight: 700; font-size: 19px; }
.rjo-quick__text { font-size: 15px; line-height: 1.5; color: var(--rjo-muted); }
@media (max-width: 860px) {
	.rjo-quick__item { border-right: 0; border-bottom: 1px solid #E6EDF2; }
	.rjo-quick__item:last-child { border-bottom: 0; }
}

/* ---------- Termine ---------- */
.rjo-events { display: flex; gap: 20px; flex-wrap: wrap; }
.rjo-events__featured { flex: 2 1 420px; display: flex; flex-direction: column; gap: 20px; }
.rjo-events__grid { flex: 3 1 560px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-content: start; }
@media (max-width: 640px) { .rjo-events__grid { grid-template-columns: minmax(0, 1fr); } }

.rjo-event-big {
	background: var(--rjo-blue); color: var(--rjo-white); border-radius: var(--rjo-radius);
	padding: 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 300px; flex: 1;
}
.rjo-event-big__tag {
	align-self: flex-start; background: var(--rjo-accent); color: var(--rjo-navy);
	padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
}
.rjo-event-big__body { display: flex; flex-direction: column; gap: 10px; }
.rjo-event-big__time { font-family: var(--rjo-font-head); font-weight: 900; font-size: clamp(34px, 3.4vw, 44px); line-height: 1; }
.rjo-event-big__title { font-family: var(--rjo-font-head); font-weight: 800; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.2; }
.rjo-event-big__text { font-size: 16px; color: var(--rjo-on-blue); line-height: 1.5; }

.rjo-event-card {
	background: var(--rjo-white); border: 1px solid var(--rjo-line); border-radius: 16px; padding: 24px;
	display: flex; flex-direction: column; gap: 10px; min-height: 140px;
}
.rjo-event-card__meta { font-size: 13px; font-weight: 600; color: var(--rjo-blue-2); letter-spacing: .04em; }
.rjo-event-card__title { font-family: var(--rjo-font-head); font-weight: 800; font-size: 21px; }
.rjo-event-card__text { font-size: 15px; color: var(--rjo-muted); line-height: 1.5; }

.rjo-empty {
	background: var(--rjo-white); border: 1px dashed var(--rjo-line); border-radius: 16px; padding: 28px;
	color: var(--rjo-muted); font-size: 15px; flex: 1 1 100%;
}

/* ---------- Konferenzen ---------- */
.rjo-confs { background: var(--rjo-navy); color: var(--rjo-white); }
.rjo-confs .rjo-kicker { color: var(--rjo-accent); }
.rjo-confs .rjo-more { color: var(--rjo-white); }

.rjo-confs__grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.rjo-confs__grid--1 { grid-template-columns: minmax(0, 1fr); }
.rjo-confs__grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.rjo-confs__past-title { margin: 72px 0 32px; font-size: clamp(26px, 3vw, 36px); }

.rjo-conf {
	display: flex; flex-direction: column; overflow: hidden;
	background: var(--rjo-white); color: var(--rjo-navy);
	border: 1px solid var(--rjo-line); border-radius: var(--rjo-radius);
	transition: transform .15s ease, box-shadow .15s ease;
}
.rjo-confs .rjo-conf { border-color: transparent; }
.rjo-conf:hover { opacity: 1; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(15,46,67,.16); }
.rjo-conf__media { position: relative; aspect-ratio: 16 / 9; background: var(--rjo-blue); overflow: hidden; }
.rjo-conf__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rjo-conf__media--portrait img { object-position: center 20%; }
.rjo-conf__fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.35); }
.rjo-conf__badge {
	position: absolute; top: 16px; left: 16px; min-width: 60px; padding: 8px 10px; border-radius: 14px;
	background: var(--rjo-white); color: var(--rjo-navy); text-align: center;
	display: flex; flex-direction: column; line-height: 1; box-shadow: 0 6px 18px rgba(15,46,67,.18);
}
.rjo-conf__day { font-family: var(--rjo-font-head); font-weight: 900; font-size: 26px; }
.rjo-conf__month { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rjo-blue-2); margin-top: 4px; }
.rjo-conf__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rjo-conf__meta { font-size: 13px; font-weight: 600; color: var(--rjo-blue-2); letter-spacing: .03em; }
.rjo-conf__title { font-family: var(--rjo-font-head); font-weight: 800; font-size: 22px; line-height: 1.2; }
.rjo-conf__text { font-size: 15px; color: var(--rjo-muted); line-height: 1.5; }
.rjo-conf__speaker { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--rjo-muted); }
.rjo-conf__speaker strong { color: var(--rjo-navy); }
.rjo-conf__avatar { width: 36px; height: 36px; border-radius: 999px; object-fit: cover; flex: 0 0 auto; }
.rjo-conf__avatar--icon { background: var(--rjo-soft); color: var(--rjo-blue); display: inline-flex; align-items: center; justify-content: center; }
.rjo-conf--past { opacity: .75; }

/* Eine einzelne Konferenz: groß, Bild links */
.rjo-conf--large { flex-direction: row; flex-wrap: wrap; }
.rjo-conf--large .rjo-conf__media { flex: 1.3 1 420px; aspect-ratio: auto; min-height: 340px; }
.rjo-conf--large .rjo-conf__body { flex: 1 1 340px; padding: clamp(28px, 3.5vw, 48px); justify-content: center; gap: 14px; }
.rjo-conf--large .rjo-conf__title { font-size: clamp(26px, 2.6vw, 36px); }
.rjo-conf--large .rjo-conf__text { font-size: 17px; }
.rjo-conf--large .rjo-conf__speaker { margin-top: 8px; }
@media (max-width: 767px) { .rjo-conf--large .rjo-conf__media { min-height: 240px; } }

/* Konferenz-Detailseite */
.rjo-conf-hero img { width: 100%; max-height: 640px; object-fit: cover; }
.rjo-conf-signup { max-width: var(--rjo-max); margin: 0 auto 32px; }
.rjo-speaker {
	display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
	background: var(--rjo-white); border: 1px solid var(--rjo-line); border-radius: 20px; padding: 24px; margin-bottom: 40px;
}
.rjo-speaker__img { flex: 0 0 120px; width: 120px; height: 120px; border-radius: 999px; overflow: hidden; position: relative; background: #DCE8F0; }
.rjo-speaker__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.rjo-speaker__body { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rjo-speaker__name { font-family: var(--rjo-font-head); font-weight: 800; font-size: 26px; line-height: 1.15; }
.rjo-speaker__info { margin: 0; font-size: 16px; color: var(--rjo-muted); }

/* ---------- Vision ---------- */
.rjo-vision__inner { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 96px); align-items: flex-start; }
.rjo-vision__head { flex: 1.3 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.rjo-vision__title {
	font-weight: 900; font-size: clamp(40px, 6vw, 88px); line-height: 1.04;
	letter-spacing: -0.03em; text-transform: uppercase; color: var(--rjo-navy);
	overflow-wrap: break-word; hyphens: auto;
}
.rjo-vision__title span { color: var(--rjo-blue-2); }
.rjo-vision__body { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 26px; padding-top: 44px; }
.rjo-vision__text { margin: 0; font-size: 19px; line-height: 1.7; color: var(--rjo-muted); }
.rjo-vision__lead { margin: 0; font-family: var(--rjo-font-head); font-weight: 700; font-size: 21px; line-height: 1.5; color: var(--rjo-blue); }
@media (max-width: 767px) {
	.rjo-vision__head, .rjo-vision__body { flex-basis: 100%; }
	.rjo-vision__body { padding-top: 0; gap: 20px; }
	.rjo-vision__text { font-size: 17px; }
	.rjo-vision__lead { font-size: 19px; }
}

/* ---------- Pastorin ---------- */
.rjo-pastor {
	background: var(--rjo-white); border: 1px solid var(--rjo-line); border-radius: 24px;
	padding: clamp(28px, 4vw, 56px); display: flex; gap: clamp(28px, 4vw, 64px); flex-wrap: wrap; align-items: center;
}
.rjo-pastor__img { flex: 0 0 auto; width: clamp(200px, 24vw, 300px); aspect-ratio: 1 / 1; border-radius: 999px; overflow: hidden; position: relative; background: #DCE8F0; }
.rjo-pastor__img img { width: 100%; height: 100%; object-fit: cover; }
.rjo-pastor__body { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.rjo-pastor__name { font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); }
.rjo-pastor__text { margin: 0; font-size: 18px; color: var(--rjo-muted); max-width: 640px; }

/* ---------- Geben ---------- */
.rjo-give-wrap { padding: 0 var(--rjo-pad-x) var(--rjo-section); }
.rjo-give {
	max-width: var(--rjo-max); margin: 0 auto; background: var(--rjo-blue); color: var(--rjo-white); border-radius: 28px;
	padding: clamp(36px, 5vw, 72px); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.rjo-give__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.rjo-give__title { font-weight: 900; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; }
.rjo-give__lead { margin: 0; font-size: 18px; color: var(--rjo-on-blue); max-width: 520px; }

/* ---------- Footer ---------- */
.rjo-footer { background: var(--rjo-navy); color: var(--rjo-on-blue); padding: clamp(56px, 6vw, 88px) var(--rjo-pad-x) 36px; }
.rjo-footer__inner { max-width: var(--rjo-max); margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.rjo-footer__cols { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.rjo-footer__col { flex: 1 1 200px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; }
.rjo-footer__col--brand { flex-basis: 260px; }
.rjo-footer__brand { font-family: var(--rjo-font-head); font-weight: 800; font-size: 26px; color: var(--rjo-white); }
.rjo-footer__head { font-weight: 700; color: var(--rjo-white); }
.rjo-footer__col a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
.rjo-social { display: flex; gap: 10px; margin-top: 4px; }
.rjo-social a {
	width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid #3A5D74;
	display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.rjo-footer__bottom {
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	border-top: 1px solid #284A60; padding-top: 24px; font-size: 14px; color: #9DB5C5;
}
.rjo-footer__bottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.rjo-pagehead { background: var(--rjo-blue); color: var(--rjo-white); padding: clamp(56px, 7vw, 104px) var(--rjo-pad-x) clamp(48px, 6vw, 80px); }
.rjo-pagehead__inner { max-width: var(--rjo-max); margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.rjo-pagehead .rjo-kicker { color: var(--rjo-accent); }
.rjo-pagehead__title { font-weight: 900; font-size: clamp(38px, 5.4vw, 76px); line-height: 1; letter-spacing: -0.02em; }
.rjo-pagehead__lead { margin: 0; font-size: 19px; color: var(--rjo-on-blue); max-width: 680px; }

/* ---------- Inhalt aus dem Block-Editor ---------- */
.rjo-content { padding: clamp(48px, 6vw, 88px) var(--rjo-pad-x) var(--rjo-section); }
.entry-content { max-width: var(--rjo-max); margin: 0 auto; font-size: 18px; line-height: 1.7; }
/* Text bündig unter der Seitenüberschrift, Zeilen bis --rjo-text breit */
.entry-content > * { margin-top: 0; margin-bottom: 1.25em; max-width: var(--rjo-text); }
.entry-content > .aligncenter { margin-left: auto; margin-right: auto; }
/* Bilder, Spalten, Galerien, farbige Gruppen & Co. nutzen die volle Inhaltsbreite */
.entry-content > .alignwide,
.entry-content > .wp-block-columns,
.entry-content > .wp-block-gallery,
.entry-content > .wp-block-group.has-background,
.entry-content > .wp-block-cover,
.entry-content > .wp-block-media-text,
.entry-content > .wp-block-table,
.entry-content > .wp-block-embed { max-width: none; }
.entry-content > .alignfull { max-width: none; width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.entry-content h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; margin-top: 1.6em; margin-bottom: .6em; }
.entry-content h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; margin-top: 1.4em; margin-bottom: .5em; }
.entry-content h4 { font-size: 20px; font-weight: 700; margin-top: 1.2em; margin-bottom: .4em; }
.entry-content a { color: var(--rjo-blue-2); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 16px; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption { font-size: 14px; color: var(--rjo-muted); margin-top: 8px; }
.entry-content blockquote {
	margin-left: 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--rjo-accent);
	font-family: var(--rjo-font-head); font-weight: 600; font-size: 22px; line-height: 1.45;
}
.entry-content blockquote cite { display: block; margin-top: 10px; font-family: var(--rjo-font-body); font-size: 15px; font-weight: 500; font-style: normal; color: var(--rjo-muted); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content hr { border: 0; border-top: 1px solid var(--rjo-line); margin: 2.5em 0; }
.entry-content .wp-block-button__link {
	background: var(--rjo-blue); color: var(--rjo-white); border-radius: var(--rjo-radius-sm);
	padding: 14px 26px; font-weight: 700; text-decoration: none;
}
.entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--rjo-blue); border: 1.5px solid var(--rjo-blue); }
.entry-content .wp-block-embed iframe { border-radius: 16px; }
.entry-content .wp-block-columns { gap: 32px; }
.entry-content .wp-block-group.has-background { padding: clamp(24px, 3vw, 40px); border-radius: 20px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th, .entry-content td { padding: 12px 10px; border-bottom: 1px solid var(--rjo-line); text-align: left; }

/* ---------- Übersichten (Termine, Predigten, Beiträge) ---------- */
.rjo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.rjo-card {
	background: var(--rjo-white); border: 1px solid var(--rjo-line); border-radius: 20px; overflow: hidden;
	display: flex; flex-direction: column;
}
.rjo-card__media { aspect-ratio: 16 / 9; background: var(--rjo-blue); position: relative; overflow: hidden; }
.rjo-card__media img { width: 100%; height: 100%; object-fit: cover; }
.rjo-card__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rjo-card__meta { font-size: 13px; font-weight: 600; color: var(--rjo-blue-2); letter-spacing: .04em; }
.rjo-card__title { font-family: var(--rjo-font-head); font-weight: 800; font-size: 22px; line-height: 1.2; }
.rjo-card__text { font-size: 15px; color: var(--rjo-muted); margin: 0; }

.rjo-event-list { display: flex; flex-direction: column; gap: 16px; }
.rjo-event-row {
	background: var(--rjo-white); border: 1px solid var(--rjo-line); border-radius: 20px; padding: 28px 32px;
	display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
}
.rjo-event-row--featured { background: var(--rjo-blue); color: var(--rjo-white); border-color: var(--rjo-blue); }
.rjo-event-row__time { flex: 0 0 180px; display: flex; flex-direction: column; gap: 2px; }
.rjo-event-row__clock { font-family: var(--rjo-font-head); font-weight: 900; font-size: 40px; line-height: 1; }
.rjo-event-row__rhythm { font-size: 14px; font-weight: 600; color: var(--rjo-blue-2); }
.rjo-event-row--featured .rjo-event-row__rhythm { color: var(--rjo-accent); }
.rjo-event-row__body { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.rjo-event-row__title { font-family: var(--rjo-font-head); font-weight: 800; font-size: 26px; }
.rjo-event-row__text { margin: 0; color: var(--rjo-muted); }
.rjo-event-row--featured .rjo-event-row__text { color: var(--rjo-on-blue); }
.rjo-event-row__arrow {
	flex: 0 0 auto; width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid currentColor;
	display: inline-flex; align-items: center; justify-content: center; opacity: .6;
}

/* Detailseiten */
.rjo-detail-meta { display: flex; gap: 12px; flex-wrap: wrap; }
.rjo-chip {
	display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12);
	padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500;
}
.rjo-back { max-width: var(--rjo-max); margin: 48px auto 0; }

/* Seitennummerierung */
.rjo-pagination { margin-top: 48px; }
.rjo-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.rjo-pagination .page-numbers {
	min-width: 44px; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--rjo-line);
	background: var(--rjo-white); display: inline-flex; align-items: center; justify-content: center; font-weight: 600;
}
.rjo-pagination .page-numbers.current { background: var(--rjo-blue); color: var(--rjo-white); border-color: var(--rjo-blue); }

/* ---------- Startseite: Hinweis „Besuch planen“ ---------- */
.rjo-visit-wrap { padding-top: 0; }
.rjo-visit { background: var(--rjo-blue); color: var(--rjo-white); border-radius: 28px; overflow: hidden; display: flex; flex-wrap: wrap; }
.rjo-visit__img { flex: 1 1 460px; min-height: 420px; position: relative; background: var(--rjo-blue-3); }
.rjo-visit__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rjo-visit__body { flex: 1 1 460px; min-width: 0; padding: clamp(30px, 4.5vw, 60px); display: flex; flex-direction: column; justify-content: center; gap: 22px; align-items: flex-start; }
.rjo-visit .rjo-kicker { color: var(--rjo-accent); }
.rjo-visit__title { font-weight: 900; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.02; letter-spacing: -0.015em; }
.rjo-visit__text { margin: 0; font-size: 17px; color: var(--rjo-on-blue); max-width: 480px; }
.rjo-visit__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.rjo-visit__list li { display: flex; align-items: center; gap: 14px; }
.rjo-visit__icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: rgba(143,208,242,.18); color: var(--rjo-accent); display: inline-flex; align-items: center; justify-content: center; }
.rjo-visit__item { display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
.rjo-visit__item strong { font-family: var(--rjo-font-head); font-weight: 700; font-size: 17px; }
.rjo-visit__item span { font-size: 14px; color: #C7D8E4; }
.rjo-visit__btn { margin-top: 4px; }
@media (max-width: 767px) {
	.rjo-visit { border-radius: 22px; }
	.rjo-visit__img { min-height: 260px; }
	.rjo-visit__body { padding: 26px 20px 30px; }
}

/* ---------- Kontaktformular ---------- */
.rjo-form-wrap { background: var(--rjo-white); border: 1px solid var(--rjo-line); border-radius: 24px; padding: clamp(24px, 4vw, 48px); }
.entry-content > .rjo-form-wrap { max-width: var(--rjo-text); }
.rjo-form__title { font-size: clamp(28px, 3vw, 38px); font-weight: 800; margin: 0 0 10px !important; }
.rjo-form__intro { margin: 0 0 28px; color: var(--rjo-muted); font-size: 17px; }
.rjo-form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.rjo-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { .rjo-form__row { grid-template-columns: minmax(0, 1fr); } }
.rjo-form__field { display: flex; flex-direction: column; gap: 6px; }
.rjo-form__field label { font-size: 15px; font-weight: 600; color: var(--rjo-navy); }
.rjo-form__opt { font-weight: 400; color: var(--rjo-muted); }
.rjo-form input[type="text"], .rjo-form input[type="email"], .rjo-form input[type="tel"], .rjo-form textarea {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: var(--rjo-navy);
	background: var(--rjo-bg); border: 1.5px solid var(--rjo-line); border-radius: 12px; padding: 13px 14px; min-height: 50px;
	transition: border-color .15s ease, background .15s ease;
}
.rjo-form textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
.rjo-form input:focus, .rjo-form textarea:focus { outline: none; border-color: var(--rjo-blue-2); background: var(--rjo-white); box-shadow: 0 0 0 3px rgba(35,118,171,.15); }
.rjo-form__check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--rjo-muted); }
.rjo-form__check input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--rjo-blue); }
.rjo-form__check a { color: var(--rjo-blue-2); text-decoration: underline; }
.rjo-form__submit { align-self: flex-start; border: 0; }
.rjo-form__note { margin: 0; font-size: 13px; color: var(--rjo-muted); }
.rjo-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rjo-form__notice { border-radius: 14px; padding: 16px 18px; font-size: 16px; margin-bottom: 20px; }
.rjo-form__notice--ok { background: #E6F4EA; color: #1E5631; border: 1px solid #B7DFC3; }
.rjo-form__notice--error { background: #FDECEA; color: #8A1C12; border: 1px solid #F5C2BC; }
@media (max-width: 767px) { .rjo-form-wrap { padding: 22px 18px; border-radius: 20px; } .rjo-form__submit { align-self: stretch; } }

/* ---------- FAQ ---------- */
.rjo-faq__inner { display: flex; gap: clamp(32px, 5vw, 80px); flex-wrap: wrap; align-items: flex-start; }
.rjo-faq__intro { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.rjo-faq__text { margin: 0; font-size: 17px; color: var(--rjo-muted); max-width: 380px; }
.rjo-faq__list { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.rjo-faq__item { background: var(--rjo-white); border: 1px solid var(--rjo-line); border-radius: 16px; overflow: hidden; }
.rjo-faq--white { background: var(--rjo-white); }
.rjo-faq--white .rjo-faq__item { background: var(--rjo-bg); border-color: transparent; }
.rjo-faq__q {
	list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 64px; padding: 18px 24px; font-family: var(--rjo-font-head); font-weight: 700; font-size: 18px; line-height: 1.35;
}
.rjo-faq__q::-webkit-details-marker { display: none; }
.rjo-faq__q::marker { content: ''; }
.rjo-faq__icon {
	flex: 0 0 auto; width: 36px; height: 36px; border-radius: 999px; background: var(--rjo-soft); color: var(--rjo-blue);
	display: inline-flex; align-items: center; justify-content: center; transition: transform .2s ease, background .2s ease;
}
.rjo-faq__item[open] .rjo-faq__icon { transform: rotate(45deg); background: var(--rjo-blue); color: var(--rjo-white); }
.rjo-faq__a { padding: 0 24px 22px; font-size: 16px; line-height: 1.65; color: var(--rjo-muted); max-width: 760px; }
.rjo-faq__a > *:first-child { margin-top: 0; }
.rjo-faq__a > *:last-child { margin-bottom: 0; }
.rjo-faq__a a { color: var(--rjo-blue-2); text-decoration: underline; }

/* ---------- Besuch planen ---------- */
.rjo-bp-hero {
	position: relative; overflow: hidden; isolation: isolate; background: var(--rjo-blue); color: var(--rjo-white);
	padding: clamp(56px, 7vw, 104px) var(--rjo-pad-x) clamp(72px, 8vw, 112px);
}
.rjo-bp-hero--image { min-height: 520px; display: flex; align-items: flex-end; padding-top: 140px; }
.rjo-bp-hero__bg { position: absolute; inset: 0; z-index: -2; }
.rjo-bp-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.rjo-bp-hero__overlay {
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(to top, rgba(15,46,67,.88) 0%, rgba(15,46,67,.35) 55%, rgba(15,46,67,.15) 100%);
}
.rjo-bp-hero__inner { width: 100%; max-width: var(--rjo-max); margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.rjo-bp-hero .rjo-kicker { color: var(--rjo-accent); }

.rjo-bp-facts-wrap { padding: 0 var(--rjo-pad-x); position: relative; z-index: 2; }
.rjo-bp-facts {
	max-width: var(--rjo-max); margin: -44px auto 0; background: var(--rjo-white); border-radius: var(--rjo-radius);
	box-shadow: 0 14px 36px rgba(15,46,67,.10); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.rjo-bp-fact { padding: 28px; display: flex; gap: 16px; align-items: flex-start; border-right: 1px solid #E6EDF2; }
.rjo-bp-fact:last-child { border-right: 0; }
.rjo-bp-fact__body { display: flex; flex-direction: column; gap: 4px; }
.rjo-bp-fact__label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rjo-blue-2); }
.rjo-bp-fact__value { font-family: var(--rjo-font-head); font-weight: 700; font-size: 18px; line-height: 1.3; }
@media (max-width: 760px) { .rjo-bp-fact { border-right: 0; border-bottom: 1px solid #E6EDF2; } .rjo-bp-fact:last-child { border-bottom: 0; } }

.rjo-bp-route { display: flex; gap: 24px; flex-wrap: wrap; }
.rjo-bp-route__info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.rjo-bp-card { background: var(--rjo-white); border: 1px solid var(--rjo-line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.rjo-bp-card__head { display: flex; align-items: center; gap: 12px; font-family: var(--rjo-font-head); font-weight: 800; font-size: 22px; line-height: 1.2; }
.rjo-bp-card__icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--rjo-blue); color: var(--rjo-white); display: inline-flex; align-items: center; justify-content: center; }
.rjo-bp-card p { margin: 0; font-size: 16px; color: var(--rjo-muted); }
.rjo-bp-address { margin: 0; font-size: 16px; line-height: 1.5; }
.rjo-bp-map { flex: 1.3 1 480px; min-width: 0; min-height: 440px; position: relative; border-radius: 20px; overflow: hidden; background: #DCE8F0; }
.rjo-bp-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rjo-bp-map__btn { position: absolute; right: 20px; bottom: 20px; box-shadow: 0 8px 22px rgba(15,46,67,.25); }
@media (max-width: 700px) { .rjo-bp-map { min-height: 340px; } .rjo-bp-map__btn { left: 16px; right: 16px; bottom: 16px; } }

.rjo-bp-family { background: var(--rjo-white); }
.rjo-bp-family__grid { display: flex; gap: 24px; flex-wrap: wrap; }
.rjo-bp-kids { flex: 1.4 1 480px; min-width: 0; background: var(--rjo-bg); border-radius: 24px; overflow: hidden; display: flex; flex-wrap: wrap; }
.rjo-bp-kids__img { flex: 1 1 260px; min-height: 300px; position: relative; background: var(--rjo-blue-3); }
.rjo-bp-kids__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rjo-bp-kids__body { flex: 1.2 1 280px; padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.rjo-bp-kids__body p, .rjo-bp-trans p { margin: 0; font-size: 16px; }
.rjo-bp-kids__body p { color: var(--rjo-muted); }
.rjo-bp-h3 { font-weight: 800; font-size: 28px; line-height: 1.15; }
.rjo-bp-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.rjo-bp-chips span { background: var(--rjo-white); border: 1px solid var(--rjo-line); padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.rjo-bp-trans {
	flex: 1 1 340px; min-width: 0; background: var(--rjo-blue); color: var(--rjo-white); border-radius: 24px;
	padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.rjo-bp-trans .rjo-kicker { color: var(--rjo-accent); }
.rjo-bp-trans p { color: var(--rjo-on-blue); }
.rjo-bp-trans__icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.12); display: inline-flex; align-items: center; justify-content: center; }
.rjo-bp-content { padding-bottom: 0; }
.rjo-bp-cta { padding-top: var(--rjo-section); }

/* 404 */
.rjo-404 { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.rjo-btn, .rjo-conf { transition: none; }
}

/* ---------- Handy: schmalere Ränder & Innenabstände ---------- */
@media (max-width: 767px) {
	:root { --rjo-pad-x: 14px; }
	.rjo-quick__item { padding: 22px 18px; gap: 14px; }
	.rjo-event-big { padding: 26px 22px; min-height: 0; gap: 28px; }
	.rjo-event-card { padding: 20px 18px; }
	.rjo-conf__body { padding: 20px 18px; }
	.rjo-pastor { padding: 24px 18px; }
	.rjo-give { padding: 32px 20px; border-radius: 22px; }
	.rjo-faq__q { padding: 16px 16px 16px 18px; font-size: 17px; }
	.rjo-faq__a { padding: 0 18px 18px; }
	.rjo-bp-fact { padding: 20px 18px; }
	.rjo-bp-card { padding: 22px 18px; }
	.rjo-bp-kids__body { padding: 24px 18px; }
	.rjo-bp-trans { padding: 24px 20px; }
	.rjo-speaker { padding: 18px; }
	.rjo-event-row { padding: 22px 18px; gap: 16px; }
	.rjo-card__body { padding: 20px 18px; }
}
