/* R-IT Orbit — Edles, professionelles Erscheinungsbild */

:root {
	--rit-font-sans: "Source Sans 3", system-ui, -apple-system, sans-serif;
	--rit-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--rit-black: #08080a;
	--rit-ink: #0c0c10;
	--rit-elev: #111116;
	--rit-white: #eceef2;
	--rit-muted: #8e94a0;
	--rit-red: #9a2e36;
	--rit-red-muted: #7a252c;
	--rit-red-hover: #a8343d;
	--rit-chrome: rgba(255, 255, 255, 0.05);
	--rit-border: rgba(255, 255, 255, 0.065);
	--rit-border-strong: rgba(255, 255, 255, 0.1);
	--rit-header-h: 5.15rem;
	--rit-footer-h: 3rem;
	--rit-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
	--rit-ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
	/* Hintergrund-Schichten (wiederverwendbar) */
	--rit-bg-depth: linear-gradient(165deg, #0b0b10 0%, #08080c 38%, #060608 100%);
	--rit-bg-glow-top: radial-gradient(ellipse 110% 75% at 50% -15%, rgba(110, 42, 52, 0.22), transparent 58%);
	--rit-bg-glow-tr: radial-gradient(ellipse 85% 70% at 92% 8%, rgba(38, 44, 62, 0.45), transparent 55%);
	--rit-bg-glow-bl: radial-gradient(ellipse 75% 65% at 5% 92%, rgba(72, 32, 40, 0.18), transparent 52%);
	--rit-bg-glow-br: radial-gradient(ellipse 90% 60% at 88% 95%, rgba(22, 24, 36, 0.55), transparent 50%);
	--rit-bg-vignette: radial-gradient(ellipse 85% 75% at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
	--rit-bg-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop stop-color='%23ffffff' stop-opacity='0.035'/%3E%3Cstop offset='100%25' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='none' stroke='url(%23g)' stroke-width='0.75' d='M0 100h56l44-44 44 44h56'/%3E%3Cpath fill='none' stroke='%23ffffff' stroke-opacity='0.028' d='M100 0v200M0 0l200 200M200 0L0 200'/%3E%3Ccircle cx='100' cy='100' r='1.2' fill='%23ffffff' fill-opacity='0.055'/%3E%3C/svg%3E");
	font-size: clamp(15px, 0.8vw + 12px, 17px);
}

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

html {
	scroll-behavior: smooth;
	min-height: 100%;
	background: #040406;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--rit-font-sans);
	font-weight: 400;
	color: var(--rit-white);
	line-height: 1.62;
	letter-spacing: 0.01em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background-color: #08080c;
	background-image:
		var(--rit-bg-glow-top),
		var(--rit-bg-glow-tr),
		var(--rit-bg-glow-bl),
		var(--rit-bg-glow-br),
		var(--rit-bg-depth);
	background-attachment: fixed;
	background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
}

body.rit-orbit-horizontal {
	overflow: hidden;
}

/* Mobil: normales vertikales Seiten-Scrollen */
@media (max-width: 1100px) {
	body.rit-orbit-horizontal {
		overflow-x: hidden;
		overflow-y: auto;
	}
}

/* Mesh-Licht & Vignette über der Basis */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background:
		var(--rit-bg-vignette),
		radial-gradient(ellipse 55% 40% at 30% 35%, rgba(255, 255, 255, 0.04), transparent 62%),
		radial-gradient(ellipse 50% 45% at 70% 60%, rgba(90, 48, 56, 0.08), transparent 58%);
	mix-blend-mode: normal;
}

/* Sehr feines Korn + dezentes Diagonal-Raster */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 5;
	opacity: 1;
	background-image:
		url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
		repeating-linear-gradient(
			-12deg,
			transparent 0,
			transparent 6px,
			rgba(255, 255, 255, 0.012) 6px,
			rgba(255, 255, 255, 0.012) 7px
		);
	background-size:
		512px 512px,
		auto;
	opacity: 0.035;
	mix-blend-mode: overlay;
}

@media (max-width: 768px) {
	body::after {
		opacity: 0.028;
	}

	body {
		background-attachment: scroll;
	}

	.rit-atmosphere__aurora {
		filter: blur(52px);
		opacity: 0.55;
		animation-duration: 48s;
	}

	.rit-atmosphere__orb {
		filter: blur(36px);
		opacity: 0.5;
	}

	.rit-atmosphere__scan {
		opacity: 0.45;
		animation-duration: 22s;
	}
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ——— Lebendiger Hintergrund (Horizontalseiten) ——— */
.rit-atmosphere {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	contain: strict;
}

.rit-atmosphere__aurora {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 160vmax;
	height: 160vmax;
	margin-left: -80vmax;
	margin-top: -80vmax;
	background: conic-gradient(
		from 210deg at 50% 50%,
		rgba(95, 38, 48, 0.45) 0deg,
		transparent 55deg,
		rgba(42, 52, 92, 0.4) 120deg,
		transparent 200deg,
		rgba(120, 48, 58, 0.35) 280deg,
		transparent 360deg
	);
	filter: blur(72px);
	opacity: 0.75;
	animation: rit-aurora-drift 32s ease-in-out infinite;
	will-change: transform;
}

.rit-atmosphere__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(48px);
	opacity: 0.65;
	animation: rit-orb-pulse 14s ease-in-out infinite;
}

.rit-atmosphere__orb--1 {
	width: min(70vw, 520px);
	height: min(70vw, 520px);
	left: -18%;
	top: 8%;
	background: radial-gradient(circle, rgba(200, 65, 78, 0.45) 0%, transparent 68%);
	animation-delay: 0s;
}

.rit-atmosphere__orb--2 {
	width: min(55vw, 420px);
	height: min(55vw, 420px);
	right: -12%;
	top: 38%;
	background: radial-gradient(circle, rgba(55, 65, 110, 0.5) 0%, transparent 65%);
	animation-delay: -4s;
}

.rit-atmosphere__orb--3 {
	width: min(50vw, 380px);
	height: min(50vw, 380px);
	left: 22%;
	bottom: -8%;
	background: radial-gradient(circle, rgba(160, 52, 62, 0.35) 0%, transparent 70%);
	animation-delay: -7s;
}

.rit-atmosphere__mesh {
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(rgba(255, 255, 255, 0.06) 0.5px, transparent 0.5px),
		radial-gradient(rgba(255, 255, 255, 0.04) 0.5px, transparent 0.5px);
	background-size:
		48px 48px,
		24px 24px;
	background-position:
		0 0,
		12px 12px;
	opacity: 0.35;
	mask-image: radial-gradient(ellipse 85% 70% at 50% 35%, black 15%, transparent 72%);
	-webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 35%, black 15%, transparent 72%);
}

.rit-atmosphere__scan {
	position: absolute;
	inset: -100% -50%;
	background: linear-gradient(
		105deg,
		transparent 0%,
		rgba(255, 255, 255, 0.03) 45%,
		rgba(255, 120, 130, 0.06) 50%,
		rgba(255, 255, 255, 0.03) 55%,
		transparent 100%
	);
	background-size: 200% 200%;
	animation: rit-scan-sweep 16s ease-in-out infinite;
	opacity: 0.7;
}

@keyframes rit-aurora-drift {
	0%,
	100% {
		transform: rotate(0deg) scale(1);
	}
	33% {
		transform: rotate(120deg) scale(1.05);
	}
	66% {
		transform: rotate(240deg) scale(0.98);
	}
}

@keyframes rit-orb-pulse {
	0%,
	100% {
		opacity: 0.5;
		transform: scale(1) translate(0, 0);
	}
	50% {
		opacity: 0.85;
		transform: scale(1.06) translate(2%, -1%);
	}
}

@keyframes rit-scan-sweep {
	0%,
	100% {
		transform: translate(0, 0);
	}
	50% {
		transform: translate(8%, 4%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.rit-atmosphere__aurora,
	.rit-atmosphere__orb,
	.rit-atmosphere__scan {
		animation: none !important;
	}

	.rit-atmosphere__aurora {
		opacity: 0.4;
		transform: rotate(40deg);
	}
}

/* ——— Header ——— */
.rit-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(8, 8, 11, 0.82);
	backdrop-filter: blur(16px) saturate(1.05);
	-webkit-backdrop-filter: blur(16px) saturate(1.05);
	border-bottom: 1px solid var(--rit-border);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.rit-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.06);
	opacity: 1;
	pointer-events: none;
}

.rit-header__inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: max(0.65rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) 0.65rem
		max(1.25rem, env(safe-area-inset-left));
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.rit-brand {
	display: flex;
	align-items: center;
	line-height: 0;
	transition: opacity 0.25s var(--rit-ease);
}

.rit-brand:hover {
	opacity: 0.92;
}

.rit-brand img {
	height: clamp(2.6rem, 5vw, 3.25rem);
	width: auto;
	object-fit: contain;
}

.rit-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid var(--rit-border);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.04);
	cursor: pointer;
}

.rit-nav-toggle__bar {
	display: block;
	height: 2px;
	width: 1.25rem;
	margin: 0 auto;
	background: var(--rit-white);
	border-radius: 1px;
}

.rit-nav--orbit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.35rem 0.5rem;
}

.rit-nav__link {
	font-family: var(--rit-font-sans);
	font-weight: 500;
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rit-muted);
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.45rem 0.6rem;
	border-radius: 3px;
	text-decoration: none;
	transition: color 0.2s var(--rit-ease), background 0.2s var(--rit-ease);
}

.rit-nav__link:hover,
.rit-nav__link:focus-visible {
	color: var(--rit-white);
	outline: none;
}

.rit-nav__link.is-active {
	color: var(--rit-white);
	background: rgba(255, 255, 255, 0.05);
	box-shadow: inset 0 -2px 0 0 var(--rit-red);
}

.rit-nav__link--ghost {
	border: 1px solid transparent;
	font-weight: 500;
	font-size: 0.8rem;
	opacity: 0.85;
}

.rit-nav__link--ghost:hover {
	border-color: var(--rit-border);
}

.rit-header__progress {
	height: 2px;
	background: rgba(255, 255, 255, 0.04);
}

.rit-header__progress-bar {
	display: block;
	height: 100%;
	width: 100%;
	background: var(--rit-red);
	transform-origin: left center;
	transform: scaleX(0.1666);
	transition: transform 0.62s cubic-bezier(0.33, 1, 0.68, 1);
}

/* ——— Seitenwechsel: ruhig, einheitlich (kein Raster/Shards — wirkt hochwertiger) ——— */
.rit-transition {
	--rit-tx-dur: 0.62s;
	--rit-tx-ease: cubic-bezier(0.33, 1, 0.68, 1);
	position: fixed;
	inset: 0;
	z-index: 105;
	pointer-events: none;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
}

.rit-transition.is-active {
	visibility: visible;
	animation: rit-tx-reveal var(--rit-tx-dur) var(--rit-tx-ease) forwards;
}

.rit-transition__veil {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 85% 70% at 50% 45%, rgba(95, 38, 48, 0.14) 0%, transparent 55%),
		radial-gradient(ellipse 120% 100% at 50% 100%, rgba(0, 0, 0, 0.55) 0%, transparent 52%),
		rgba(4, 4, 8, 0.88);
	opacity: 0;
	backdrop-filter: blur(0px);
	-webkit-backdrop-filter: blur(0px);
}

.rit-transition.is-active .rit-transition__veil {
	animation: rit-tx-veil var(--rit-tx-dur) var(--rit-tx-ease) forwards;
}

.rit-transition__glow {
	position: absolute;
	inset: -35% -25%;
	background: radial-gradient(
		ellipse 70% 55% at 50% 50%,
		rgba(154, 46, 54, 0.22) 0%,
		rgba(80, 32, 42, 0.08) 42%,
		transparent 72%
	);
	opacity: 0;
	filter: blur(48px);
	mix-blend-mode: screen;
}

.rit-transition.is-active .rit-transition__glow {
	animation: rit-tx-glow var(--rit-tx-dur) var(--rit-tx-ease) forwards;
}

.rit-transition__beam {
	position: absolute;
	top: -5%;
	bottom: -5%;
	width: 42%;
	max-width: 520px;
	background: linear-gradient(
		100deg,
		transparent 0%,
		rgba(255, 255, 255, 0.03) 42%,
		rgba(255, 255, 255, 0.09) 50%,
		rgba(255, 255, 255, 0.03) 58%,
		transparent 100%
	);
	filter: blur(1px);
	opacity: 0;
}

.rit-transition.is-forward .rit-transition__beam {
	left: -20%;
	animation: rit-tx-beam-fwd var(--rit-tx-dur) var(--rit-tx-ease) forwards;
}

.rit-transition.is-backward .rit-transition__beam {
	right: -20%;
	left: auto;
	animation: rit-tx-beam-back var(--rit-tx-dur) var(--rit-tx-ease) forwards;
}

/* Ältere Layer ausgeblendet — zu viele Effekte wirkten „billig“ */
.rit-transition__grid,
.rit-transition__ring,
.rit-transition__shards {
	display: none !important;
}

@keyframes rit-tx-reveal {
	0% {
		opacity: 0;
	}
	12% {
		opacity: 1;
	}
	82% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

@keyframes rit-tx-veil {
	0% {
		opacity: 0;
		transform: scale(1.01);
		backdrop-filter: blur(0px);
		-webkit-backdrop-filter: blur(0px);
	}
	28% {
		opacity: 1;
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
	}
	72% {
		opacity: 1;
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
	}
	100% {
		opacity: 0;
		transform: scale(1);
		backdrop-filter: blur(0px);
		-webkit-backdrop-filter: blur(0px);
	}
}

@keyframes rit-tx-glow {
	0% {
		opacity: 0;
		transform: scale(0.96);
	}
	40% {
		opacity: 0.55;
	}
	100% {
		opacity: 0;
		transform: scale(1.02);
	}
}

@keyframes rit-tx-beam-fwd {
	0% {
		opacity: 0;
		transform: translateX(-35vw);
	}
	45% {
		opacity: 0.55;
	}
	100% {
		opacity: 0;
		transform: translateX(38vw);
	}
}

@keyframes rit-tx-beam-back {
	0% {
		opacity: 0;
		transform: translateX(35vw);
	}
	45% {
		opacity: 0.55;
	}
	100% {
		opacity: 0;
		transform: translateX(-38vw);
	}
}

.rit-main.rit-orbit--tx .rit-horizontal {
	transform: scale(0.998);
	filter: brightness(0.97);
	transition:
		transform 0.62s cubic-bezier(0.33, 1, 0.68, 1),
		filter 0.62s cubic-bezier(0.33, 1, 0.68, 1);
}

/* ——— Horizontal track ——— */
.rit-main {
	position: relative;
	z-index: 1;
	padding-top: var(--rit-header-h);
	min-height: 100vh;
	min-height: 100dvh;
}

@media (max-width: 1100px) {
	body.rit-orbit-horizontal .rit-main {
		min-height: 0;
		padding-bottom: 0;
	}
}

.rit-horizontal {
	display: flex;
	width: 100%;
	max-width: 100vw;
	height: calc(100vh - var(--rit-header-h) - var(--rit-footer-h));
	height: calc(100dvh - var(--rit-header-h) - var(--rit-footer-h));
	min-height: calc(100vh - var(--rit-header-h) - var(--rit-footer-h));
	min-height: calc(100dvh - var(--rit-header-h) - var(--rit-footer-h));
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	outline: none;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	overscroll-behavior-y: none;
	transition:
		transform 0.62s cubic-bezier(0.33, 1, 0.68, 1),
		filter 0.62s cubic-bezier(0.33, 1, 0.68, 1);
	will-change: transform, filter;
}

@media (max-width: 1100px) {
	body.rit-orbit-horizontal .rit-horizontal {
		display: flex;
		flex-direction: column;
		width: 100%;
		max-width: 100%;
		height: auto;
		min-height: 0;
		overflow: visible;
		scroll-snap-type: none;
		overscroll-behavior-y: auto;
		overscroll-behavior-x: auto;
		padding-bottom: calc(var(--rit-footer-h) + env(safe-area-inset-bottom, 0px));
		will-change: auto;
		transition: none;
	}
}

.rit-horizontal::-webkit-scrollbar {
	display: none;
}

.rit-panel {
	flex: 0 0 100%;
	width: 100%;
	min-width: 0;
	height: 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	position: relative;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	padding: 2.25rem max(1.25rem, env(safe-area-inset-left)) 2.5rem max(1.25rem, env(safe-area-inset-right));
	background-color: #08080c;
	background-image:
		radial-gradient(ellipse 95% 55% at 75% 18%, rgba(42, 48, 68, 0.35), transparent 54%),
		radial-gradient(ellipse 70% 50% at 12% 88%, rgba(75, 34, 42, 0.14), transparent 50%),
		var(--rit-bg-glow-top),
		var(--rit-bg-depth),
		var(--rit-bg-pattern);
	background-size:
		100% 100%,
		100% 100%,
		100% 100%,
		100% 100%,
		200px 200px;
}

@media (max-width: 1100px) {
	body.rit-orbit-horizontal .rit-panel {
		flex: 0 0 auto;
		width: 100%;
		height: auto;
		min-height: 0;
		overflow: visible;
		scroll-snap-align: none;
		scroll-snap-stop: normal;
		scroll-margin-top: calc(var(--rit-header-h) + 0.35rem);
	}
}

.rit-panel:nth-child(even) {
	background-color: #0e0e14;
	background-image:
		radial-gradient(ellipse 80% 55% at 15% 22%, rgba(55, 38, 45, 0.2), transparent 52%),
		radial-gradient(ellipse 85% 65% at 90% 80%, rgba(28, 30, 44, 0.4), transparent 52%),
		radial-gradient(ellipse 100% 50% at 50% 0%, rgba(95, 38, 46, 0.12), transparent 58%),
		linear-gradient(175deg, #12121a 0%, #0e0e14 50%, #0a0a10 100%),
		var(--rit-bg-pattern);
	background-size:
		100% 100%,
		100% 100%,
		100% 100%,
		100% 100%,
		200px 200px;
}

.rit-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.035) 0%,
		transparent 28%,
		transparent 72%,
		rgba(0, 0, 0, 0.12) 100%
	);
	opacity: 1;
}

.rit-panel::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: radial-gradient(ellipse 75% 55% at 50% 45%, transparent 35%, rgba(0, 0, 0, 0.22) 100%);
	opacity: 0.5;
}

.rit-panel__inner {
	max-width: 1120px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.rit-panel--hero {
	display: flex;
	align-items: center;
}

.rit-panel__inner--hero {
	position: relative;
	z-index: 1;
	max-width: min(100%, 980px);
}

/* Intro: Überschrift + Lead; mit Logo rechts über volle Textblock-Höhe */
.rit-hero-intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	margin: 0 0 2rem;
}

.rit-hero-intro--with-logo {
	grid-template-columns: minmax(0, 1fr) minmax(0, auto);
	align-items: stretch;
	column-gap: clamp(1rem, 3vw, 2.25rem);
}

.rit-hero-intro__text {
	min-width: 0;
}

.rit-hero-intro__text .rit-hero-title {
	margin: 0 0 1.15rem;
}

.rit-hero-intro__text .rit-lead {
	margin: 0;
	max-width: 48ch;
}

.rit-hero-logo {
	display: flex;
	align-items: stretch;
	justify-content: flex-end;
	min-width: 0;
	min-height: 0;
	height: 100%;
	align-self: stretch;
}

.rit-hero-logo img {
	display: block;
	height: 100%;
	max-height: 100%;
	width: auto;
	max-width: min(100%, 420px);
	object-fit: contain;
	object-position: right center;
	filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.35));
}

.rit-eyebrow {
	font-family: var(--rit-font-sans);
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-size: 0.6875rem;
	color: var(--rit-red);
	margin: 0 0 1rem;
	opacity: 0.95;
}

.rit-hero-title {
	font-family: var(--rit-font-display);
	font-weight: 600;
	font-size: clamp(2.35rem, 5.2vw, 3.65rem);
	line-height: 1.12;
	margin: 0 0 1.15rem;
	letter-spacing: -0.015em;
	color: #f5f6f8;
	font-variant-numeric: lining-nums;
}

.rit-lead {
	font-size: 1.0625rem;
	color: #a8aeb8;
	margin: 0 0 2rem;
	max-width: 48ch;
	font-weight: 400;
	line-height: 1.68;
}

.rit-hero-intro .rit-lead {
	margin-bottom: 0;
}

.rit-btn {
	font-family: var(--rit-font-sans);
	font-weight: 600;
	font-size: 0.8125rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.9rem 1.85rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 4px;
	cursor: pointer;
	color: #fff;
	background: var(--rit-red);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
	transition:
		background 0.25s var(--rit-ease),
		transform 0.25s var(--rit-ease),
		box-shadow 0.25s var(--rit-ease);
}

.rit-btn:hover {
	background: var(--rit-red-hover);
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.rit-btn:active {
	transform: translateY(0);
}

.rit-hero-deco {
	position: absolute;
	right: -6%;
	top: 50%;
	transform: translateY(-50%);
	width: min(42vw, 420px);
	aspect-ratio: 1;
	border: 1px solid var(--rit-border);
	border-radius: 50%;
	opacity: 0.35;
	pointer-events: none;
	background: radial-gradient(circle at 40% 40%, rgba(154, 46, 54, 0.12), transparent 62%);
}

.rit-section-title {
	font-family: var(--rit-font-display);
	font-size: clamp(1.85rem, 3.4vw, 2.5rem);
	font-weight: 600;
	margin: 0 0 0.95rem;
	letter-spacing: -0.02em;
	color: #f2f3f6;
	line-height: 1.2;
}

.rit-section-intro {
	margin: 0 0 1.75rem;
	color: #9aa1ad;
	max-width: 62ch;
	font-size: 1rem;
	line-height: 1.65;
}

.rit-grid {
	display: grid;
	gap: 1rem;
}

.rit-grid--services {
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.rit-card {
	position: relative;
	background: rgba(255, 255, 255, 0.025);
	border: 1px solid var(--rit-border);
	border-radius: 8px;
	padding: 1.4rem 1.4rem 1.45rem;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
	transition:
		border-color 0.3s var(--rit-ease),
		transform 0.3s var(--rit-ease),
		box-shadow 0.3s var(--rit-ease);
	overflow: hidden;
}

.rit-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.03), transparent 48%);
	opacity: 0;
	transition: opacity 0.3s var(--rit-ease);
	pointer-events: none;
}

.rit-card:hover {
	border-color: rgba(255, 255, 255, 0.12);
	transform: translateY(-2px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.rit-card:hover::after {
	opacity: 1;
}

.rit-card__icon {
	width: 2.5rem;
	height: 2px;
	background: var(--rit-red);
	border-radius: 1px;
	margin-bottom: 0.9rem;
	opacity: 0.9;
}

.rit-card h3 {
	font-family: var(--rit-font-sans);
	font-size: 1.0625rem;
	font-weight: 600;
	margin: 0 0 0.5rem;
	letter-spacing: 0.01em;
}

.rit-card p {
	margin: 0;
	font-size: 0.9375rem;
	color: #959ca8;
	line-height: 1.58;
}

.rit-panel--split .rit-panel__inner--split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
}

@media (max-width: 900px) {
	.rit-panel--split .rit-panel__inner--split {
		grid-template-columns: 1fr;
	}
}

.rit-role {
	font-family: var(--rit-font-sans);
	color: var(--rit-red);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.75rem;
	font-weight: 600;
	margin: 0 0 1rem;
}

.rit-accent {
	color: var(--rit-white);
	font-weight: 600;
}

.rit-split__visual {
	display: flex;
	justify-content: center;
}

.rit-split__frame {
	width: min(100%, 360px);
	aspect-ratio: 4/5;
	border-radius: 10px;
	border: 1px solid var(--rit-border);
	background: linear-gradient(165deg, rgba(154, 46, 54, 0.1), rgba(255, 255, 255, 0.02));
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
}

.rit-split__figure {
	margin: 0;
	width: min(100%, 360px);
}

.rit-split__portrait {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center 18%;
	border-radius: 10px;
	border: 1px solid var(--rit-border);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.rit-features {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.85rem;
}

.rit-features li {
	padding: 1rem 1.15rem;
	background: rgba(255, 255, 255, 0.03);
	border-left: 2px solid var(--rit-red);
	border-radius: 0 6px 6px 0;
}

.rit-grid--refs {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.rit-grid--refs-logos {
	grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
	gap: 1rem;
}

.rit-ref--logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: 1rem 0.85rem 0.9rem;
	margin: 0;
	text-align: center;
}

a.rit-ref__link {
	display: block;
	text-decoration: none;
	color: inherit;
	border-radius: 8px;
	transition: transform 0.3s var(--rit-ease-out);
}

a.rit-ref__link:focus-visible {
	outline: 2px solid var(--rit-red);
	outline-offset: 3px;
}

.rit-ref--logo:has(a.rit-ref__link:hover) .rit-ref__logo-wrap,
a.rit-ref__link:hover .rit-ref__logo-wrap {
	border-color: rgba(154, 46, 54, 0.35);
	transform: translateY(-2px);
}

.rit-ref__logo-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 4.5rem;
	padding: 0.5rem 0.65rem;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 8px;
	border: 1px solid var(--rit-border);
	transition: border-color 0.3s, transform 0.3s var(--rit-ease-out);
}

.rit-ref--logo img {
	max-width: 100%;
	max-height: 3.25rem;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: center;
	filter: grayscale(0.08) contrast(1.05);
}

.rit-ref__caption {
	margin: 0.55rem 0 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.3rem;
	line-height: 1.35;
	text-align: center;
}

.rit-ref__name {
	font-size: 0.78rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.88);
}

.rit-ref__done {
	font-size: 0.72rem;
	font-weight: 400;
	color: var(--rit-muted);
}

.rit-ref__logo-wrap--placeholder {
	background: rgba(255, 255, 255, 0.025);
}

.rit-ref__ph {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	min-height: 2rem;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--rit-muted);
	opacity: 0.45;
}

.rit-ref {
	padding: 1rem 1.1rem;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid var(--rit-border);
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.93rem;
	transition: border-color 0.3s, transform 0.3s var(--rit-ease-out);
}

.rit-ref:hover {
	border-color: rgba(154, 46, 54, 0.3);
	transform: translateY(-2px);
}

.rit-ref span {
	display: block;
	font-weight: 400;
	font-size: 0.8rem;
	color: var(--rit-muted);
	margin-top: 0.25rem;
}

.rit-muted {
	color: var(--rit-muted);
	font-size: 0.95rem;
	margin-top: 1.5rem;
}

.rit-panel__inner--contact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: start;
}

@media (max-width: 900px) {
	.rit-panel__inner--contact {
		grid-template-columns: 1fr;
	}
}

.rit-contact-lines {
	font-size: 1.05rem;
	line-height: 1.8;
}

.rit-contact-lines a {
	color: var(--rit-red-hover);
	text-decoration: none;
	border-bottom: 1px solid rgba(154, 46, 54, 0.35);
	transition: color 0.2s, border-color 0.2s;
}

.rit-contact-lines a:hover {
	color: var(--rit-white);
	border-color: rgba(255, 255, 255, 0.35);
}

.rit-form {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.rit-field span {
	display: block;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--rit-muted);
	margin-bottom: 0.35rem;
}

.rit-field input,
.rit-field textarea {
	width: 100%;
	padding: 0.75rem 0.9rem;
	border-radius: 8px;
	border: 1px solid var(--rit-border-strong);
	background: rgba(0, 0, 0, 0.45);
	color: var(--rit-white);
	font: inherit;
	box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.25);
	transition: border-color 0.25s, box-shadow 0.25s;
}

.rit-field input:focus,
.rit-field textarea:focus {
	outline: none;
	border-color: rgba(154, 46, 54, 0.55);
	box-shadow:
		0 0 0 2px rgba(154, 46, 54, 0.12),
		inset 0 2px 12px rgba(0, 0, 0, 0.22);
}

.rit-hp-wrap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ——— Dots ——— */
.rit-dots {
	position: fixed;
	right: 1.25rem;
	top: 50%;
	transform: translateY(-50%);
	z-index: 90;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	padding: 0;
	background: transparent;
	border: none;
}

.rit-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: transparent;
	cursor: pointer;
	transition:
		background 0.25s var(--rit-ease),
		border-color 0.25s var(--rit-ease),
		transform 0.25s var(--rit-ease);
}

.rit-dot.is-active {
	background: var(--rit-red);
	border-color: rgba(255, 255, 255, 0.25);
	transform: scale(1.2);
}

/* ——— Footer fixed ——— */
.rit-footer--orbit {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 95;
	height: var(--rit-footer-h);
	background: rgba(8, 8, 11, 0.88);
	border-top: 1px solid var(--rit-border);
	backdrop-filter: blur(12px);
	display: flex;
	align-items: center;
	font-size: 0.8125rem;
	color: var(--rit-muted);
}

.rit-footer__inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 max(1.25rem, env(safe-area-inset-left)) env(safe-area-inset-bottom, 0px)
		max(1.25rem, env(safe-area-inset-right));
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.rit-footer__links a {
	color: var(--rit-muted);
	text-decoration: none;
}

.rit-footer__links a:hover {
	color: var(--rit-white);
}

.rit-footer__copy {
	margin: 0;
	color: var(--rit-muted);
}

.rit-footer__sep {
	opacity: 0.5;
	padding: 0 0.25rem;
}

/* ——— Toast ——— */
.rit-toast {
	position: fixed;
	top: calc(var(--rit-header-h) + 0.75rem);
	left: 50%;
	transform: translateX(-50%);
	z-index: 120;
	padding: 0.65rem 1.25rem;
	border-radius: 6px;
	font-size: 0.92rem;
	animation: rit-toast-in 0.4s var(--rit-ease);
}

.rit-toast--ok {
	background: rgba(40, 120, 80, 0.95);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.rit-toast--err {
	background: rgba(120, 40, 40, 0.95);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

@keyframes rit-toast-in {
	from {
		opacity: 0;
		transform: translate(-50%, -8px);
	}
	to {
		opacity: 1;
		transform: translate(-50%, 0);
	}
}

/* ——— Legal pages ——— */
.rit-header--simple {
	position: relative;
}

.rit-nav--simple a {
	color: var(--rit-red);
	text-decoration: none;
	font-weight: 600;
}

.rit-legal {
	max-width: 800px;
	margin: 0 auto;
	padding: 2rem max(1.25rem, env(safe-area-inset-left)) 4rem max(1.25rem, env(safe-area-inset-right));
	min-height: 60vh;
	min-height: 60dvh;
}

.rit-legal__article h1 {
	font-family: var(--rit-font-display);
	font-size: 2.25rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	margin-top: 0;
}

.rit-legal__content a {
	color: var(--rit-red);
}

.rit-footer--simple {
	text-align: center;
	padding: 2rem 1rem;
	border-top: 1px solid var(--rit-border);
	color: var(--rit-muted);
}

.rit-footer--simple a {
	color: var(--rit-red);
}

/* ——— Mobile nav ——— */
@media (prefers-reduced-motion: reduce) {
	.rit-horizontal {
		scroll-behavior: auto;
	}

	.rit-transition {
		display: none !important;
	}

	.rit-main.rit-orbit--tx .rit-horizontal {
		transform: none;
		filter: none;
	}

	.rit-btn,
	.rit-card,
	.rit-header__progress-bar,
	.rit-horizontal {
		transition: none !important;
	}
}

@media (max-width: 1100px) {
	:root {
		--rit-header-h: 4.85rem;
	}

	.rit-nav-toggle {
		display: flex;
		min-width: 44px;
		min-height: 44px;
	}

	.rit-nav--orbit {
		display: none;
		position: absolute;
		top: 100%;
		right: max(1rem, env(safe-area-inset-right));
		left: max(1rem, env(safe-area-inset-left));
		flex-direction: column;
		align-items: stretch;
		padding: 0.65rem;
		background: rgba(10, 10, 13, 0.97);
		backdrop-filter: blur(16px);
		border: 1px solid var(--rit-border);
		border-radius: 10px;
		margin-top: 0.45rem;
		box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
		z-index: 110;
	}

	.rit-nav--orbit.is-open {
		display: flex;
	}

	.rit-nav__link {
		min-height: 44px;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 0.55rem 0.75rem;
	}

	/* Panel-Punkte unten (Touch) statt rechts */
	.rit-dots {
		flex-direction: row;
		top: auto;
		bottom: calc(var(--rit-footer-h) + env(safe-area-inset-bottom, 0px) + 0.65rem);
		right: auto;
		left: 50%;
		transform: translateX(-50%);
		gap: 0.5rem;
		padding: 0.35rem 0.65rem;
		background: rgba(8, 8, 11, 0.75);
		border: 1px solid var(--rit-border);
		border-radius: 999px;
		backdrop-filter: blur(10px);
	}

	.rit-dot {
		width: 10px;
		height: 10px;
		min-width: 10px;
		min-height: 10px;
	}

	.rit-panel {
		padding-bottom: max(3.25rem, env(safe-area-inset-bottom));
	}

	/* —— Mobil: Hero zentriert, klare Hierarchie —— */
	.rit-panel--hero .rit-panel__inner--hero {
		width: 100%;
		max-width: min(100%, 32rem);
		margin-left: auto;
		margin-right: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.rit-panel--hero .rit-eyebrow {
		text-align: center;
		width: 100%;
		letter-spacing: 0.16em;
	}

	.rit-hero-intro,
	.rit-hero-intro--with-logo {
		width: 100%;
		justify-items: center;
		margin-left: auto;
		margin-right: auto;
	}

	.rit-hero-intro--with-logo {
		grid-template-columns: 1fr;
		row-gap: 1.5rem;
	}

	.rit-hero-intro__text {
		width: 100%;
		text-align: center;
	}

	.rit-hero-intro__text .rit-lead {
		margin-left: auto;
		margin-right: auto;
		max-width: 36ch;
		text-wrap: balance;
	}

	.rit-hero-logo {
		justify-content: center;
		align-items: center;
		width: 100%;
		height: auto;
		align-self: center;
	}

	.rit-hero-logo img {
		height: auto;
		max-height: min(38vw, 200px);
		width: auto;
		max-width: min(92%, 280px);
		margin-left: auto;
		margin-right: auto;
		object-fit: contain;
		object-position: center center;
		display: block;
	}

	.rit-panel--hero .rit-btn {
		margin-top: 0.25rem;
	}

	.rit-hero-title {
		font-size: clamp(1.75rem, 7.5vw, 2.65rem);
		line-height: 1.14;
		text-wrap: balance;
	}

	/* Abschnittstitel & Intro zentriert (Fließtext in Karten/Listen bleibt lesbar) */
	.rit-panel__inner > .rit-section-title,
	.rit-panel__inner > .rit-section-intro {
		text-align: center;
		margin-left: auto;
		margin-right: auto;
	}

	.rit-panel__inner > .rit-section-intro {
		max-width: 36rem;
	}

	.rit-split__text .rit-section-title,
	.rit-split__text .rit-role {
		text-align: center;
	}

	.rit-split__text {
		text-align: center;
	}

	.rit-split__text p {
		text-align: start;
		max-width: 40rem;
		margin-left: auto;
		margin-right: auto;
	}

	.rit-split__text .rit-accent {
		text-align: center;
	}

	.rit-grid--services {
		margin-top: 0.25rem;
	}

	.rit-card {
		text-align: left;
	}

	.rit-panel__inner--contact {
		text-align: center;
	}

	.rit-panel__inner--contact .rit-section-title,
	.rit-panel__inner--contact .rit-contact-lines {
		text-align: center;
	}

	.rit-panel__inner--contact .rit-form {
		margin-left: auto;
		margin-right: auto;
		text-align: left;
		width: 100%;
		max-width: min(100%, 24rem);
	}

	.rit-grid--refs-logos {
		justify-items: center;
	}

	.rit-ref--logo {
		max-width: 16rem;
		width: 100%;
	}

	.rit-section-title {
		font-size: clamp(1.5rem, 6vw, 2rem);
	}

	.rit-main.rit-orbit--tx .rit-horizontal {
		transform: scale(0.998);
		filter: brightness(0.97);
	}
}

@media (max-width: 480px) {
	:root {
		--rit-header-h: 4.5rem;
		--rit-footer-h: 2.85rem;
	}

	.rit-header__inner {
		padding-left: max(0.9rem, env(safe-area-inset-left));
		padding-right: max(0.9rem, env(safe-area-inset-right));
	}

	.rit-brand img {
		height: clamp(2.35rem, 12vw, 2.85rem);
	}

	.rit-panel {
		padding: 1.5rem max(1rem, env(safe-area-inset-left)) 3.5rem max(1rem, env(safe-area-inset-right));
	}

	.rit-btn {
		width: 100%;
		max-width: 100%;
		justify-content: center;
	}

	.rit-panel__inner--contact {
		gap: 1.5rem;
	}
}

@media (max-width: 720px) {
	.rit-grid--services {
		grid-template-columns: 1fr;
		gap: 0.85rem;
	}

	.rit-grid--refs {
		grid-template-columns: 1fr;
	}
}
