:root{
	--ag-bg: #f1f6f6;
	--ag-soft:0 .2rem 1rem rgba(0, 0, 0, 0.05);
	--ag-r:1rem;
	--ag-accent-color: #0B848C;
	--ag-accent-color-rgb: 11, 132, 140;
	--ag-badge-bg-color: #e2ebec;
	--ag-nav-link-font-size: 1.1rem;

	--bs-link-color-rgb: 8, 134, 145;
	--bs-link-hover-color-rgb: 0, 100, 100;
	--bs-info-rgb: 8, 134, 145;
}

.btn-primary {
	--bs-btn-color: #fff;
	--bs-btn-bg: #0B848C;
	--bs-btn-border-color: #0B848C;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #054C51;
	--bs-btn-hover-border-color: #054C51;
	--bs-btn-focus-shadow-rgb: 49,132,253;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #0B848C;
	--bs-btn-active-border-color: #0B848C;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: #0B848C;
	--bs-btn-disabled-border-color: #0B848C;
}

.btn-link {
	--bs-btn-color: var(--ag-accent-color);
	--bs-btn-active-color: rgb(var(--bs-link-hover-color-rgb));
	--bs-btn-hover-color: rgb(var(--bs-link-hover-color-rgb));
}

/* 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(--ag-bg); font: 1.05rem/1.7 "Roboto","Helvetica Neue",Helvetica,Arial,sans-serif; padding-top: 5rem; }
section { padding:4rem 0 }
footer { background: rgba(var(--ag-accent-color-rgb), .1); color: #fff !important; }
footer a { text-decoration: none }

.card-soft { box-shadow:var(--ag-soft); border:1px solid rgba(0,0,0,.06); border-radius:var(--ag-r) }
.rounded-2xl { border-radius:var(--ag-r)!important }
.lead-sm { font-size:1.05rem; color:#6c757d }

.navbar { background: linear-gradient(rgba(255,255,255,1),rgba(255,255,255,.95)) !important; }
.nav-link { font-size: var(--ag-nav-link-font-size) }
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show { color: var(--ag-accent-color) }

body:not(#page-index) main { padding-top: 3rem; padding-bottom: 3rem; }

.hero-grad {
	position: relative;
	background: url('../../images/startseite/hero-index.jpg') no-repeat center center;
	background-size: cover;
}
.hero-grad::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255,255,255,.6);
}
.hero-grad .stats {
	display: block;
	position: relative;
	margin-bottom: .8rem;
	padding-bottom: .8rem;
}
.hero-grad .stats::after {
	content: "";
	position: absolute;
	display: block;
	width: 1.5rem;
	height: .2rem;
	background: var(--ag-accent-color);
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}

body:not(#page-index) h1 {
	text-align: center;
	margin-bottom: 2rem;
}
body:not(#page-index) h1 + p.text-secondary {
	text-align: center;
	margin-bottom: 2rem;
}

hr.section-divider {
	position: relative;
	width: 10rem;
	height: 1rem;
	margin: 1.5rem auto;
	border: none;
	opacity: 1;
}
.section-title {
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	position: relative;
	text-align:center;
}
.section-title::before, hr.section-divider::before {
	content: "";
	position: absolute;
	display: block;
	width: 12rem;
	height: 1px;
	background: rgba(0,0,0,.2);
	left: 0;
	right: 0;
	bottom: 1px;
	margin: auto;
}
.section-title::after, hr.section-divider::after {
	content: "";
	position: absolute;
	display: block;
	width: 4rem;
	height: 3px;
	background: #0B848C;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}

.badge {
	color: inherit;
	font-weight: 500;
	background: var(--ag-badge-bg-color);
}

.accordion-button {
	font-size: 1.2rem;
}
.accordion-button:hover {
	background-color: var(--ag-badge-bg-color);
}
.accordion-button:not(.collapsed) {
	background-color: var(--ag-badge-bg-color);
	color: var(--ag-accent-color);
}
.accordion-button:not(.collapsed)::after {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230B848C' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e")
}
.accordion-button:focus {
	box-shadow: none;
}

svg.icon {
	color: var(--ag-accent-color);
	margin-right: .2rem;
}

/* FILMSTRIP STARTSEITE */
#filmstrip-wrapper {
	background: url(../../images/startseite/filmstreifen.jpg) no-repeat center center / cover;
}
.filmstrip {
	overflow: hidden;
	width: 100%;
	-webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
	mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.filmstrip-track {
	display: flex;
	width: max-content;
	animation: scroll 40s linear infinite;
	will-change: transform;
}
.filmstrip img {
	height: 30vw;
	min-height: 10rem;
	max-height: 20rem;
	width: auto;
	margin: 0 1rem;
	display: block;
}
@keyframes scroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

.immobilie-img {
	width: 100%;
	height: 14rem;
	object-fit: cover;
	display: block;
	border-radius: .25rem;
}

.team-img {
	width: 10rem;
	height: 12rem;
	object-fit: cover;
}

.buero-gallery {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}
.buero-gallery .item {
	position: relative;
	margin: 0;
	overflow: hidden;
	box-shadow: var(--ag-soft);
}
.buero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.presse-teaser small {
	font-size: .8rem;
}
.presse-teaser.pointer:hover {
	cursor: pointer;
}


/* HISTORIE MILESTONES */
.milestone-line {
	position: absolute;
	left: 11px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: rgba(var(--ag-accent-color-rgb), .2);
}
.milestone-item {
	position: relative;
	margin: 2rem 0;
}
.milestone-col {
	position: relative;
}
.milestone .order-md-1 img { float: right !important; margin: .8rem 1.5rem 0 0; }
.milestone .order-md-2 img { margin: .8rem 0 0 1.5rem; }
.milestone-dot {
	position: absolute;
	top: 2.375rem;
	left: 12px;
	transform: translate(-50%, -50%);
	width: .8rem;
	height: .8rem;
	border-radius: 50%;
	background: var(--ag-accent-color);
	box-shadow: 0 0 0 4px rgba(var(--ag-accent-color-rgb), .2);
}
.milestone-card {
	margin-left: 2rem;
	max-width: 100%;
}

.text-expand {
	position: relative;
	overflow: hidden;
	transition: max-height .5s ease;
}
.text-expand.collapsed {
	max-height: 12rem;
}
.text-expand.collapsed::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4rem;
	background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
	pointer-events: none;
}
.text-expand.expanded {
	max-height: 100rem;
}
.toggle-text {
	font-weight: 600;
}

@media (min-width: 576px) {
	.buero-gallery {
		grid-template-columns: repeat(2, 1fr);
	}
	.buero-gallery .item-large {
		grid-column: span 2;
		aspect-ratio: 16 / 9;
	}
}

@media (min-width: 768px) {
	.milestone-line {
		left: 50%;
		transform: translateX(-50%);
	}

	.milestone-dot {
		left: 50%;
	}

	.milestone-card {
		margin-left: 0;
		max-width: none;
	}
}

@media (min-width:992px) {
	.navbar-expand-md .navbar-nav {
		gap: 1rem;
	}

	.buero-gallery {
		grid-template-columns: 1.4fr 1fr 1fr;
	}
	.buero-gallery .item {
		aspect-ratio: auto;
		height: auto;
	}
	.buero-gallery .item-large {
		grid-row: span 2;
		grid-column: auto;
	}
}

@media (min-width:1200px) {
	.navbar-expand-md .navbar-nav {
		gap: 2rem;
	}
}

@media (min-width:1200px) {
	.navbar-expand-md .navbar-nav {
		gap: 2rem;
	}
}
