/*
 * religio:connect – Grundstile der Seite.
 * Entspricht den Stilen des Originalentwurfs; Breakpoints wie im Original (Fensterbreite).
 */

/* ---------- Grundlage ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
html, body, #root, main { scroll-behavior: smooth; }
#ueber-srr, #ueber-uns, #team, #faq, #geschichte, #werte, #referenzen, #bewertungen { scroll-margin-top: 96px; }
body { margin: 0; background: #020202; font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; text-wrap: pretty; }
a { color: inherit; }
a:hover { color: inherit; }
:focus-visible { outline: 2px solid #8FA6B5; outline-offset: 3px; }
@keyframes pvai-marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@keyframes pvai-marquee-rev { from { transform: translate3d(-50%,0,0); } to { transform: translate3d(0,0,0); } }
@keyframes pvai-menu-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pvai-menu-item { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pvai-faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes srr-mega-col { from { opacity: 0; transform: translateY(18px) scale(.985); filter: blur(4px); } to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }
#srr-mobile-nav > * { animation: srr-mega-col 520ms cubic-bezier(.16,.84,.24,1) both; }
#srr-mobile-nav > *:nth-child(1) { animation-delay: 80ms; }
#srr-mobile-nav > *:nth-child(2) { animation-delay: 130ms; }
#srr-mobile-nav > *:nth-child(3) { animation-delay: 320ms; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.rc-root [hidden] { display: none !important; }

/* ---------- Elementor-Hüllen neutralisieren ---------- */
.elementor .e-con.rc-root,
.elementor .e-con.rc-main {
	display: block !important;
	padding: 0 !important;
	margin: 0 !important;
	gap: normal !important;
	min-height: 0 !important;
	min-width: 0 !important;
	max-width: none !important;
	width: auto !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	flex: none !important;
	transform: none !important;
	isolation: auto !important;
	z-index: auto !important;
	flex-direction: row !important;
	transition: none !important;
}
.elementor .e-con.rc-root {
	background: #020202 !important;
	color: #fff;
	overflow: hidden !important;
	position: relative !important;
}
.elementor .e-con.rc-main {
	background: none !important;
	overflow: visible !important;
	position: static !important;
}
.elementor .e-con.rc-root::before,
.elementor .e-con.rc-root::after,
.elementor .e-con.rc-main::before,
.elementor .e-con.rc-main::after { content: none !important; display: none !important; }
.rc-root .elementor-widget { margin: 0 !important; padding: 0 !important; }
body:not(.elementor-editor-active) .rc-root .elementor-element[data-widget_type^="rc_"],
body:not(.elementor-editor-active) .rc-root .elementor-element[data-widget_type^="rc_"] > .elementor-widget-container { display: contents !important; }

/* Elementor setzt Bilder/Videos sonst auf max-width:100% usw. – wie im Original zurücksetzen */
.elementor .rc-root img { max-width: none; border: none; border-radius: revert; box-shadow: revert; }
.elementor .rc-root a { text-decoration: revert; box-shadow: revert; }
.elementor .rc-root video { max-width: none; margin: 0; line-height: normal; border: none; }

/* ---------- Hover-Zustände ---------- */
.rc-h-li-close:hover { background: #E1E3E7 !important; }
.rc-h-bright:hover { filter: brightness(1.08) !important; }
.rc-h-scale:hover { transform: scale(1.08) !important; }
.rc-h-op1:hover { opacity: 1 !important; }
.rc-h-glass:hover, .rc-h-white20:hover { background: rgba(255,255,255,.2) !important; }
.rc-h-mlink:hover { padding-left: 12px !important; color: #F0A93A !important; border-bottom-color: rgba(240,169,58,.5) !important; }
.rc-h-white24:hover { background: rgba(255,255,255,.24) !important; }
.rc-h-cookie:hover { background: #0A2438 !important; border-color: #0A2438 !important; }
.rc-h-e8ee:hover { background: #E8EEF2 !important; }
.rc-h-modprev:hover { background: rgba(10,26,36,.06) !important; border-color: rgba(10,26,36,.4) !important; }
.rc-h-modnext:hover { background: #0E4C72 !important; border-color: #0E4C72 !important; }
.rc-h-modlink:hover { color: #8F5B02 !important; }
.rc-h-faq:hover { color: #7FD6E8 !important; }
.rc-h-op75:hover { opacity: .75 !important; }
.rc-h-op7:hover { opacity: .7 !important; }
.rc-h-kwk:hover { background: rgba(255,255,255,.12) !important; border-color: rgba(255,255,255,.3) !important; }

/* ---------- Kopfzeile ---------- */
.rc-headbar { background: transparent; }
.rc-headbar.is-scrolled { background: rgba(2,6,14,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.06); }
@media (max-width: 899.98px) { .rc-wide { display: none !important; } }
@media (min-width: 900px) { .rc-narrow { display: none !important; } }

/* ---------- Instagram-Karte ---------- */
.rc-rail .rc-li-card { display: none; }
.rc-rail.rc-li-open .rc-li-card { display: block; }
@media (min-width: 1200px) { .rc-rail.rc-li-auto .rc-li-card { display: block; } }

/* ---------- Startbereich ---------- */
.rc-h1line { white-space: normal; }
@media (min-width: 1024px) { .rc-h1line { white-space: nowrap; } }
.rc-funding { flex-direction: column; }
@media (min-width: 720px) { .rc-funding { flex-direction: row; } }
.rc-hero-media { width: 94%; }
@media (min-width: 900px) { .rc-hero-media { width: 76%; } }

/* ---------- Module ---------- */
.rc-modhead { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .rc-modhead { gap: clamp(40px,4.5vw,80px); grid-template-columns: 0.85fr 1fr; } }
.rc-modcard { flex: 0 0 calc(min(1550px,max(69vw,min(90vw,1080px))) * .86); }
@media (min-width: 760px) { .rc-modcard { flex: 0 0 calc((min(1550px,max(69vw,min(90vw,1080px))) - 2 * clamp(16px,1.8vw,24px)) / 2.5); } }

/* ---------- Über das Projekt ---------- */
.rc-ueber-row { margin-top: 18px; }
@media (min-width: 900px) { .rc-ueber-row { margin-top: clamp(30px,3.4vw,48px); } }
.rc-gal-desk { display: none; }
@media (min-width: 1100px) { .rc-gal-desk { display: block; } .rc-gal-narrow { display: none; } }

/* ---------- Zielgruppen ---------- */
.rc-audgrid { grid-template-columns: 1fr; }
@media (min-width: 860px) { .rc-audgrid { grid-template-columns: repeat(2,minmax(0,1fr)); } }

/* ---------- FAQ ---------- */
.rc-faq-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; transition: 200ms ease; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.rc-faq-icon svg { display: block; transition: transform 240ms ease; transform: rotate(90deg); }
.rc-faq-item.is-open .rc-faq-icon { background: #fff; color: #0E4C72; border: 1px solid #fff; }
.rc-faq-item.is-open .rc-faq-icon svg { transform: rotate(-90deg); }

/* ---------- Footer ---------- */
.rc-footer { padding: calc(40px + 48px) 0 40px; }
@media (min-width: 900px) { .rc-footer { padding: calc(clamp(56px,7vw,100px) + 48px) 0 clamp(36px,4vw,60px); } }

/* ---------- Impressum & Datenschutz ---------- */
.rc-legal-body section { padding: clamp(18px,2vw,24px) 0; border-top: 1px solid #ECEEF1; }
.rc-legal-body section:first-child { border-top: none; padding-top: 0; }
.rc-legal-body h3 { margin: 0 0 10px; font-size: clamp(17px,1.4vw,20px); line-height: 1.3; letter-spacing: -.01em; font-weight: 700; color: #26314E; }
.rc-legal-body p { margin: 0 0 12px; font-size: 15px; line-height: 1.7; color: #4A5560; text-wrap: pretty; }
.rc-legal-body ul { margin: 0 0 12px; padding-left: 20px; font-size: 15px; line-height: 1.7; color: #4A5560; }
.rc-legal-body a { color: #0E4C72; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.rc-legal-body strong, .rc-legal-body b { color: #26314E; font-weight: 600; }
.rc-legal-body p:has(> .rc-cookie-btn:only-child) { margin: 4px 0 12px; font-size: inherit; line-height: inherit; color: inherit; }

/* ---------- Nur im Elementor-Editor ---------- */
.rc-editor-note { position: relative; z-index: 200; margin: 0; padding: 8px 14px; background: #26314E; color: #fff; font: 600 12px/1.4 Roboto, Arial, sans-serif; letter-spacing: .02em; border-bottom: 1px solid rgba(255,255,255,.2); }
