/* K4C – Cool-Layer für index-b-red.php (vor Lila-Akzent #7b59d0) */

body.page-cool {
	--k4c-font-display: "Syne", system-ui, sans-serif;
	--k4c-font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.page-cool,
body.page-cool .rd-navbar {
	font-family: var(--k4c-font-body);
}

html {
	overflow-y: scroll;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	overflow-x: hidden;
	overflow-y: auto;
}

body.page-cool .page {
	opacity: 1;
	overflow: visible;
}

html.rd-navbar-fixed-linked body.page-cool .page {
	padding-top: 0;
}

html.rd-navbar-fixed-linked body.page-cool .swiper-slider-2 .swiper-slide {
	min-height: 100vh;
	min-height: 100dvh;
}

body.page-cool .k4c-standard-page {
	min-height: clamp(18rem, 45vh, 36rem);
}

body.page-cool .k4c-standard-page > .container {
	max-width: 980px;
}

body.page-cool .k4c-standard-page > .container > h1 {
	margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

body.page-cool .k4c-standard-page > .container h2,
body.page-cool .k4c-standard-page > .container h3,
body.page-cool .k4c-standard-page > .container h4,
body.page-cool .k4c-standard-page > .container h5,
body.page-cool .k4c-standard-page > .container h6 {
	margin-top: clamp(2rem, 4vw, 3rem);
	margin-bottom: 0.9rem;
}

body.page-cool .k4c-standard-page > .container p,
body.page-cool .k4c-standard-page > .container ul,
body.page-cool .k4c-standard-page > .container ol {
	margin-bottom: 1.15rem;
}

body.page-cool .k4c-standard-page > .container p {
	line-height: 1.75;
}

body.page-cool .k4c-standard-page > .container ul,
body.page-cool .k4c-standard-page > .container ol {
	padding-left: 1.35rem;
}

body.page-cool .k4c-standard-page > .container li + li {
	margin-top: 0.4rem;
}

body.page-cool .k4c-standard-page > .container > :last-child {
	margin-bottom: 0;
}

body.page-cool .k4c-single-post__header {
	margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

body.page-cool .k4c-single-post__meta {
	margin-bottom: 0.75rem;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #828590;
}

body.page-cool .k4c-single-post__featured-image {
	margin: 0 0 clamp(2rem, 4vw, 3rem);
	overflow: hidden;
	border-radius: 6px;
	box-shadow: 0 1.25rem 2.8rem rgba(41, 41, 58, 0.14);
}

body.page-cool .k4c-single-post__featured-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

body.page-cool .k4c-single-post__content > :last-child {
	margin-bottom: 0;
}

body.page-cool .preloader {
	display: none;
}

body.page-cool h1,
body.page-cool h2,
body.page-cool h3,
body.page-cool h4,
body.page-cool h5,
body.page-cool h6,
body.page-cool [class^="heading-"] {
	font-family: var(--k4c-font-display);
	letter-spacing: 0.02em;
}

@media (min-width: 1200px) {
	body.page-cool .section.section-lg {
		padding-top: 15rem;
		padding-bottom: 3rem;
	}
}

@media (min-width: 1600px) {
	body.page-cool .section.section-lg {
		padding-top: 15rem;
		padding-bottom: 4rem;
	}
}

body.page-cool .block-lg {
	max-width: min(46rem, 100%);
}

@media (min-width: 992px) {
	body.page-cool .block-lg {
		max-width: min(52rem, 100%);
	}
}

body.page-cool .block-lg > p {
	max-width: 53em;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.75;
}

body.page-cool .rd-navbar .rd-navbar-main-outer,
body.page-cool .rd-navbar-fixed .rd-navbar-panel,
body.page-cool .rd-navbar-fixed .rd-navbar-nav-wrap {
	background: #000;
	border-color: rgba(255, 255, 255, 0.1);
}

body.page-cool .rd-navbar.rd-navbar--is-stuck .rd-navbar-main-outer,
body.page-cool .rd-navbar.rd-navbar--is-clone .rd-navbar-main-outer {
	background: #000;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.page-cool .rd-navbar-fixed .rd-navbar-nav-wrap::-webkit-scrollbar-track {
	background: #000;
}

body.page-cool .rd-navbar-creative.rd-navbar-static:not(.rd-navbar--is-stuck):not(.rd-navbar--is-clone) .rd-navbar-main-outer {
	background: rgba(0, 0, 0, 0.9);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	transition: background 0.35s ease, border-color 0.35s ease;
}

body.page-cool .rd-navbar-static .rd-navbar-dropdown {
	background: rgba(0, 0, 0, 0.92);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.28);
}

body.page-cool .rd-navbar-static .rd-navbar-dropdown li > a,
body.page-cool .rd-navbar-static .rd-navbar-dropdown li > a:focus,
body.page-cool .rd-navbar-static .rd-navbar-dropdown li > a:active {
	color: rgba(255, 255, 255, 0.88);
}

body.page-cool .rd-navbar-static .rd-navbar-dropdown li.focus > a,
body.page-cool .rd-navbar-static .rd-navbar-dropdown li.opened > a,
body.page-cool .rd-navbar-static .rd-navbar-dropdown li.active > a,
body.page-cool .rd-navbar-static .rd-navbar-dropdown li > a:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

body.page-cool .rd-navbar-fixed .rd-navbar-dropdown > li > a:hover,
body.page-cool .rd-navbar-fixed .rd-navbar-dropdown > li.focus > a,
body.page-cool .rd-navbar-fixed .rd-navbar-dropdown > li.active > a,
body.page-cool .rd-navbar-fixed .rd-navbar-dropdown > li.opened > a {
	background: rgba(255, 255, 255, 0.14);
}

body.page-cool .hero-tagline {
	display: block;
	max-width: 50rem;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.25rem;
	font-family: var(--k4c-font-body);
	font-size: clamp(0.8rem, 1.65vw, 0.95rem);
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.92);
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

body.page-cool .k4c-facts-strip {
	background: var(--main-dark-color);
	background: linear-gradient(
		105deg,
		color-mix(in srgb, var(--main-dark-color) 88%, #000) 0%,
		color-mix(in srgb, var(--main-color) 75%, #1a0505) 100%
	);
	color: #fff;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

body.page-cool .k4c-facts-strip__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 0.75rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0.35rem 0;
}

body.page-cool .k4c-facts-strip__list > ul,
body.page-cool .links > ul,
body.page-cool .contact-box > ul,
body.page-cool .list-phones > ul,
body.page-cool .list-tags > ul {
	display: contents;
	list-style: none;
	margin: 0;
	padding: 0;
}

body.page-cool .contact-box > ul > li + li {
	margin-top: 15px;
}

body.page-cool .contact-box .list-phones > ul > li + li {
	margin-top: 2px;
}

@media (min-width: 992px) {
	body.page-cool .k4c-facts-strip__list {
		justify-content: space-between;
		gap: 1rem;
		padding-top: 2em;
	}
}

body.page-cool .k4c-facts-strip__item,
body.page-cool .k4c-facts-strip__list li {
	flex: 1 1 auto;
	min-width: 10rem;
	max-width: 16rem;
	text-align: center;
	padding: 0.5rem 0.75rem;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

body.page-cool .k4c-facts-strip__item:hover,
body.page-cool .k4c-facts-strip__list li:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.2);
	transform: translateY(-1px);
}

body.page-cool .k4c-facts-strip__key {
	display: block;
	font-family: var(--k4c-font-display);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0;
	margin-bottom: 0.2rem;
	color: #fff;
}

body.page-cool .k4c-facts-strip__val {
	display: block;
	font-size: 0.82rem;
	font-weight: 400;
	opacity: 0.88;
	line-height: 1.35;
}

@media (prefers-reduced-motion: no-preference) {
	body.page-cool .reveal-on-scroll {
		opacity: 0;
		transform: translateY(1.5rem);
		transition:
			opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
			transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	}

	body.page-cool .reveal-on-scroll.is-visible {
		opacity: 1;
		transform: none;
	}

	body.page-cool .row .reveal-on-scroll:nth-child(1) {
		transition-delay: 0s;
	}
	body.page-cool .row .reveal-on-scroll:nth-child(2) {
		transition-delay: 0.07s;
	}
	body.page-cool .row .reveal-on-scroll:nth-child(3) {
		transition-delay: 0.14s;
	}
	body.page-cool .row .reveal-on-scroll:nth-child(4) {
		transition-delay: 0.21s;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.page-cool .reveal-on-scroll {
		opacity: 1;
		transform: none;
	}
}

body.page-cool .blurb-image {
	box-shadow: 0 1.25rem 2.5rem rgba(41, 41, 58, 0.14);
	transform: translateY(-3px);
	transition:
		box-shadow 0.35s ease,
		transform 0.35s ease;
	border-radius: 4px;
	padding: 2em;
}

body.page-cool .blurb-image:hover {
	box-shadow: 0 1.45rem 2.75rem rgba(41, 41, 58, 0.18);
	transform: translateY(-5px);
}

body.page-cool .k4c-services-overview__intro {
	margin-top: 1.25rem;
}

body.page-cool .k4c-child-page-grid {
	margin-top: 3rem;
	align-items: stretch;
}

body.page-cool .k4c-child-page-grid > [class*="col-"] {
	display: flex;
}

body.page-cool .k4c-child-page-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 1.25rem 2.5rem rgba(41, 41, 58, 0.14);
	overflow: hidden;
	transition:
		box-shadow 0.35s ease,
		transform 0.35s ease;
}

body.page-cool .k4c-child-page-card:hover {
	box-shadow: 0 1.45rem 2.75rem rgba(41, 41, 58, 0.18);
	transform: translateY(-5px);
}

body.page-cool .k4c-child-page-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	background: #f3f3f3;
	overflow: hidden;
}

body.page-cool .k4c-child-page-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.page-cool .k4c-child-page-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 0 2rem 2rem;
}

body.page-cool .k4c-child-page-card .title {
	font-size: 1.25rem;
	line-height: 1.35;
}

body.page-cool .k4c-child-page-card .title a {
	color: var(--text-color);
}

body.page-cool .k4c-child-page-card .title a:hover {
	color: var(--main-color);
}

body.page-cool .k4c-child-page-card .exeption {
	flex: 1 1 auto;
	margin-top: 0.9rem;
	margin-bottom: 1.35rem;
	color: #2d3340;
}

body.page-cool .k4c-blurb-image-row {
	align-items: stretch;
}

body.page-cool .k4c-blurb-image-row > [class*="col-"] {
	display: flex;
	flex-direction: column;
}

body.page-cool .k4c-blurb-image-row .blurb-image {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 0;
	color: inherit;
	text-decoration: none;
}

body.page-cool .k4c-blurb-image-row .blurb-image img {
	flex-shrink: 0;
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 1.5/1;
}

body.page-cool .k4c-blurb-image-row .blurb-image .title {
	flex-shrink: 0;
}

body.page-cool .k4c-blurb-image-row .blurb-image .title a {
	color: inherit;
}

body.page-cool .k4c-blurb-image-row .blurb-image .exeption {
	flex-grow: 1;
	margin-bottom: 1.35rem;
}

body.page-cool .k4c-blurb-image-row .blurb-image .button {
	align-self: flex-start;
	margin-top: auto;
}

body.page-cool .post-classic-2 {
	transition:
		box-shadow 0.35s ease,
		transform 0.35s ease;
}

body.page-cool .post-classic-2:hover {
	box-shadow: 0 1rem 2rem rgba(41, 41, 58, 0.12);
	transform: translateY(-2px);
}

body.page-cool .blurb-boxed-2 {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.page-cool .section.context-dark .row.g-0,
body.page-cool .section.context-dark .row.g-0 > [class*="col-"] {
	background: var(--main-color);
}

body.page-cool .blurb-boxed-2 > p:empty {
	display: none;
}

body.page-cool .blurb-boxed-2:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

@media (hover: none), (pointer: coarse) {
	body.page-cool .blurb-boxed-2:hover {
		transform: none;
		box-shadow: none;
	}
}

@media (max-width: 991.98px) {
	body.page-cool .blurb-boxed-2,
	body.page-cool .blurb-boxed-2:hover,
	body.page-cool .blurb-boxed-2:focus,
	body.page-cool .blurb-boxed-2:active {
		transform: none !important;
		box-shadow: none !important;
	}
}

body.page-cool .button {
	transition:
		box-shadow 0.3s ease,
		transform 0.25s ease,
		background-color 0.25s ease;
}

body.page-cool .button:hover {
	box-shadow: 0 6px 24px rgba(132, 16, 16, 0.35);
}

body.page-cool .k4c-contact-layout {
	align-items: stretch;
	margin-top: 2.5rem;
}

body.page-cool .k4c-contact-panel {
	height: 100%;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border-radius: 4px;
	background: #ffffff;
	box-shadow: 0 1.25rem 2.5rem rgba(41, 41, 58, 0.12);
}

body.page-cool .k4c-contact-panel .wpcf7-form p {
	margin-bottom: 1rem;
}

body.page-cool .k4c-contact-panel .wpcf7-form label {
	display: block;
	font-weight: 700;
	line-height: 1.35;
	color: #171c25;
}

body.page-cool .k4c-contact-panel .wpcf7-form-control-wrap {
	display: block;
	margin-top: 0.45rem;
}

body.page-cool .k4c-contact-panel .wpcf7-form-control:not(.wpcf7-submit) {
	width: 100%;
	min-height: 3.25rem;
	padding: 0.85rem 1rem;
	border: 1px solid rgba(23, 28, 37, 0.16);
	border-radius: 4px;
	background: #f8f8f8;
	color: #171c25;
	font: inherit;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

body.page-cool .k4c-contact-panel textarea.wpcf7-form-control {
	min-height: 10rem;
	resize: vertical;
}

body.page-cool .k4c-contact-panel .wpcf7-form-control:not(.wpcf7-submit):focus {
	border-color: var(--main-color);
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(132, 16, 16, 0.12);
}

body.page-cool .k4c-contact-panel .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.25rem;
	padding: 0.85rem 1.75rem;
	border: 0;
	border-radius: 4px;
	background: var(--main-color);
	color: #ffffff;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

body.page-cool .k4c-contact-panel .wpcf7-submit:hover {
	background: color-mix(in srgb, var(--main-color) 82%, #000);
	box-shadow: 0 6px 24px rgba(132, 16, 16, 0.28);
	transform: translateY(-1px);
}

body.page-cool .k4c-contact-panel .wpcf7-not-valid-tip {
	margin-top: 0.35rem;
	font-size: 0.9rem;
	color: var(--main-color);
}

body.page-cool .k4c-contact-panel .wpcf7-response-output {
	margin: 1.5rem 0 0;
	padding: 0.9rem 1rem;
	border-radius: 4px;
}

body.page-cool .k4c-contact-qr {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border-radius: 4px;
	background: linear-gradient(135deg, #171c25 0%, #050505 100%);
	color: #ffffff;
	text-align: center;
	box-shadow: 0 1.25rem 2.5rem rgba(41, 41, 58, 0.16);
}

body.page-cool .k4c-contact-qr__image {
	display: block;
	width: min(16rem, 100%);
	padding: 1rem;
	margin-bottom: 1.5rem;
	border-radius: 4px;
	background: #ffffff;
}

body.page-cool .k4c-contact-qr__image img {
	display: block;
	width: 100%;
	height: auto;
}

body.page-cool .k4c-contact-qr h3 {
	color: #ffffff;
}

body.page-cool .k4c-contact-qr p {
	max-width: 22rem;
	margin: 0.75rem auto 1.5rem;
	color: rgba(255, 255, 255, 0.82);
}

.footer-2 {
	background: #000;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 300;
	transition: background 0.35s ease, border-color 0.35s ease;
}

.footer-2 p,
.footer-2 li,
.footer-2 a,
.footer-2 .title,
.footer-2 .rights {
	font-weight: 300;
	letter-spacing: normal;
}

.footer-2 .row {
	row-gap: 3rem;
}

.footer-2 .title,
.footer-2 h5.title {
	margin-top: 0;
	font-family: "Syne", system-ui, sans-serif;
	font-size: clamp(2.25rem, 3.2vw, 3rem);
	line-height: 1.05;
	font-weight: 300;
}

.footer-2 .contact-box.mt-4 {
	margin-top: 1.5rem !important;
}

.footer-2 [class*="mt-md-"] {
	margin-top: 0 !important;
}

@media (min-width: 768px) {
	.footer-2 .row {
		--bs-gutter-x: clamp(5rem, 10vw, 11rem);
	}
}

@media (min-width: 1200px) {
	.footer-2 {
		background: rgba(0, 0, 0, 0.9);
		backdrop-filter: blur(14px);
		-webkit-backdrop-filter: blur(14px);
	}
}
