/* =========================================================
   MUSTERÜBERSETZUNGEN (DE)
   ========================================================= */

:root {
    --muster-border: rgba(0, 0, 0, 0.1);
    --muster-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    --muster-soft-bg: rgba(217, 217, 217, 0.35);
}

.muster-page {
    background: #ffffff;
}

.muster-pad {
    padding-left: 2.5%;
    padding-right: 2.5%;
}

@media (min-width: 768px) {
    .muster-pad {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 992px) {
    .muster-pad {
        padding-left: 10% !important;
        padding-right: 10% !important;
    }
}

.muster-card {
    background: var(--muster-soft-bg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
}

.muster-audio i {
    color: #284b63;
}

.muster-toc .list-group-item {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s ease;
}

.muster-toc .list-group-item:hover {
    background: rgba(255, 255, 255, 1);
}

@media (min-width: 992px) {
    .muster-toc {
        position: sticky;
        top: 130px;
    }
}

.muster-item {
    scroll-margin-top: 125px;
}

.muster-sample-card {
    border: 1px solid var(--muster-border);
    border-radius: 16px;
    box-shadow: var(--muster-shadow);
    background: #ffffff;
    padding: 16px;
}

@media (min-width: 768px) {
    .muster-sample-card {
        padding: 20px;
    }
}

.muster-sample-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    padding: 2px 12px;
    background: #f8f9fa;
    font-size: 0.95rem;
    line-height: 1.2;
}

.muster-docpanel {
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 14px;
    background: #fbfbfb;
    padding: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.muster-dochead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 4px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.12);
}

.muster-count {
    font-size: 0.92rem;
    opacity: 0.8;
    white-space: nowrap;
}

.muster-carousel {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #f1f3f5;
}

.muster-carousel .carousel-inner {
    background: linear-gradient(180deg, #f7f7f7, #ececec);
}

.muster-image-link {
    display: block;
    padding: 10px;
    background: transparent;
}

.muster-doc-image {
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    display: block;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
    .muster-doc-image {
        max-height: 62vh;
    }
}

.muster-carousel .carousel-control-prev,
.muster-carousel .carousel-control-next {
    width: 36px;
    height: 36px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    border-radius: 999px;
    opacity: 0.85;
}

.muster-carousel .carousel-control-prev {
    left: 8px;
}

.muster-carousel .carousel-control-next {
    right: 8px;
}

.muster-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.muster-indicators.carousel-indicators {
    position: static;
    right: auto;
    bottom: auto;
    left: auto;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
}

.muster-indicators.carousel-indicators [data-bs-target] {
    min-width: 30px;
    width: auto;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: #ffffff;
    color: #212529;
    line-height: 1;
    font-size: 0.9rem;
    padding: 0 8px;
    margin: 0;
    text-indent: 0;
    overflow: visible;
    opacity: 1;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.muster-indicators.carousel-indicators .active {
    background: #212529;
    color: #ffffff;
    border-color: #212529;
}

.muster-docmeta {
    font-size: 0.92rem;
    opacity: 0.8;
}

.muster-empty {
    margin: 0;
    padding: 14px;
    border: 1px dashed rgba(0, 0, 0, 0.18);
    border-radius: 10px;
    background: #f8f9fa;
}
