:root {
	--rfs-blue: #17447d;
	--rfs-blue-dark: #10345f;
	--rfs-blue-light: #e9f0f8;
	--rfs-gray: #565b60;
	--rfs-text: #27394a;
	--rfs-background: #ffffff;
	--rfs-soft: #f5f7fa;
	--rfs-border: #dfe5eb;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--rfs-text);
	background: var(--rfs-background);
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.65;
}

section,
header {
	scroll-margin-top: 90px;
}

a {
	color: var(--rfs-blue);
}

.top-bar {
	height: 34px;
	background: var(--rfs-blue);
}

.navbar {
	min-height: 90px;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--rfs-border);
	backdrop-filter: blur(12px);
}

.navbar-brand {
	display: flex;
	flex-direction: column;
	color: var(--rfs-blue);
	line-height: 1;
}



.nav-link {
	color: var(--rfs-blue-dark);
	font-weight: 700;
}

.nav-link:hover,
.nav-link:focus {
	color: var(--rfs-blue);
}

.btn-primary-custom {
	color: #fff;
	background: var(--rfs-blue);
	border: 2px solid var(--rfs-blue);
	border-radius: 4px;
	font-weight: 700;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
	color: #fff;
	background: var(--rfs-blue-dark);
	border-color: var(--rfs-blue-dark);
}

.btn-outline-custom {
	color: var(--rfs-blue);
	background: transparent;
	border: 2px solid var(--rfs-blue);
	border-radius: 4px;
	font-weight: 700;
}

.btn-outline-custom:hover,
.btn-outline-custom:focus {
	color: #fff;
	background: var(--rfs-blue);
	border-color: var(--rfs-blue);
}

.hero {
	position: relative;
	min-height: 760px;
	display: flex;
	align-items: center;
	overflow: hidden;
	color: #fff;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.hero::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 9px;
	content: "";
	background: var(--rfs-blue);
	z-index: 2;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			90deg,
			rgba(9, 35, 66, 0.93) 0%,
			rgba(9, 35, 66, 0.82) 44%,
			rgba(9, 35, 66, 0.42) 72%,
			rgba(9, 35, 66, 0.22) 100%
		);
}

.min-vh-75 {
	min-height: 760px;
	padding-top: 80px;
	padding-bottom: 80px;
}

.hero .section-kicker {
	color: #fff;
}

.hero h1 {
	max-width: 760px;
	margin-bottom: 1.5rem;
	color: #fff;
	font-size: clamp(3rem, 7vw, 5.5rem);
	font-weight: 900;
	letter-spacing: -0.055em;
	line-height: 0.98;
	text-shadow: 0 4px 22px rgba(0, 0, 0, 0.28);
}

.hero-subtitle {
	max-width: 680px;
	margin-bottom: 2rem;
	color: rgba(255, 255, 255, 0.9);
	font-size: 1.25rem;
}

.hero-logo-card {
	padding: 32px;
	background: rgba(255, 255, 255, 0.96);
	border-top: 8px solid var(--rfs-blue);
	border-bottom: 8px solid var(--rfs-blue);
	box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.hero-logo {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 991px) {
	.hero {
		min-height: auto;
		background-position: 62% center;
	}

	.hero-overlay {
		background: rgba(9, 35, 66, 0.84);
	}

	.min-vh-75 {
		min-height: auto;
		padding-top: 100px;
		padding-bottom: 100px;
	}

	.hero-logo-card {
		max-width: 560px;
	}
}

@media (max-width: 575px) {
	.hero {
		background-position: 68% center;
	}

	.hero-logo-card {
		padding: 20px;
	}

	.hero-subtitle {
		font-size: 1.08rem;
	}
}

.section-kicker {
	margin-bottom: 1rem;
	color: var(--rfs-blue);
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hero h1 {
	max-width: 760px;
	margin-bottom: 1.5rem;
	color: var(--rfs-blue);
	font-size: clamp(3rem, 7vw, 5.6rem);
	font-weight: 900;
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.hero-subtitle {
	max-width: 660px;
	margin-bottom: 2rem;
	color: var(--rfs-gray);
	font-size: 1.25rem;
}

.logo-card {
	padding: 45px 35px;
	text-align: center;
	background: #fff;
	border-top: 8px solid var(--rfs-blue);
	border-bottom: 8px solid var(--rfs-blue);
	box-shadow: 0 20px 55px rgba(23, 68, 125, 0.12);
}


.window-grid {
	position: absolute;
	top: -46px;
	left: 62px;
	display: grid;
	width: 39px;
	height: 39px;
	grid-template-columns: repeat(2, 1fr);
	gap: 4px;
}

.window-grid span {
	background: var(--rfs-blue);
}


.logo-text span {
	margin-bottom: 5px;
	font-weight: 800;
}

.logo-text strong {
	font-size: clamp(3rem, 6vw, 4.5rem);
	font-weight: 900;
	letter-spacing: -0.055em;
}

.trust-section {
	position: relative;
	z-index: 2;
	margin-top: -55px;
}

.trust-panel {
	background: #fff;
	border: 1px solid var(--rfs-border);
	box-shadow: 0 18px 48px rgba(23, 68, 125, 0.11);
}

.trust-item {
	padding: 30px;
	text-align: center;
}

.trust-item + .trust-item {
	border-left: 1px solid var(--rfs-border);
}

.trust-item i {
	display: block;
	margin-bottom: 12px;
	color: var(--rfs-blue);
	font-size: 2rem;
}

.trust-item h2 {
	color: var(--rfs-blue);
	font-size: 1.05rem;
	font-weight: 800;
}

.trust-item p {
	margin: 0;
	color: var(--rfs-gray);
}

.section-padding {
	padding: 100px 0;
}

.section-heading {
	max-width: 760px;
	margin-bottom: 50px;
}

.section-heading h2,
.company-section h2,
#kontakt h2 {
	margin-bottom: 1.25rem;
	color: var(--rfs-blue);
	font-size: clamp(2.2rem, 5vw, 3.5rem);
	font-weight: 900;
	letter-spacing: -0.04em;
}

.section-heading > p:last-child {
	color: var(--rfs-gray);
	font-size: 1.12rem;
}

.service-card {
	height: 100%;
	padding: 34px;
	background: #fff;
	border: 1px solid var(--rfs-border);
	border-top: 5px solid var(--rfs-blue);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.service-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 42px rgba(23, 68, 125, 0.12);
}

.service-icon {
	display: inline-flex;
	width: 58px;
	height: 58px;
	margin-bottom: 24px;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: var(--rfs-blue);
	font-size: 1.65rem;
}

.service-card h3 {
	color: var(--rfs-blue);
	font-size: 1.35rem;
	font-weight: 800;
}

.service-card p {
	margin: 0;
	color: var(--rfs-gray);
}

.company-section {
	background: var(--rfs-soft);
	border-top: 8px solid var(--rfs-blue);
	border-bottom: 8px solid var(--rfs-blue);
}

.owner-role {
	color: var(--rfs-blue);
	font-weight: 700;
}

.contact-summary {
	padding: 42px;
	background: #fff;
	border-left: 8px solid var(--rfs-blue);
	box-shadow: 0 20px 50px rgba(23, 68, 125, 0.11);
}

.contact-summary h3 {
	margin-bottom: 30px;
	color: var(--rfs-blue);
	font-size: 2.4rem;
	font-weight: 900;
}

.contact-summary address {
	margin: 0;
	font-style: normal;
}

.contact-row {
	display: flex;
	margin-bottom: 22px;
	align-items: flex-start;
	gap: 16px;
}

.contact-row:last-child {
	margin-bottom: 0;
}

.contact-row i {
	color: var(--rfs-blue);
	font-size: 1.3rem;
}

.contact-row a {
	text-decoration: none;
}

.contact-row a:hover {
	text-decoration: underline;
}

.cta-section {
	padding: 70px 0;
	color: #fff;
	background: var(--rfs-blue);
}

.cta-section h2 {
	margin-bottom: 0.5rem;
	font-size: clamp(2rem, 5vw, 3.1rem);
	font-weight: 900;
	letter-spacing: -0.04em;
}

.cta-section p {
	margin: 0;
	color: rgba(255, 255, 255, 0.8);
	font-size: 1.15rem;
}

.direct-contact {
	display: grid;
	gap: 16px;
	margin-top: 35px;
}

.direct-contact a {
	display: flex;
	padding: 18px;
	align-items: center;
	gap: 18px;
	color: var(--rfs-text);
	background: var(--rfs-soft);
	border-left: 5px solid var(--rfs-blue);
	text-decoration: none;
}

.direct-contact a:hover {
	background: var(--rfs-blue-light);
}

.direct-contact i {
	color: var(--rfs-blue);
	font-size: 1.45rem;
}

.direct-contact span {
	display: flex;
	flex-direction: column;
	font-weight: 700;
}

.direct-contact small {
	color: var(--rfs-gray);
	font-weight: 400;
}

.form-card {
	padding: 40px;
	background: #fff;
	border-top: 8px solid var(--rfs-blue);
	box-shadow: 0 20px 55px rgba(23, 68, 125, 0.12);
}

.form-label {
	color: var(--rfs-blue-dark);
	font-weight: 700;
}

.form-control,
.form-select {
	min-height: 54px;
	border: 1px solid #cfd8e1;
	border-radius: 3px;
}

.form-control:focus,
.form-select:focus {
	border-color: var(--rfs-blue);
	box-shadow: 0 0 0 0.2rem rgba(23, 68, 125, 0.14);
}

textarea.form-control {
	min-height: 150px;
}

.form-note {
	margin: 20px 0 0;
	color: var(--rfs-gray);
	font-size: 0.87rem;
}

footer {
	color: rgba(255, 255, 255, 0.78);
	background: var(--rfs-blue-dark);
}

.footer-line {
	height: 9px;
	background: var(--rfs-blue);
}

.footer-content {
	padding-top: 65px;
	padding-bottom: 30px;
}

.footer-brand {
	display: flex;
	margin-bottom: 18px;
	flex-direction: column;
	color: #fff;
	line-height: 1;
}

.footer-brand span {
	margin-bottom: 5px;
	font-size: 0.8rem;
	font-weight: 700;
}

.footer-brand strong {
	font-size: 2.7rem;
	font-weight: 900;
}

footer h2 {
	color: #fff;
	font-size: 1rem;
	font-weight: 800;
	text-transform: uppercase;
}

footer a {
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
}

footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.footer-bottom {
	display: flex;
	margin-top: 45px;
	padding-top: 24px;
	justify-content: space-between;
	gap: 15px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 0.9rem;
}

@media (max-width: 991px) {
	.hero {
		padding: 80px 0 115px;
		background: #fff;
	}

	.trust-section {
		margin-top: -25px;
	}

	.section-padding {
		padding: 75px 0;
	}

	.logo-card {
		margin-top: 20px;
	}
}

@media (max-width: 767px) {
	.top-bar {
		height: 20px;
	}

	.trust-item + .trust-item {
		border-top: 1px solid var(--rfs-border);
		border-left: 0;
	}

	.form-card,
	.contact-summary {
		padding: 28px 22px;
	}

	.footer-bottom {
		flex-direction: column;
	}
}


.navbar-brand {
	display: block;
	max-width: 260px;
}

.navbar-logo {
	display: block;
	width: 100%;
	max-width: 260px;
	height: auto;
}

.logo-card {
	padding: 42px 30px;
	background: #fff;
	border-top: 8px solid var(--rfs-blue);
	border-bottom: 8px solid var(--rfs-blue);
	box-shadow: 0 20px 55px rgba(23, 68, 125, 0.12);
}

.hero-logo {
	display: block;
	width: 100%;
	max-width: 650px;
	height: auto;
	margin: 0 auto;
}

.gallery-section {
	background: var(--rfs-soft);
}

.gallery-card {
	position: relative;
	height: 100%;
	overflow: hidden;
	background: #fff;
	border-bottom: 6px solid var(--rfs-blue);
	box-shadow: 0 16px 40px rgba(23, 68, 125, 0.11);
}

.gallery-button {
	position: relative;
	display: block;
	width: 100%;
	height: 340px;
	padding: 0;
	overflow: hidden;
	text-align: left;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.gallery-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.gallery-overlay {
	position: absolute;
	inset: auto 0 0;
	display: flex;
	min-height: 155px;
	padding: 70px 25px 24px;
	flex-direction: column;
	justify-content: flex-end;
	color: #fff;
	background: linear-gradient(
		to top,
		rgba(10, 37, 69, 0.96),
		rgba(10, 37, 69, 0)
	);
}

.gallery-category {
	margin-bottom: 4px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.gallery-overlay strong {
	font-size: 1.25rem;
}

.gallery-open {
	margin-top: 8px;
	font-size: 0.9rem;
	opacity: 0;
	transform: translateY(8px);
	transition:
		opacity 0.25s ease,
		transform 0.25s ease;
}

.gallery-button:hover .gallery-image,
.gallery-button:focus .gallery-image {
	transform: scale(1.06);
}

.gallery-button:hover .gallery-open,
.gallery-button:focus .gallery-open {
	opacity: 1;
	transform: translateY(0);
}

.gallery-button:focus-visible {
	outline: 4px solid rgba(23, 68, 125, 0.35);
	outline-offset: -4px;
}

.gallery-modal-content {
	overflow: hidden;
	border: 0;
	border-radius: 0;
}

.gallery-modal-image {
	display: block;
	width: 100%;
	max-height: 78vh;
	object-fit: contain;
	background: #111;
}

.modal-description {
	color: var(--rfs-gray);
}

@media (max-width: 991px) {
	.navbar-brand {
		max-width: 210px;
	}

	.navbar-logo {
		max-width: 210px;
	}
}

@media (max-width: 767px) {
	.gallery-button {
		height: 280px;
	}

	.logo-card {
		padding: 28px 20px;
	}
}

.gallery-note {
	margin-top: 30px;
	color: var(--rfs-gray);
	font-size: 0.85rem;
}