html {
    scroll-behavior: smooth;
}

/* --- Wrapper & Container --- */
.bears-wrapper { 
    margin: 75px 0; 
    font-family: sans-serif; 
    scroll-margin-top: 50px; 
    animation: bearsFadeIn 0.4s ease-out; 
}

@keyframes bearsFadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

.bears-container { 
    background: #fff; 
    padding: 40px; 
    border-radius: 12px; 
    border: 1px solid #eee; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    max-width: 1200px; 
    margin: auto; 
}

/* --- Top Row Layout (zweispaltig) --- */
.bears-top-row { 
    display: flex; 
    flex-wrap: nowrap; 
    gap: 40px; 
    align-items: flex-start; 
    margin-bottom: 50px; 
}

.bears-info-col { 
    flex: 0 0 33%;
    min-width: 300px;
}

/*
.bears-img-col { 
    flex: 0 0 66%;
    max-width: none;
    display: flex;
    justify-content: flex-end;
}
*/
.bears-img-col { 
    flex: 0 0 66%;
    max-width: none;
    display: flex;
    justify-content: flex-end;   /* Inhalt rechtsbündig */
    align-items: flex-start;
}

/*
#bears-main-media-wrapper {
    height: 400px;
    width: 100%;
    margin-left: auto;
    overflow: hidden;
}
*/

#bears-main-media-wrapper {
    height: 400px;
    width: auto;         /* nicht mehr 100% */
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
}

/* --- Main Media (Bild/Video) --- */
/*
#bears-main-media {
    display: block;
    width: 100%;      
    height: 100%;
    max-height: 400px;
    object-fit: contain;
}
*/

/* --- Main Media (Bild/Video) --- */
#bears-main-media {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: contain;
}

/*
.bears-img { 
    width: 100%;
    height: 400px;
    border-radius: 8px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    object-fit: contain; 
}
*/

.bears-img { 
    width: 100%;
    height: 400px;
    border-radius: 8px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    object-fit: contain;
}


/* --- Textbereiche --- */
.bears-page-title { 
    font-size: 32px; 
    font-weight: bold; 
    color: #444; 
    line-height: 1.2; 
}

.bears-number { 
    font-size: clamp(80px, 15vw, 150px); 
    font-weight: bold; 
    line-height: 0.8; 
    color: #000; 
    letter-spacing: -5px; 
}

.bears-number-label { 
    font-size: 10px; 
    color: #888; 
    text-transform: uppercase; 
    margin-top: 5px; 
    letter-spacing: 1px; 
}

.bears-counter {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    margin-top: 3px;
    letter-spacing: 1px;
    opacity: 0.8;
}

.bears-spacer { height: 32px; }

.bears-position { 
    font-size: 32px; 
    font-weight: bold; 
    color: #444; 
    line-height: 1.1; 
}

.bears-activity { 
    font-size: 24px; 
    color: #888; 
    margin-top: 5px; 
}

/* --- Footer (Zeile 2 & Zeile 3) --- */
.bears-footer { 
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr; 
    align-items: start; 
    border-top: 2px solid #f4f4f4; 
    padding-top: 40px; 
    gap: 20px; 
}

/* Medien-Zeile nutzt exakt das gleiche Grid */
.bears-footer.media-row {
    border-top: none;
    padding-top: 20px;
    margin-top: 20px;
}

.bears-nav-group { 
    display: flex; 
    flex-direction: column; 
}

.bears-nav-group.left { 
    align-items: flex-start; 
    text-align: left; 
}

.bears-nav-group.right { 
    align-items: flex-end; 
    text-align: right; 
}

.bears-center-group { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    align-items: center; 
}

/* --- Buttons --- */
.btn-pc { 
    text-decoration: none !important; 
    color: #fff !important; 
    background: #444; 
    border-radius: 24px; 
    font-weight: bold; 
    text-align: center; 
    align: center; 
    display: inline-block; 
    padding: 12px 15px; 
    font-size: 13px; 
    width: 240px; 
    max-width: 240px; 
    box-sizing: border-box; 
    transition: background 0.2s; 
    border: none; 
}

.btn-pc:hover { background: #222; }

.nav-label { 
    display: block; 
    font-size: 11px; 
    color: #666; 
    margin-top: 8px; 
    max-width: 240px; 
}

/* --- Tablet & Mobile Layout (<1280px): Alles stapeln, Medien 95% Breite --- */
@media (max-width: 1280px) {

    /* Top-Row wird gestapelt */
    .bears-top-row {
        flex-wrap: wrap;
        flex-direction: column;
        gap: 30px;
        text-align: center;
        align-items: center;
    }

    /* Info-Spalte zentriert */
    .bears-info-col {
        flex: 0 0 100%;
        text-align: center;
        min-width: 0;
    }

    /* Medien-Spalte zentriert */
    .bears-img-col {
        flex: 0 0 100%;
        width: 100%;
        max-width: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Medienblock nutzt 95% der Gerätebreite */
    #bears-main-media-wrapper {
        width: 95%;
        height: auto;
        margin: 0 auto;
    }

    /* Bild/Video skalieren */
    #bears-main-media,
    .bears-img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .bears-footer {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px 30px;
        justify-items: center;
        text-align: center;
    }

    .bears-nav-group {
        display: flex;
        flex-direction: column;
        align-items: center !important;
        text-align: center !important;
        width: 100%;
        max-width: 280px;
    }
}
