/* ==========================================================================
   GENERELLES SETUP & HINTERGRUND
   ========================================================================== */
#content_frame {
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #1c1d1f !important;
}

#content_frame::before {
  background-image: none;
}

.split_layout_container {
    display: flex;
    gap: 80px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

/* ==========================================================================
   LINKE SPALTE: NAVIGATION & SVG PFEIL
   ========================================================================== */
.split_nav {
    flex: 1; /* Fixt den Overflow Bug */
    display: flex;
    flex-direction: column;
}

.nav_item {
    display: flex;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav_num {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.4);
    margin-right: 30px;
    transition: color 0.3s ease;
}

.nav_title {
    font-size: 1.8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    transition: color 0.3s ease;
    flex-grow: 1;
}

/* Der neue SVG Pfeil */
.nav_arrow_svg {
    width: 24px;
    height: 24px;
    stroke: var(--infinite_tango);
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    margin-left: auto;
}

/* Hover & Active States für Navigation */
.nav_item:hover .nav_title {
    color: #ffffff;
}

.nav_item:hover .nav_num {
    color: #ffffff;
}

.nav_item:hover .nav_arrow_svg {
    opacity: 1;
    transform: translateX(6px);
}

.nav_item.active .nav_num {
    color: var(--infinite_tango);
}

.nav_item.active .nav_title {
    color: #ffffff;
}

.nav_item.active .nav_arrow_svg {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   RECHTE SPALTE: CONTENT PANES
   ========================================================================== */
.split_content {
    flex: 1; /* Fixt den Overflow Bug */
    position: relative;
}

.content_pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.content_pane.active {
    position: relative;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.pane_headline {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 30px;
}

.pane_text {
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.inline_cluster_link {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: var(--infinite_tango);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: color 0.3s ease;
}

.inline_cluster_link:hover {
    color: var(--infinite_tango);
}

/* ==========================================================================
   CUSTOM CTA BUTTON (EDITORIAL INDEX)
   ========================================================================== */
.btn_editorial {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 800;
    z-index: 1;
    overflow: hidden;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.btn_editorial::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #ADD8E6 0%, var(--infinite_tango) 100%);
    z-index: -3;
}

.btn_editorial::before {
    content: '';
    position: absolute;
    inset: 1px;
    background-color: #1c1d1f;
    clip-path: polygon(19px 0, 100% 0, 100% calc(100% - 19px), calc(100% - 19px) 100%, 0 100%, 0 19px);
    z-index: -2;
}

.btn_editorial .btn_hover_fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 250%;
    height: 100%;
    background: linear-gradient(90deg, var(--infinite_tango) 0%, var(--infinite_tango) 40%, rgba(255, 0, 127, 0) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
}

.btn_editorial:hover .btn_hover_fill {
    transform: translateX(0%);
}

.btn_editorial .btn_text {
    position: relative;
    z-index: 2;
}

.btn_editorial .btn_arrow_icon {
    width: 20px;
    height: 20px;
    margin-left: 15px;
    stroke: var(--infinite_tango);
    transition: transform 0.4s ease, stroke 0.4s ease;
    z-index: 2;
}

.btn_editorial:hover .btn_arrow_icon {
    transform: translateX(6px);
    stroke: #ffffff;
}

/* ==========================================================================
   PREMIUM SHOWCASE BOX (Content-Breite, 50/50 Split)
   ========================================================================== */
.premium_showcase_box {
    background-color: var(--unit_digital);
    padding: 60px 40px;
    margin-top: 80px;
    display: flex;
    align-items: center;
    gap: 40px;
    border-radius: 8px; 
}

.premium_split_left {
    flex: 1;
    display: flex;
    flex-direction: column; /* FIX: Überschrift und Text jetzt untereinander */
    justify-content: center;
    align-items: flex-start;
}

.premium_split_right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.premium_headline {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.premium_text {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ==========================================================================
   PREMIUM IDLE BUTTON (Scharfe Kanten, 8s Sheen & Auffächernder Pfeil)
   ========================================================================== */
.btn_premium_idle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 30px 40px;
	width: 100%;
    background-color: #1c1d1f;
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    z-index: 1;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

/* Der durchlaufende Lichtreflex (Idle) - 8s langsam */
.btn_premium_idle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 85, 34, 0.6), transparent);
    transform: skewX(-20deg);
    animation: sheenIdle 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    z-index: -1;
}

@keyframes sheenIdle {
    0% { left: -100%; }
    60% { left: 200%; }
    100% { left: 200%; }
}

.btn_premium_idle:hover {
    background-color: var(--infinite_tango);
    border-color: var(--infinite_tango);
}

.btn_premium_idle:hover::before {
    animation: none;
    display: none;
}

.btn_premium_idle .btn_text {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Fanning Arrows (Auffächernder Pfeil mit Lauflicht)
   ========================================================================== */
.arrow_fanning {
    position: relative;
    width: 38px;
    height: 38px;
    margin-left: 15px;
    z-index: 2;
}

.arrow_fanning .btn_arrow_icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 38px;
    height: 38px;
    margin-left: 0;
    stroke: var(--infinite_tango);
    /* Transition für das sanfte Einblenden/Auffächern beim Start */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease, stroke 0.4s ease;
}

/* Default State (Nur Pfeil 1 ist sichtbar) */
.arr_1 { transform: translateX(0); opacity: 1; z-index: 3; }
.arr_2 { transform: translateX(0); opacity: 0; z-index: 2; }
.arr_3 { transform: translateX(0); opacity: 0; z-index: 1; }

/* Hover State - Aufgefächert & mit versetzter Lauflicht-Animation */
.btn_premium_idle:hover .arr_1 { 
    stroke: #ffffff; 
    /* Keine Verzögerung beim ersten Pfeil */
    animation: fanningPulse 1.2s infinite 0s; 
}

.btn_premium_idle:hover .arr_2 { 
    stroke: #ffffff; 
    transform: translateX(12px); 
    opacity: 1; /* Überschreibt die 0 von oben, damit die Animation übernehmen kann */
    /* 0.2 Sekunden verzögert */
    animation: fanningPulse 1.2s infinite 0.2s; 
}

.btn_premium_idle:hover .arr_3 { 
    stroke: #ffffff; 
    transform: translateX(24px); 
    opacity: 1;
    /* 0.4 Sekunden verzögert */
    animation: fanningPulse 1.2s infinite 0.4s; 
}

/* Die Lauflicht-Animation (Deckkraft pulsiert zwischen 30% und 100%) */
@keyframes fanningPulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}


/* ==========================================================================
   CTA FRAME (Basis Layout)
   ========================================================================== */
.cta_frame_section {
    text-align: center;
    background: linear-gradient(135deg, #323438 0%, #1c1d1f 100%);
}

.cta_frame_headline {
    font-size: 42px;
	font-weight: 300;
	letter-spacing: 4px;
    margin-bottom: 30px;
    color: var(--c_white);
	hyphens: none;
}

.cta_frame_text {
    color: var(--c_white);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* ==========================================================================
   GROSSER CTA BUTTON UNTEN (Animierter Shadow Glow im Idle)
   ========================================================================== */
.btn_tango_animated_border {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 45px;
    color: var(--c_white);
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    background: transparent;
	text-transform: uppercase;
    border: none;
    z-index: 1;
}

/* Animierter Glow-Shadow im Hintergrund (Idle) */
.btn_tango_animated_border::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, var(--infinite_tango), #1c1d1f, #ffffff, var(--infinite_tango), #1c1d1f);
    background-size: 400%;
    z-index: -2;
    filter: blur(8px);
    animation: glowingShadow 15s linear infinite;
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
}

/* Inneres dunkles Element */
.btn_tango_animated_border::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #1c1d1f;
    z-index: -1;
    transition: background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn_tango_animated_border span {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

/* Hover-Effekt: Glow verschwindet, Button füllt sich orange */
.btn_tango_animated_border:hover::before {
    opacity: 0;
}

.btn_tango_animated_border:hover::after {
    background-color: var(--infinite_tango);
}

@keyframes glowingShadow {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

/* ==========================================================================
   SHOWCASE FRAME OVERRIDES (H4 & Linien)
   ========================================================================== */
.showcase_frame h4 {
    color: var(--infinite_gray_dark) !important;
}

.showcase_frame h4 span {
    color: var(--infinite_gray_dark) !important;
}

.showcase_frame .h4_line_left {
    background: linear-gradient(90deg, transparent, var(--infinite_gray_dark)) !important;
}

.showcase_frame .h4_line_right {
    background: linear-gradient(90deg, var(--infinite_gray_dark), transparent) !important;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS - 3 SPRÜNGE
   ========================================================================== */

/* 1. Breakpoint: 1440px */
@media screen and (max-width: 1440px) {
    .split_layout_container { gap: 40px; }
    
    .pane_headline { font-size: 2.2rem; }
    .premium_headline { font-size: 2.1rem; }
    
    .btn_premium_idle {
        font-size: 24px;
        padding: 20px 32px;
    }
    
    .cta_frame_headline { font-size: 36px; }
    .btn_tango_animated_border { font-size: 22px; }
}

/* 2. Breakpoint: 1000px */
@media screen and (max-width: 1000px) {
    /* Layout Umbauten auf Spalten */
    .split_layout_container { flex-direction: column; gap: 40px; }
    .premium_showcase_box { flex-direction: column; text-align: left; padding: 40px 30px; gap: 30px; }
    .premium_split_right { justify-content: flex-start; width: 100%; }

    .pane_headline { font-size: 1.8rem; }
    .premium_headline { font-size: 1.8rem; }
    
    /* Button wird flächendeckend und behält Text links */
    .btn_premium_idle {
        font-size: 22px;
        padding: 18px 24px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .cta_frame_headline { font-size: 30px; }
    .btn_tango_animated_border { font-size: 20px; }
}

/* 3. Breakpoint: 600px */
@media screen and (max-width: 600px) {
    .premium_showcase_box { padding: 30px 20px; }
    
    .pane_headline { font-size: 1.5rem; }
    .premium_headline { font-size: 1.4rem; }
	
	.nav_title { font-size: 1.5rem }
	.btn_editorial { font-size: 20px; }
    
    .btn_premium_idle {
        font-size: 19px;
        padding: 14px 20px;
    }
    
    .cta_frame_headline { font-size: 24px; }
    .btn_tango_animated_border { font-size: 18px; }
}