/*
 Theme Name:   Divi Child – Marmulla & Rudolph
 Theme URI:    https://www.marmulla-rudolph.de
 Description: Child Theme für den Website-Relaunch Marmulla & Rudolph
 Author:       Marmulla & Rudolph
 Author URI:   https://www.marmulla-rudolph.de
 Template:     Divi
 Version:      1.0.0
*/

/* Schauspieler Profil – Daten & Skills */

.profile-data {
  margin-bottom: 36px;
}

.profile-row {
  display: grid;
 grid-template-columns: 160px auto;
  column-gap: 16px;
  padding: 2px 0;
}

.profile-row + .profile-row {
  margin-top: 6px;
}

.profile-row .label {
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}

.profile-row .value {
  color: #222;
  line-height: 1.45;
}

/* GRID */
.klienten-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -4px;
}

.klient-item {
    width: 20%;
    padding: 4px;
    box-sizing: border-box;
    text-decoration: none;
    display: block;
}

/* IMAGE */
.klient-image {
    position: relative;
    overflow: hidden;
}

.klient-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* OVERLAY */
.klient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 8px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 19px;
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .klient-item { width: 25%; }
}

@media (max-width: 980px) {
    .klient-item { width: 33.333%; }
}

@media (max-width: 768px) {
    .klient-item { width: 50%; }
}

/* Sprachumschalter – Global Header */
.et_pb_menu .et-menu li.language-switch {
    margin-left: 22px;
    padding-left: 18px;
    border-left: 1px solid rgba(30, 74, 138, 0.3);
}

.et_pb_menu .et-menu li.language-switch > a {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.65;
    letter-spacing: 1px;
}

.et_pb_menu .et-menu li.language-switch > a:hover {
    opacity: 1;
}
/* Dropdown breiter */
.et_pb_menu .sub-menu {
    min-width: 220px;
}

/* Kein Umbruch bei langen Wörtern */
.et_pb_menu .sub-menu li a {
    white-space: nowrap;
}

/* Schauspieler Grid – eleganter Hover */

.klient-item {
    overflow: hidden;
}

.klient-item .klient-image img {
    transition: transform 0.4s ease;
}

.klient-item:hover .klient-image img {
    transform: scale(1.04);
}

/* Overlay weicher */
.klient-item .klient-overlay {
    transition: background-color 0.35s ease, opacity 0.35s ease;
}

.klient-item:hover .klient-overlay {
    background-color: rgba(30, 74, 138, 0.75);
}

/* weichere Gesamtwirkung */
.klient-item .klient-image {
    overflow: hidden;
}

.klient-item .klient-overlay {
    background-color: rgba(30, 74, 138, 0.55);
    transition: background-color 0.35s ease, opacity 0.35s ease;
}

.klient-item:hover .klient-overlay {
    background-color: rgba(30, 74, 138, 0.75);
}

/* Text etwas ruhiger */
.klient-overlay {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ===== FILTER NAVIGATION EDITORIAL ===== */

.klienten-filter {
    display: flex;
    gap: 36px;
    margin: 80px 0 45px 0;
    font-size: 18px;
}

.klienten-filter a {
    text-decoration: none;
    color: #1E4A8A;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.klienten-filter a:hover {
    opacity: 0.8;
}

.klienten-filter a.active {
    opacity: 1;
    font-weight: 600;
}

/* ===== FILTER MOBILE OPTIMIERUNG ===== */

@media (max-width: 768px) {

    .klienten-filter {
        gap: 20px;
        margin: 40px 0 30px 0;
        font-size: 15px;
        flex-wrap: wrap;
    }

    .klienten-filter a {
        opacity: 0.7;
    }

}

/* ===== MOBILE OVERLAY FEINSCHLIFF ===== */

@media (max-width: 768px) {

    .klient-overlay {
        font-size: 13px !important;
        line-height: 1.25 !important;
        padding: 6px 10px !important;
    }

}

/* ===== ACTIVE FILTER STATE ===== */

.klienten-filter a.active {
    color: #1E4A8A;
    font-weight: 600;
    opacity: 1;
}

.klienten-filter a:not(.active) {
    opacity: 0.6;
}

.klienten-filter a:not(.active):hover {
    opacity: 1;
}

/* =====
 * 
 * /* ===== STICKY FOOTER ===== */

html, body {
    height: 100%;
}

#page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#main-content {
    flex: 1;
}

/* ===== Minimaler Footer ===== */

footer {
    padding: 25px 0;
    font-size: 12px;
    opacity: 0.75;
}

footer a {
    text-decoration: none;
    opacity: 0.80;
    transition: opacity 0.2s ease;
}

footer a:hover {
    opacity: 1;
}