:root{
	--sd-bg: #f1f1f1;
	--sd-soft: 0 .2rem 1rem rgba(0, 0, 0, 0.05);
	--sd-r: 1rem;
	--sd-accent-color: #a6231c;
	--sd-accent-color-rgb: 166, 35, 28;
	--sd-highlight-color: #c42e26;
	--sd-highlight-color-rgb: 196, 46, 38;
	--sd-box-bg: #f1f1f2;

	--sd-footer-hl-color: #fff;
	--sd-footer-color: #aaa;
	--sd-footer-color-hover: #fff;
	--sd-footer-bg: #0a0a0a;
	--sd-footer-note-bg: #010101;

	--bs-nav-link-font-size: 1rem;
	--bs-nav-link-font-size-md: 1.1rem;
	--bs-link-color-rgb: var(--sd-highlight-color-rgb);
	--bs-link-hover-color-rgb: var(--sd-accent-color-rgb);
	--bs-info-rgb: 50, 50, 50;
}

.btn {
	font-weight: bold;
}
.btn-primary {
	--bs-btn-color: #fff;
	--bs-btn-bg: #c42e26;
	--bs-btn-border-color: #c42e26;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #a6231c;
	--bs-btn-hover-border-color: #a6231c;
	--bs-btn-focus-shadow-rgb: 49,132,253;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #c42e26;
	--bs-btn-active-border-color: #c42e26;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: #c42e26;
	--bs-btn-disabled-border-color: #c42e26;
}

/* latin */
@font-face {
	font-family: 'Roboto';
	font-style: italic;
	font-weight: 300 700;
	font-stretch: 100%;
	font-display: swap;
	src: url(../fonts/roboto-italic.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 300 700;
	font-stretch: 100%;
	font-display: swap;
	src: url(../fonts/roboto-normal.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body { background: var(--sd-bg); font: 1.05rem/1.7 "Roboto","Helvetica Neue",Helvetica,Arial,sans-serif; padding-top: 5.4rem }
section { padding: 4rem 0 }
hr { margin: 2rem 0 }
a:not(.btn) { text-decoration: none }
a:not(.btn):hover, a:not(.btn):active, a:not(.btn):focus { text-decoration: underline }

footer { background: var(--sd-footer-bg); color: var(--sd-footer-color) !important; }
footer > .container { position: relative; z-index: 1; }
footer > .container::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(../../images/schauener-dachbau-icon-bg.png) left 1rem bottom -15rem no-repeat;
	opacity: .05;
	z-index: -1;
}
footer .footer-note { background: var(--sd-footer-note-bg) }
footer .footer-note .list-inline-item span { color: var(--sd-accent-color) }
footer .h5 { color: var(--sd-footer-hl-color); }
footer a { color: var(--sd-footer-color); text-decoration: none; }
footer a:hover { color: var(--sd-footer-color-hover); text-decoration: underline; }

.card-soft { box-shadow:var(--sd-soft); border:1px solid rgba(0,0,0,.06); border-radius:var(--sd-r) }
.lead { font-size: 1.15rem; line-height: 1.4 }
.badge-dot { display:inline-block; width:.5rem; height:.5rem; border-radius:50%; background:#212529; margin-right:.5rem }

.navbar { background: #fff; box-shadow: 0 .2rem .5rem rgba(30,30,30,.08) }
.navbar-brand { padding: 0; max-width: 16rem }
.navbar-toggler { padding: .3rem .5rem }
.navbar-toggler:focus { box-shadow: none; border-color: var(--sd-accent-color) }
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show { color: var(--sd-accent-color) }

.hero-img::before {
	content: "";
	position: absolute;
	inset: 0; /* top:0; right:0; bottom:0; left:0 */
	background: rgba(255,255,255,.75);
}
.hero-img {
	position: relative;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
.hero-img.caption-ki::after {
	position: absolute;
	bottom: .1rem;
	right: .3rem;
	content: 'KI-generiert';
	font-size: .6rem;
	color: #666;
}

body:not(#page-index) h1 {
	margin-bottom: 2rem;
}
body:not(#page-index) h1 + p.text-secondary {
	margin-bottom: 2rem;
}

.section-title {
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	position: relative;
}
.section-title::after {
	content: "";
	position: absolute;
	display: block;
	width: 3.5rem;
	height: 3px;
	background: var(--sd-highlight-color);
	left: 0;
	bottom: 0;
	margin: auto;
}
h3.section-title {
	margin-top: 2rem;
}

.leistungen .card {
	position: relative;
	transition-duration: .3s;
	transition-property: all;
	overflow: hidden;
}
.leistungen .card-img-top {
	transition-duration: .3s;
	height: 14rem;
	object-fit: cover;
	display: block;
}
.leistungen .col:hover .card-img-top {
	scale: 1.05;
}

.services-box-img {
	background-clip: content-box;
	background-size: cover;
	min-height: 23rem;
	background-position: center;
}
.info-box {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 1rem;
	border-radius: var(--sd-r);
	max-width: 20rem;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	background-color: rgba(255, 255, 255, .95);
	box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
	padding: .3rem .7rem;
	line-height: 1;
}
.info-box h3 {
	color: var(--sd-highlight-color) !important;
}

main ul.list-unstyled li {
	border-left: 3px solid var(--sd-highlight-color);
	background: #fff;
	padding: .4rem .8rem;
	line-height: 1.4;
	margin-bottom: .5rem;
}
main .bg-white ul.list-unstyled li {
	background: var(--sd-bg);
}

.list-col-2 {
	columns: 2 25rem;
	column-gap: 1rem;
	padding: 0;
}
.list-col-3 {
	columns: 3 25rem;
	column-gap: 1rem;
	padding: 0;
}

.services-box .list-col-2 {
	columns: 2 15rem;
	column-gap: 1rem;
	padding: 0;
}
.services-box ul li {
	padding: 0 !important;
	break-inside: avoid;
}
.services-box ul a, .services-box ul span {
	position: relative;
	display: block;
	text-decoration: none !important;
	padding: .4rem 1.8rem .4rem .8rem;
	color: var(--bs-body-color) !important;
}
.services-box ul a:hover {
	color: rgba(var(--bs-link-hover-color-rgb), 1) !important;
}
.services-box ul a::after {
	content: "»";
	position: absolute;
	display: block;
	top: .4rem;
	right: .75rem;
	font-size: 1.7rem;
	line-height: .7;
	color: var(--sd-highlight-color);
}

#kontakt-box .bg-info {
	z-index: 1;
}
#kontakt-box .bg-info::before {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: url(../../images/schauener-dachbau-icon-bg.png) right -6rem bottom -13rem no-repeat;
	opacity: .05;
	z-index: -1;
}
#kontakt-box a:not(.btn) {
	color: inherit !important;
}
#kontakt-box .btn-phone {
	display: flex;
	width: fit-content;
	align-items: center;
}
#kontakt-box a svg {
	margin-right: .8rem;
	vertical-align: center;
}

@media (min-width: 768px) {
	.lead { font-size: 1.25rem; }
}

@media (min-width: 992px) {
	body { padding-top: 6rem }
	.navbar-brand { max-width: 18rem }
	.navbar-nav { gap: 1.5rem !important }
	.nav-link { font-size: var(--bs-nav-link-font-size-md) }
}