

h4 {
    color: var(--infinite_gray_dark);    
}

.special_frame h4 {
    color: #ffffff !important;
}

/* ------------------------------------------------------------------------------------ 
   ______ ____  ____   ______ ____   ___     __  ___ ______ 
  /_  __// __ \/ __ \ / ____// __ \ /   |   /  |/  // ____/ 
   / /  / / / / /_/ // /_   / /_/ // /| |  / /|_/ // __/    
  / /  / /_/ / ____// __/  / _, _// ___ | / /  / // /___    
 /_/   \____/_/    /_/    /_/ |_|/_/  |_|/_/  /_//_____/    
                                                            
/* ------------------------------------------------------------------------------------ */

#menu_bar_background {
    background-color: var(--infinite_tango) !important;
}

.topframe_menubar_sub a {
    background-color: var(--infinite_tango) !important;
    color: #ffffff !important;
}

.topframe_menubar_sub a:hover {
    background-color: #ffffff !important;
    color: var(--infinite_tango) !important;
}


/* ------------------------------------------------------------------------------------ 
   ______ ____   _   __ ______ ______ _   __ ______ ______ ____   ___     __  ___ ______ 
  / ____// __ \ / | / //_  __// ____// | / //_  __// ____// __ \ /   |   /  |/  // ____/ 
 / /    / / / //  |/ /  / /  / __/  /  |/ /  / /  / __/  / /_/ // /| |  / /|_/ // __/    
/ /___ / /_/ // /|  /  / /  / /___ / /|  /  / /  / /    / _, _// ___ | / /  / // /___    
\____/ \____//_/ |_/  /_/  /_____//_/ |_/  /_/  /_/    /_/ |_|/_/  |_|/_/  |_/ /_____/    
                                                                                        
/* ------------------------------------------------------------------------------------ */

#content_frame {
    background-color: var(--infinite_gray_light) !important;
    background-image: url('../graphics/agentur-infinite-contentframe-BG-ueber-uns.webp'); 
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: auto 1100px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* --- MASONRY GRID LAYOUT --- */
.flex_box_2col {
    display: block; 
    column-count: 2;
    column-gap: 20px;
    width: 100%;
}

/* --- REFERENZ BOX --- */
.reference_box {
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 40px;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    background-color: #000;
    width: 100%;
    margin-bottom: 20px;
    display: inline-flex;
    break-inside: avoid;
}

.reference_box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit; 
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -2;
}

.reference_box:hover::before {
    transform: scale(1.05);
}

.reference_box.lightbox-trigger {
    cursor: zoom-in;
}

.reference_box_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
    z-index: -1;
}

.reference_box_content {
    z-index: 2;
    text-align: left;
}

.reference_box_client {
    font-family: 'Unageo';
    font-weight: 300;
    font-size: 36px;
    line-height: 110%;
    color: white;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.reference_box_units_container {
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
}

.reference_box_unit {
    width: 106px;
    height: 28px;
    background-color: var(--infinite_gray_light) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Unageo';
    font-weight: bold;
    font-size: 15px;
    line-height: 100%;
    color: var(--infinite_gray_dark);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.color_unit_design:hover    { background-color: var(--unit_design) !important; color: white; }
.color_unit_marketing:hover { background-color: var(--unit_marketing) !important; color: white; }
.color_unit_digital:hover   { background-color: var(--unit_digital) !important; color: white; }
.color_unit_media:hover     { background-color: var(--unit_media) !important; color: white; }
.color_unit_print:hover     { background-color: var(--unit_druck) !important; color: white; }

/* --- DIE COUNTER --- */
.flex_box_2col_counter {
    background-color: var(--infinite_gray_dark);
    height: 200px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
    margin-bottom: 20px;
    display: inline-flex;
    break-inside: avoid;
}

.flex_box_2col_counter_number {
    font-family: 'Unageo';
    font-weight: bold;
    font-size: 100px;
    line-height: 100%;
    color: var(--infinite_tango);
    margin: 0;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: none !important;
    text-align: left;
}

.flex_box_2col_counter_text {
    font-family: 'Unageo';
    font-weight: 300;
    font-size: 22px;
    line-height: 110%;
    letter-spacing: 0.08em;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    text-align: right;
    text-shadow: none !important;
}

/* --- RESPONSIVE LOGIK --- */
@media (max-width: 1600px) {
    .flex_box_2col_counter_number { font-size: 80px; }
    .flex_box_2col_counter_text { font-size: 21px; }
}

@media (max-width: 1300px) {
    .flex_box_2col { column-count: 2; } /* Behält 2 Spalten bis 800px */
    .flex_box_2col_counter { height: 150px; }
    .flex_box_2col_counter_number { font-size: 60px; }
    .flex_box_2col_counter_text { font-size: 16px; }
    .reference_box_units_container { display: none; }
    .reference_box_client { margin-bottom: 0; }
}

@media (max-width: 800px) {
    .flex_box_2col { column-count: 1; column-gap: 0; }
    .reference_box { min-height: 400px; padding: 0 15px 15px 15px; }
    .flex_box_2col_counter { height: 100px; padding: 0 15px; }
    .flex_box_2col_counter_number { font-size: 40px; }
    .flex_box_2col_counter_text { font-size: 14px; }
}