/* Ergänzungen für die Produktarchitektur und regionale Website-Inhalte.
   Farben folgen Metronic; die Produktgrafik behält ihren weißen Bildgrund. */
.website-product-icon {
    display: block;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: .5rem;
    background: #fff;
}

.website-architecture-frame {
    border: 1px solid var(--bs-gray-300, #e1e3ea);
    background: #fff;
}

.website-architecture-image {
    display: block;
    width: 100%;
    height: auto;
}

.website-architecture-caption {
    border: 1px solid var(--bs-gray-200, #eff2f5);
    background: var(--bs-gray-100, #f9f9f9);
}

.website-learning-panel {
    background: var(--bs-gray-100, #f9f9f9);
}

.website-regional p,
.website-architecture-caption p {
    line-height: 1.65;
}

#pos-hero h1 {
    text-wrap: balance;
}

@media (max-width: 575.98px) {
    #pos-hero h1 .display-5 {
        font-size: clamp(1.8rem, 7.4vw, 2.4rem);
        line-height: 1.15;
    }

    .website-regional .btn {
        white-space: normal;
    }
}

#pos-architektur,
#rhein-main,
#insight {
    scroll-margin-top: 110px;
}

/* Original Insight screenshots inside clean, graphite monitor mockups. */
#insight .insight-mockups-column { min-width: 0; }
#insight .insight-mockups-gallery > .col-6 { display: flex; min-width: 0; }
#insight .insight-mockup-card {
    --insight-frame: #242a31;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: clamp(10px, 1.2vw, 17px);
    border: 1px solid var(--bs-border-color, #e4e6ef);
    border-radius: 12px;
    background: var(--bs-body-bg, #fff);
    box-shadow: 0 6px 24px rgba(16, 27, 38, .035);
}
#insight .insight-mockup-stage {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 124px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    background: radial-gradient(ellipse at 50% 82%, rgba(0, 65, 102, .045), transparent 66%);
}
#insight .insight-device {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    max-width: 360px;
    transform: perspective(1000px) rotateY(-3deg);
    transform-origin: 50% 100%;
}
#insight .insight-device__body {
    position: relative;
    z-index: 2;
    padding: clamp(4px, .55vw, 7px);
    padding-bottom: clamp(8px, .9vw, 12px);
    border: 1px solid #4e5862;
    border-radius: clamp(6px, .7vw, 10px);
    background: linear-gradient(140deg, #363e47 0%, var(--insight-frame) 34%, #14191f 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 2px 5px 9px rgba(17, 24, 31, .14);
}
/* Only empty source letterboxing is masked; the app artwork is never stretched. */
#insight .insight-device__screen {
    position: relative;
    height: 0;
    padding-top: var(--insight-screen-height, 56.25%);
    overflow: hidden;
    border-radius: clamp(2px, .3vw, 4px);
    background: #f0f0f2;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .5);
}
#insight .insight-device__screen > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    object-position: 50% var(--insight-screen-position, 50%);
}
#insight .insight-device__status {
    position: absolute;
    right: 8%;
    bottom: 3px;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: #63afc6;
}
#insight .insight-device__stand {
    position: relative;
    z-index: 1;
    display: block;
    width: 14%;
    height: clamp(12px, 1.4vw, 21px);
    margin: -1px auto 0;
    background: linear-gradient(90deg, #232931, #59616b 48%, #2b323a);
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, .12);
    transform: perspective(180px) rotateX(7deg);
}
#insight .insight-device__foot {
    position: relative;
    z-index: 2;
    display: block;
    width: 42%;
    height: clamp(4px, .5vw, 7px);
    margin: -1px auto 0;
    border: 1px solid #414952;
    border-radius: 50% / 45%;
    background: linear-gradient(#59616b, #272e36 70%);
    box-shadow: 0 5px 7px rgba(16, 24, 32, .16);
}
#insight .insight-mockup-caption { line-height: 1.55; }
#insight .insight-mockup-caption h3 { overflow-wrap: anywhere; }
#insight .insight-mockup-caption p { line-height: 1.6; }
[data-bs-theme="dark"] #insight .insight-mockup-card {
    border-color: var(--bs-border-color, #34373f);
    background: var(--bs-body-bg, #1b1c22);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}
[data-bs-theme="dark"] #insight .insight-mockup-stage {
    background: radial-gradient(ellipse at 50% 82%, rgba(119, 170, 192, .08), transparent 66%);
}
[data-bs-theme="dark"] #insight .insight-device__body {
    border-color: #65707c;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 2px 5px 9px rgba(0, 0, 0, .3);
}
@media (max-width: 575.98px) {
    #insight .insight-mockup-card { padding: 10px; border-radius: 10px; }
    #insight .insight-mockup-stage { margin-bottom: 12px; }
    #insight .insight-mockup-caption h3 { font-size: 1rem !important; }
}

