/* ==========================================================================
   STYLE - Komponenten. Layout, Abstaende und Raster ueber Bootstrap-Utilities;
   hier nur, was Bootstrap nicht mitbringt. Farben/Fonts: siehe theme.css
   ========================================================================== */

@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
body { animation: fadein 1.5s; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 6rem; }
a { text-decoration: none; }
a[href^="tel"], a[href^="mailto"] { white-space: nowrap; }

/* ---------- Abstaende / Layout ---------- */
.py-section, .py-split, .split-body, .site-footer-top { padding-block: 3.75rem; }
@media (min-width: 768px) { .py-section, .py-split, .split-body, .site-footer-top { padding-block: 4.6875rem; } }
@media (min-width: 992px) { .py-section, .py-split, .split-body, .site-footer-top { padding-block: 5rem; } }
* + .row { margin-top: 1.875rem; }
@media (min-width: 768px) { * + .row { margin-top: 2.1875rem; } }
.section-gap { padding-block: 2.5rem; }
@media (min-width: 768px) { .section-gap { padding-block: 7.5rem; } }
.py-section-lg { padding-block: 5rem; }
.measure-sm { max-width: 620px; }
.measure-md { max-width: 620px; }
.measure-lg { max-width: 800px; }
.hero { position: relative; display: flex; align-items: center; background: var(--c-gray-dark) center / cover no-repeat; }
.hero > * { position: relative; z-index: 1; }
.hero-lg { min-height: 100vh; min-height: 100svh; }
.hero-md { min-height: 50vh; min-height: 50svh; }
.hero-overlay::before { content: ""; position: absolute; inset: 0; background: rgba(0, 51, 102, 0.6); pointer-events: none; }
@media (min-width: 768px) { .hero h2 { margin-top: 2.1875rem; } }
.hero-fixed { background-attachment: fixed; }

/* ---------- Hintergruende ---------- */
.bg-blue-tint { background: var(--c-blue-tint); }
.bg-gradient-blue { background: linear-gradient(15deg, rgb(16, 13, 54) 0%, rgb(39, 106, 175) 50%, rgb(100, 163, 213) 100%); }
.bg-sinus, .bg-sinus-white { position: relative; z-index: 0; }
.bg-sinus { background: var(--c-blue-deep); }
.bg-sinus-white { background: #fff; }
.bg-sinus::before, .bg-sinus-white::before, .site-footer-top::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.08;
	background: url("/images/icons/sinus_kurve_white.svg") center / 65% no-repeat fixed;
}
.bg-sinus-white::before { background: url("/images/icons/sinus_kurve_blau.svg") 110% 120% / 55% no-repeat fixed; }
.box-blue { padding: 2.5rem; background: var(--c-blue-tint); }
.box-gray { padding: 1.25rem; background: rgba(0, 0, 0, 0.03); }

/* Seitenspalte mit senkrechter Trennlinie (ab xl) */
@media (min-width: 1200px) {
	.aside-divided { position: relative; }
	.aside-divided::after { content: ""; position: absolute; top: 0; bottom: 0; left: 25px; border-left: 1px solid #ccc; }
	.aside-divided > * { max-width: 370px; margin-left: 50px; }
}

/* Bild-/Text-Segment: Bild halbe Breite ab lg */
.split { position: relative; overflow: hidden; }
.split-image { height: 33vw; min-height: 200px; background: center / cover no-repeat; }
@media (min-width: 992px) {
	.split-image { position: absolute; top: 0; bottom: 0; width: 50%; height: auto; }
	.split-image-end { right: 0; }
	.split-image-start { left: 0; }
}

/* ---------- Buttons ---------- */
.btn {
	--bs-btn-padding-x: 1.875rem;
	--bs-btn-padding-y: 0.75rem;
	--bs-btn-font-size: clamp(0.6875rem, 0.65rem + 0.1vw, 0.75rem);
	--bs-btn-font-weight: 600;
	--bs-btn-line-height: 1.5rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.btn-primary {
	--bs-btn-color: #fff; --bs-btn-bg: var(--c-blue); --bs-btn-border-color: var(--c-blue);
	--bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--c-orange); --bs-btn-hover-border-color: var(--c-orange);
	--bs-btn-active-color: #fff; --bs-btn-active-bg: var(--c-orange); --bs-btn-active-border-color: var(--c-orange);
}
.btn-outline-primary {
	--bs-btn-color: var(--c-blue); --bs-btn-border-color: var(--c-blue);
	--bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--c-orange); --bs-btn-hover-border-color: var(--c-orange);
	--bs-btn-active-color: #fff; --bs-btn-active-bg: var(--c-orange); --bs-btn-active-border-color: var(--c-orange);
}
.btn-outline-light {
	--bs-btn-color: #fff; --bs-btn-border-color: #fff;
	--bs-btn-hover-color: var(--c-blue); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff;
	--bs-btn-active-color: var(--c-blue); --bs-btn-active-bg: #fff; --bs-btn-active-border-color: #fff;
}
* + .btn { margin-top: 1.5625rem; }
@media (min-width: 768px) { * + .btn { margin-top: 2.1875rem; } }
@media (max-width: 767.98px) {
	.btn:not(.hero .btn):not(.navbar .btn) { width: 100%; }
}

/* Textlinks mit Linear-Icon */
.link-more::after, .link-back::before, .link-ext::after { font-family: "Linearicons"; vertical-align: middle; }
.link-more::after { content: "\e944"; display: inline-block; position: relative; top: -0.0625rem; padding-left: 0.5rem; transition: transform 0.3s ease; }
.card-project .link-more::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.link-back::before { content: "\e943"; display: inline-block; position: relative; top: -0.0625rem; padding-right: 0.5rem; transition: transform 0.3s ease; }
.link-ext::after { content: "\e8fe"; padding-left: 0.5rem; margin-bottom: 2px; }
.link-more, .link-back { display: inline-block; line-height: 1.5rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Icons ---------- */
.icon { display: inline-block; line-height: 1.3; color: var(--c-blue); text-align: center; }
.check-item { margin-bottom: 1.5em; }
.check-item:last-child { margin-bottom: 0; }
.d-flex > .icon { align-self: flex-start; }
.icon-md { font-size: clamp(1.75rem, 1.5rem + 0.5vw, 2rem); }
.icon-xl { font-size: 2.875rem; flex: none; }
.icon-lg { font-size: clamp(2rem, 1.6rem + 0.9vw, 2.75rem); }
.icon-circle {
	width: 2.4em; height: 2.4em; line-height: 2.33em; border: 2px solid var(--c-blue); border-radius: 50%;
	font-size: clamp(1.875rem, 1.4rem + 1vw, 2.75rem); flex: none;
}
.icon-circle::before { line-height: inherit; }
.icon-circle-dark { border-width: 1px; border-color: #000; color: #000; }
.blurb-title { font-size: clamp(1.125rem, 0.955rem + 0.727vw, 1.5rem); line-height: 1.33; }
* + .blurb-title { margin-top: 1rem; }
@media (min-width: 1200px) { .blurb-title { line-height: 1.54167; } * + .blurb-title { margin-top: 2.8125rem; } }
.blurb-center { max-width: 360px; }
.icon-big { margin-bottom: 1.25rem; }
.icon-big img { width: 75%; height: auto; margin: 1.875rem 0; }
.icon-headline img { width: 200px; height: auto; }

/* ---------- Listen ---------- */
.list-marked { list-style: none; padding: 0; margin-top: 1rem; }
.list-marked > li { position: relative; padding-left: 1.75rem; }
.list-marked > li + li { margin-top: 0.5rem; }
.list-marked > li::before { content: ""; position: absolute; top: 0.75em; left: 0.5rem; width: 5px; height: 5px; border-radius: 50%; background: currentColor; transform: translateY(-50%); }
.list-marked.mt-0 > li + li { margin-top: 0; }

/* ---------- Navigation ---------- */
#navigation-placeholder { display: contents; }
.site-header { z-index: 1030; background: #fff; border-bottom: 1px solid #ececee; box-shadow: 0 2px 12px rgba(136, 136, 136, 0.1); }
.site-header .navbar { padding-block: 0; }
.site-header .container-xxl { width: min(1370px, 100% - 3rem); max-width: none; min-height: 5.375rem; padding-inline: 0; }
.site-header .navbar-brand img { width: 113px; height: auto; }
@media (min-width: 1200px) { .site-header .navbar-brand img { width: 160px; } }
.navbar .navbar-nav .nav-link { --bs-navbar-nav-link-padding-x: 0.8125rem; padding: 0.75rem 0.8125rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--c-blue); }
.navbar .nav-link:hover, .navbar .nav-item.active > .nav-link, .navbar .nav-item:focus-within > .nav-link { color: var(--c-orange); }
.navbar .nav-item:has(> .dropdown-list) > .nav-link::after {
	content: ""; display: inline-block; width: 0.4375rem; height: 0.4375rem; margin: 0 0.125rem 0.3125rem 0.5rem;
	border: solid currentColor; border-width: 0 2px 2px 0; vertical-align: middle; transform: rotate(45deg); transition: transform 0.4s ease;
}
.navbar .nav-item:has(> .dropdown-list):hover > .nav-link::after, .navbar .nav-item:has(> .dropdown-list):focus-within > .nav-link::after { transform: rotate(225deg); margin-bottom: 0; }
.nav-extra { display: flex; align-items: center; font-size: 0.75rem; font-weight: 400; letter-spacing: 0.05em; text-transform: uppercase; }
.nav-extra .icon { font-size: 1.875rem; }
.nav-extra .linear-icon-scada-cloud1 { margin: 0 1.5625rem 0 2.5rem; }
.nav-extra .linear-icon-earth { margin: 0 0.5rem 0 1.25rem; font-size: 1.5rem; }
.nav-extra #lang-switch { color: var(--c-orange); }
.nav-extra #lang-switch a { display: inline; }
.nav-extra .active { color: var(--c-orange); }
@media (min-width: 1200px) {
	.site-header .container-xxl { min-height: 7.375rem; transition: min-height 0.3s ease-in-out; }
	.site-header.is-stuck .container-xxl { min-height: 5.75rem; }
	.site-header .offcanvas, .site-header .offcanvas-body, .site-header .navbar-nav { align-self: stretch; }
	.site-header .navbar-expand-xl .offcanvas .offcanvas-body { flex-grow: 1; }
	.navbar .nav-item > .dropdown-list.collapse:not(.show) { display: block; }
	.site-header .navbar-nav { padding-left: 2rem; }
	.navbar .nav-item { position: relative; display: flex; align-items: center; }
	.nav-extra { align-self: center; }
	.navbar .dropdown-list {
		position: absolute; top: 100%; left: -1.0625rem; z-index: 5; min-width: 15rem; padding: 0.9375rem 1.875rem; list-style: none;
		background: #fff; opacity: 0; visibility: hidden; transform: translateY(1.5rem); transition: 0.3s ease;
	}
	.navbar .nav-item:hover > .dropdown-list, .navbar .nav-item:focus-within > .dropdown-list { opacity: 1; visibility: visible; transform: none; }
}
.dropdown-list { list-style: none; padding: 0 0 0 1rem; }
.dropdown-list a { display: block; padding-block: 0.375rem; font-size: 0.875rem; font-weight: 400; white-space: nowrap; color: var(--c-blue); }
.dropdown-list .active > a { color: var(--c-orange); }

/* Burger -> X */
.navbar .navbar-toggler { width: 2.5rem; height: 2.5rem; color: var(--c-blue); }
.navbar .navbar-toggler:focus { box-shadow: none; }
.navbar .navbar-toggler:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 2px; }
.burger { position: relative; display: block; width: 1.375rem; height: 1rem; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background-color: currentColor; transition: top 0.3s ease, transform 0.3s ease, opacity 0.2s ease; }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: calc(50% - 1px); }
.burger span:nth-child(3) { top: calc(100% - 2px); }
.navbar:has(.offcanvas:is(.show, .showing):not(.hiding)) .burger span:nth-child(1) { top: calc(50% - 1px); transform: rotate(45deg); }
.navbar:has(.offcanvas:is(.show, .showing):not(.hiding)) .burger span:nth-child(2) { opacity: 0; }
.navbar:has(.offcanvas:is(.show, .showing):not(.hiding)) .burger span:nth-child(3) { top: calc(50% - 1px); transform: rotate(-45deg); }

/* Mobile Navigation: Offcanvas von links */
@media (max-width: 1199.98px) {
	.site-header .container-xxl { width: 100%; padding-inline: 1.25rem; }
	.site-header .offcanvas {
		top: 5.375rem; z-index: 1020; width: 19.375rem; border: 0; box-shadow: 0 2px 12px rgba(136, 136, 136, 0.1);
		background: #fff url("/images/icons/sinus_kurve_blau_20p.svg") center bottom 5rem / 85% no-repeat;
	}
	.site-header .offcanvas-body { display: flex; flex-direction: column; padding: 0; }
	.nav-extra { flex-wrap: nowrap; margin: 1.75rem 0.625rem 1.25rem; font-size: 0.625rem; letter-spacing: 0.05em; }
	.nav-extra .btn { --bs-btn-padding-x: 0.5rem; --bs-btn-padding-y: 0.375rem; --bs-btn-font-size: 0.625rem; --bs-btn-line-height: 1.5rem; letter-spacing: normal; }
	.nav-extra .linear-icon-scada-cloud1 { margin: 0 1.5625rem 0 1.875rem; }
	.nav-extra .linear-icon-earth { margin: 0 0.625rem; }
	.navbar-nav { margin-block: 1.25rem; }
	.navbar .navbar-nav .nav-link { padding: 0.6875rem 3.5rem 0.6875rem 1.125rem; }
	.navbar .nav-item { position: relative; margin-top: 0.25rem; }
	.navbar .nav-item.active > .nav-link { background: var(--c-blue); color: #fff; }
	.navbar .nav-item:has(> .dropdown-list) > .nav-link::after { display: none; }
	.submenu-toggle { position: absolute; top: 0; right: 0; width: 3.5rem; height: 2.5rem; padding: 0; border: 0; background: transparent; color: var(--c-blue); }
	.submenu-toggle::after {
		content: ""; display: inline-block; width: 0.4375rem; height: 0.4375rem; margin-bottom: 0.25rem;
		border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform 0.4s ease;
	}
	.submenu-toggle[aria-expanded="true"]::after { transform: rotate(225deg); margin-bottom: 0; }
	.navbar .nav-item.active > .submenu-toggle { color: #fff; }
	.dropdown-list { padding: 0; }
	.dropdown-list a { padding: 0.5rem 3.5rem 0.5rem 2.25rem; }
}

/* ---------- Footer ---------- */
.site-footer-top { position: relative; z-index: 0; background: rgba(0, 0, 0, 0.03); font-size: 0.875rem; line-height: 1.7; }
.site-footer-top::before { background: url("/images/icons/sinus_kurve_blau.svg") 20% -5% / 80% no-repeat; }
.site-footer-top img { width: 160px; height: auto; }
.site-footer-bottom { font-size: 0.875rem; line-height: 24px; padding-block: 25px; }
.site-footer-bottom a { display: flex; margin: 0; color: var(--c-blue); }
.site-footer-bottom svg { display: block; }

.ui-to-top { border: 0; padding: 0; position: fixed; right: 40px; bottom: var(--to-top-bottom, 40px); z-index: 20; width: 58px; height: 58px; border-radius: 50%; color: #fff; background: var(--c-blue); transform: translateY(calc(100% + var(--to-top-bottom, 40px) + 10px)); transition: 0.3s; }
.ui-to-top::before { content: ""; position: absolute; top: 50%; left: 50%; width: 0.75rem; height: 0.75rem; border-top: 2px solid currentColor; border-left: 2px solid currentColor; transform: translate(-50%, -25%) rotate(45deg); }
.ui-to-top:focus-visible, .ui-to-top:active { color: #fff; background: var(--c-orange); }
.ui-to-top.active { transform: translateY(0); }
@media print { .ui-to-top { display: none; } }
@media (max-width: 767.98px) {
	.footer-box { padding-bottom: 1.875rem; border-bottom: 1px solid #ccc; }
}

/* ---------- Accordion (Leistungsverzeichnis) ---------- */
.accordion { --bs-accordion-body-padding-x: 0; --bs-accordion-border-width: 0; --bs-accordion-btn-bg: transparent; --bs-accordion-active-bg: transparent; --bs-accordion-active-color: inherit; --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-bg: transparent; }
.accordion-header { font-size: inherit; font-weight: inherit; }
.accordion-button {
	flex-direction: row-reverse; justify-content: flex-end; gap: 1rem; padding-left: 0;
	font-size: clamp(1.125rem, 0.955rem + 0.727vw, 1.5rem); font-weight: 300; line-height: 1.45;
}
.accordion-button::after { margin-left: 0; }
.accordion-button.collapsed { animation: text-nudge 0.4s ease-in-out 3s 3; }
@keyframes text-nudge { 0%, 100% { text-indent: 0; } 50% { text-indent: 4px; } }

/* ---------- Team-Tabs (Ueber uns) ---------- */
.team-tabs { column-gap: 9px; }
.team-tabs .nav-link { margin: 0 15px 30px; padding: 0; font-size: 0.75rem; line-height: 20px; font-weight: 400; letter-spacing: 0.06em; text-align: center; text-transform: uppercase; color: var(--c-text); }
.team-tabs .nav-link.active { color: var(--c-orange); background: transparent; }
.team-tabs img { width: 150px; height: 150px; transition: transform 0.3s, filter 0.3s; }
.team-tabs + .tab-content .tab-pane { scroll-margin-top: 150px; }
.team-tabs + .tab-content { padding: 60px 0 30px; border-top: 1px solid #ccc; }
.team-member { padding-bottom: 1.875rem; margin-bottom: 2.5rem; border-bottom: 1px solid #ccc; }
@media (min-width: 768px) {
	.team-member { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
}

/* ---------- Karten, Galerie, Zitate ---------- */
.card-project { position: relative; max-width: 420px; margin-inline: auto; }
.card-project .caption { margin-top: 1.5625rem; }
.card-project .link-more { margin-top: 1.25rem; }
.row-gap-lg { row-gap: 3.125rem; }
@media (min-width: 768px) { .row-gap-lg { row-gap: 3.75rem; } }
.card-project img { transition: box-shadow 0.37s ease-in-out; }
.thumb-zoom { position: relative; display: block; }
.thumb-zoom .caption {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff;
	background: rgba(100, 158, 213, 0.7); opacity: 0; transform: scale(0.8); transition: 350ms ease-in-out;
}
.thumb-zoom .icon { color: #fff; }
.thumb-zoom:focus-visible .caption { opacity: 1; transform: none; }
.carousel-item blockquote { padding-bottom: 1.6875rem; }
.quote-mark { display: block; margin-inline: auto; fill: var(--c-blue); }
.quote-text { margin-top: 1.875rem; font-size: inherit; line-height: inherit; }
.quote-cite { margin-top: 0.9375rem; color: #000; }
.quote-cite::before { content: ""; display: inline-block; width: 14px; margin-right: 5px; vertical-align: middle; border-top: 1px solid; }
h3 + .carousel { margin-top: 2.1875rem; }
/* Alle Zitate liegen uebereinander: die Hoehe richtet sich nach dem laengsten, die Sektion springt nicht */
.carousel-inner { display: grid; }
.carousel-item { display: block; grid-area: 1 / 1; float: none; margin-right: 0; }
.carousel-item:not(.active, .carousel-item-next, .carousel-item-prev) { visibility: hidden; }
/* Slide-Uebergang nur waehrend des Wechsels: das naechste Zitat springt unsichtbar rechts/links in Position, ohne sichtbar anzufahren */
.carousel-item { transition: none; }
.carousel-item.active.carousel-item-start, .carousel-item.active.carousel-item-end,
.carousel-item-next.carousel-item-start, .carousel-item-prev.carousel-item-end { transition: transform 0.6s ease-in-out; }
.carousel-indicators { position: static; height: 1.6875rem; margin: 1.875rem 0 0; align-items: center; }
.carousel-indicators [data-bs-target] { width: 14px; height: 14px; margin-inline: 5px; border: 0; border-radius: 50%; background-color: var(--c-blue); opacity: 0.35; }
.carousel-indicators .active { opacity: 1; }

/* Lightbox ohne JavaScript: Oeffnen per :target, Wischen per Scroll-Snap, Pfeile als Anker-Links */
.lightbox { position: fixed; inset: 0; margin: 0; z-index: 2000; display: none; background: rgba(0, 0, 0, 0.75); }
.lightbox:has(.lightbox-slide:target) { display: block; }
.lightbox-track { display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior: contain; touch-action: pan-x; scrollbar-width: none; }
.lightbox-track::-webkit-scrollbar { display: none; }
.lightbox-slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.lightbox-close { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 1rem; cursor: zoom-out; }
.lightbox-close img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.lightbox-close::after { content: "\d7"; position: absolute; top: 0.5rem; right: 1.25rem; font-size: 3rem; line-height: 1; color: #fff; }
.lightbox-nav { position: absolute; top: 50%; z-index: 1; padding: 0.5rem 1rem; font-size: 3rem; line-height: 1; color: #fff; transform: translateY(-50%); }
.lightbox-nav::before { content: "\2039"; }
.lightbox-next::before { content: "\203a"; }
.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }
@media (hover: none) { .lightbox-nav { display: none; } }

/* Partner-Logos: Endlos-Karussell (reines CSS, 6 Logos sichtbar ab xl) */
.logo-slider { --logo-visible: 1; overflow: hidden; }
.logo-track { display: flex; width: calc(15 * 100% / var(--logo-visible)); animation: logo-slide 25s ease-in-out infinite; }
.logo-item { flex: 0 0 calc(100% / 15); display: flex; justify-content: center; align-items: center; }
.logo-item img { width: 143px; height: auto; }
@media (min-width: 576px) { .logo-slider { --logo-visible: 2; } }
@media (min-width: 768px) { .logo-slider { --logo-visible: 4; } }
@media (min-width: 992px) { .logo-slider { --logo-visible: 5; } }
@media (min-width: 1200px) { .logo-slider { --logo-visible: 6; } }
@keyframes logo-slide {
	0%, 17% { transform: none; }
	20%, 37% { transform: translateX(-6.6667%); }
	40%, 57% { transform: translateX(-13.3333%); }
	60%, 77% { transform: translateX(-20%); }
	80%, 97% { transform: translateX(-26.6667%); }
	100% { transform: translateX(-33.3333%); }
}
@media (prefers-reduced-motion: reduce) {
	.logo-track { animation: none; width: 100%; flex-wrap: wrap; }
	.logo-item { flex: 0 0 auto; padding: 0.75rem 1.5rem; }
	.logo-item[aria-hidden] { display: none; }
}

.role { margin-bottom: 1.25rem; }
@media (max-width: 767.98px) { .icon-big-home img { width: 50%; } }
@media (max-width: 767.98px) { .hero-left { background-position: left center; } .hero h2 { margin-top: 15px; } }
@media (max-width: 767.98px) { .logo-tight { padding-top: 0; } }
@media (max-width: 767.98px) { .pt-mobile-sm { padding-top: 2rem; } }
@media (max-width: 991.98px) { .aside-divided > .py-4 { padding-top: 0 !important; } .col-lg-8 > .py-4 > .py-5:last-child { padding-bottom: 0 !important; } }
@media (max-width: 991.98px) { .aside-divided > .py-4 + .py-4 { padding-top: 2.5rem !important; } .aside-divided > .py-4:has(+ .py-4) { padding-bottom: 2.5rem !important; } }
@media (max-width: 991.98px) { .row-gap-lg:has(> .aside-divided.order-1) { row-gap: 1.5rem; } .row-gap-lg:has(> .aside-divided.order-1) > .col-lg-8 > .py-4:first-child { padding-top: 0 !important; } }
@media (max-width: 767.98px) { .hero-team { background-position: calc(88% + 30px) center; } .hero-shade::before { content: ""; position: absolute; inset: 0; background: rgba(0, 51, 102, 0.5); pointer-events: none; } }
@media (max-width: 767.98px) { .team-tabs { column-gap: 0; } .team-tabs .nav-item { flex: 0 0 50%; } .team-tabs .nav-link { margin: 0 0.5rem 1.5rem; } .team-tabs img { width: 100%; max-width: 150px; height: auto; aspect-ratio: 1; } }
@media (max-width: 767.98px) { ul.list-marked + br { display: none; } }
@media (max-width: 1199.98px) { .ui-to-top { --to-top-bottom: 100px; } }
@media (max-width: 991.98px) { .img-wide-md { width: 100%; height: auto; } }
@media (max-width: 991.98px) { .pt-tablet-sm { padding-top: 2rem; } }
@media (min-width: 768px) and (max-width: 1199.98px) { .hero-team { background-position: 75% center; } }

/* Touch-Basis */
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }
a, button, [role="button"] { touch-action: manipulation; }
.btn, .navbar-toggler, .nav-link, .ui-to-top { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.btn:active { transform: scale(0.98); }
.ui-to-top { right: max(40px, env(safe-area-inset-right, 0px)); }
.offcanvas-body { padding-bottom: env(safe-area-inset-bottom, 0px); }

@media (hover: hover) and (pointer: fine) {
	.link-more:hover::after, .card-project:hover .link-more::after { transform: translateX(0.3125rem); }
	.card-project:hover .link-more { color: var(--c-orange); }
	.link-back:hover::before { transform: translateX(-0.3125rem); }
	.navbar .navbar-toggler:hover { color: var(--c-blue); background-color: transparent; }
	.dropdown-list a:hover { color: var(--c-orange); }
	.site-footer-bottom a:hover { color: var(--c-orange); }
	.ui-to-top:hover { color: #fff; background: var(--c-orange); }
	.team-tabs .nav-link:hover { color: var(--c-orange); background: transparent; }
	.team-tabs img:hover { transform: scale(1.05); filter: drop-shadow(0 0 8px var(--c-blue)); }
	.card-project:hover img { box-shadow: 0 5px 23px rgba(0, 0, 0, 0.4); }
	.thumb-zoom:hover .caption { opacity: 1; transform: none; }
	.lightbox-nav:hover { color: var(--c-orange); }
	.logo-slider:hover .logo-track { animation-play-state: paused; }
}

#scada-projekt-detail p + .check-item { margin-top: 1.5em; }

.skip-link:focus { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 2000; padding: 0.5rem 1rem; color: var(--c-blue-dark); background: #fff; border: 2px solid var(--c-blue-dark); }
main:focus { outline: 0; }
@media (max-width: 767.98px) { .ui-to-top { --to-top-bottom: 1rem; right: max(1rem, env(safe-area-inset-right, 0px)); width: 44px; height: 44px; } }
