/* Projekt-Anpassungen zu Bootstrap 5 – Farben über Bootstrap-Variablen steuern */
:root {
	--bs-primary: #0b6e8a;
	--bs-primary-rgb: 11, 110, 138;
	--bs-link-color: #0b6e8a;
	--bs-link-color-rgb: 11, 110, 138;
	--bs-link-hover-color: #08566c;
	--bs-link-hover-color-rgb: 8, 86, 108;
}
[data-bs-theme="dark"] {
	--bs-primary: #4fb3cf;
	--bs-primary-rgb: 79, 179, 207;
	--bs-link-color: #4fb3cf;
	--bs-link-color-rgb: 79, 179, 207;
	--bs-link-hover-color: #7cc8dd;
	--bs-link-hover-color-rgb: 124, 200, 221;
}
.btn-primary {
	--bs-btn-bg: var(--bs-primary);
	--bs-btn-border-color: var(--bs-primary);
	--bs-btn-hover-bg: #08566c;
	--bs-btn-hover-border-color: #08566c;
	--bs-btn-active-bg: #064557;
	--bs-btn-active-border-color: #064557;
	--bs-btn-disabled-bg: var(--bs-primary);
	--bs-btn-disabled-border-color: var(--bs-primary);
}
.btn-outline-primary {
	--bs-btn-color: var(--bs-primary);
	--bs-btn-border-color: var(--bs-primary);
	--bs-btn-hover-bg: var(--bs-primary);
	--bs-btn-hover-border-color: var(--bs-primary);
	--bs-btn-active-bg: var(--bs-primary);
	--bs-btn-active-border-color: var(--bs-primary);
}
.nav-pills { --bs-nav-pills-link-active-bg: var(--bs-primary); }
.pagination { --bs-pagination-active-bg: var(--bs-primary); --bs-pagination-active-border-color: var(--bs-primary); }

/* Startseite */
.hero-img { height: clamp(18rem, 55vh, 34rem); object-fit: cover; }
.hero-placeholder { background: linear-gradient(135deg, #0b6e8a, #20c997); }
.hero-placeholder-2 { background: linear-gradient(135deg, #6f42c1, #0b6e8a); }
.hero-placeholder-3 { background: linear-gradient(135deg, #0d6efd, #6610f2); }
.carousel-caption { text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; font-size: 1.5rem; }

/* Inhaltsseiten */
.sidebar-card { top: 6rem; }
.article-body img { max-width: 100%; height: auto; }
section[id] { scroll-margin-top: 5rem; }

/* Baukasten (DCE) – Website */
.dce-schmal { max-width: 860px; }
.dce-gross { padding-top: 5rem; padding-bottom: 5rem; }
.dce-modul + .dce-modul { margin-top: 1.5rem; }
.dce-modul > :last-child, .dce-text > :last-child { margin-bottom: 0; }
.dce-seitenleiste .dce-modul + .dce-modul { margin-top: 1rem; }
.dce-w-75 { width: 75%; }
.dce-w-50 { width: 50%; }
@media (max-width: 767.98px) { .dce-w-75, .dce-w-50 { width: 100%; } }
.dce-karussell-bild { height: 26rem; object-fit: cover; }
.dce-hoehe-s .dce-karussell-bild { height: 18rem; }
.dce-hoehe-l .dce-karussell-bild { height: clamp(22rem, 65vh, 40rem); }
.dce-karussell .carousel-caption { text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.dce-verlauf-1, .dce-verlauf-4 { background: linear-gradient(135deg, #0b6e8a, #20c997); }
.dce-verlauf-2, .dce-verlauf-5 { background: linear-gradient(135deg, #6f42c1, #0b6e8a); }
.dce-verlauf-3, .dce-verlauf-6 { background: linear-gradient(135deg, #0d6efd, #6610f2); }
.dce-platzhalter { background: repeating-linear-gradient(45deg, var(--bs-tertiary-bg), var(--bs-tertiary-bg) 10px, var(--bs-secondary-bg) 10px, var(--bs-secondary-bg) 20px); }
.dce-portrait { width: 4.5rem; height: 4.5rem; }
.dce-galerie-link img { transition: transform .3s; }
.dce-galerie-link:hover img { transform: scale(1.05); }
.dce-video-start { background: linear-gradient(135deg, #1b1f24, #0b6e8a); }
.text-bg-primary .dce-hinweis, .text-bg-dark .dce-hinweis { color: var(--bs-alert-color); }
.text-bg-dark .text-body-secondary, .text-bg-primary .text-body-secondary { color: rgba(255, 255, 255, .7) !important; }
.list-group-numbered > .list-group-item > .me-auto { margin-left: .35rem; }
