/*
 * widgets-icons.css — Phase-4.5f.5-Split aus main.css ausgegliedert.
 *
 * Enthaelt:
 *   - Sektion 8: Icons (.social-list, .ico-*, .fa, Hover-Effekte)
 *   - Sektion 9: Images & Hover Animation (.image-wrapper, .zoom-in, .overlay)
 *
 * Geladen auf ALLEN Pages (Site-weit verwendet).
 */


/* =8. Icons
--------------------------------------------------------------------------------------------------------*/
.social-list {
    padding-bottom: 10px;
    padding-top: 10px;
    margin: 0;
    font-size: 0;
}

.social-list li {
    display: inline-block;
    padding: 0 8px 0 0;
    position: relative;
}

.centered .social-list li {
    padding: 0 4px;
}

.social-list li a i {
    color: #333;
    opacity: 0.7;
    font-size: 17px;
}

.social-list li a:hover i {
    opacity: 1;
}

.social-list.custom li {
    display: block;
    padding: 1px 0;
}

.social-list.custom li a i {
    float: left;
    position: relative;
    top: 16px;
    width: 25px;
}

nav .social-list {
    position: relative;
    width: auto;
    text-align: left;
}

nav .social-list li {
    padding: 0;
    display: inline-block;
}

nav .social-list li a {
    border: 0 !important;
    margin: 0 !important;
    margin-right: 15px !important;
}

nav .social-list li a i, #footer .social-list li a i {
    color: rgba(43, 43, 43, 0.6);
    margin: 0 !important;
}

nav .social-list li a:hover i, #footer .social-list li a:hover i {
    color: rgba(43, 43, 43, 1);
}

.social-list.alignright li {
    padding: 0 0 0 10px
}

i.fa {
    margin-right: 3px;
    color: #fff
}

nav i.fa {
    opacity: 0.7;
}

nav a:hover i.fa {
    opacity: 1;
}

p i.fa {
    color: #888;
}

.white-text i.fa {
    color: #fff;
}

header .social-list {
    position: relative;
    float: right;
    right: 0;
    top: 6px;
}

header .social-list i.fa {
    opacity: 0.7;
    color: #fff !important;
}

header .social-list i.fa:hover {
    opacity: 1;
}

header .social-list li {
    text-align: center;
    padding: 0 7px;
}

.icons {
    position: relative;
    height: 42px;
    width: 42px;
    margin-top: 25px;
    margin-bottom: 15px;
    display: inline-block;
}

/* End Icons
--------------------------------------------------------------------------------------------------------*/


/* =9. Images & Hover Animation
--------------------------------------------------------------------------------------------------------*/
img {
    width: 100%;
    display: block;
    max-width: 100%;
    z-index: 9;
}

/* Phase 4.5h: object-fit:cover NUR fuer explizite Crop-Container, nicht
 * global. Vorher global auf img gesetzt, was Bilder in WP-Gutenberg-Bloecken
 * (wp-block-media-text, wp-block-image, wp-block-cover, wp-block-gallery)
 * crop't hat statt sie zu inhalten. Crop-Wrapper sind solche mit fester
 * max-height + overflow:hidden (.image-wrapper, .element, .pluslink,
 * .header-teaserbox, .hero) sowie die .zoom-in-Klasse direkt am img. */
.image-wrapper img,
.zoom-in,
.element img,
.pluslink img,
.header-teaserbox img,
.hero img {
    object-fit: cover;
}

.image-wrapper {
    position: relative;
    max-height: 187px;
    overflow: hidden;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: stretch;
}

.overlay {
    display: block;
    z-index: 9;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: unset;
    width: 100%;
    height: 100%;
    transition: background 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s;
}

a:hover .overlay {
    transition: background 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s;
    background: rgba(0, 0, 0, 0.0);
}

.zoom-in {
    width: 100%;
    height: 100%;
    max-width: none;
    filter: none;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s;
}

.element:hover .zoom-in {
    transform: scale3d(1.04, 1.04, 1);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s;
    filter: none;
}

.boxed {
    background: #333;
    padding: 10px 15px;
    color: #333 !important;
    display: inline-block;
    position: absolute;
    left: 0;
    bottom: 0;
    margin: 0;
    z-index: 9;
}

a:hover .boxed {
    background: #242729;
}

.boxed-wrapper {
    background: #1e2122b0;
    color: #fff !important;
    display: inline-block;
    position: absolute;
    left: 0;
    bottom: 0;
    margin: 0;
    z-index: 9;
    width: 580px;
    padding: 71px 75px 52px;
}

.boxed-wrapper p {
    font-size: 20px !important;
    line-height: 28px !important;
    font-weight: 400 !important;
}

.parent .boxed-wrapper {
    left: 10px;
}


/* End Images & Hover Animation
--------------------------------------------------------------------------------------------------------*/
