/* ==========================================================================
   GENERELLES SETUP & HINTERGRUND
   ========================================================================== */
#content_frame {
  width: 100%;
  position: relative;
  overflow: hidden;
  /* Edler Verlauf von Dark-Gray zu Mittelgrau */
  background: linear-gradient(to bottom right, #1c1d1f 0%, #3a3c42 100%) !important;
}

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

:root {
    /* Unser neuer Cyan-zu-Türkis Gradient (wiederverwendbar) */
    --infinite_gradient_cyan: linear-gradient(to right, #00d2ff, #00b88c);
}

/* ==========================================================================
   RETAINER KARTEN (Das 3-Spalten Grid)
   ========================================================================== */
.retainer_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.retainer_card {
    background: linear-gradient(to bottom right, #000000, #4d4d4d);
	background-clip: padding-box;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.retainer_card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
	box-shadow: 0 0 20px rgba(0, 0, 0, 1);
}

/* Der Bestseller sticht hervor */
.rc_bestseller {
    /* 1. Hintergrund Verlauf & 3. Border Verlauf (Der CSS-Padding-Box Trick für runde Ecken) */
    background: 
        linear-gradient(to bottom right, #ffffff, #d2d2d2 ) padding-box, 
        var(--infinite_gradient_cyan) border-box;
    border: 1px solid transparent;
    transform: scale(1.05);
}

.rc_bestseller:hover {
    transform: scale(1.05) translateY(-10px);
    /* Box Shadow bleibt vom Hover aus .retainer_card bestehen */
}

/* ==========================================================================
   2. TEXTFARBEN FÜR DEN HELLEM BESTSELLER ANPASSEN
   ========================================================================== */
.rc_bestseller .rc_title,
.rc_bestseller .rc_desc,
.rc_bestseller .rc_features li {
    color: var(--infinite_gray_dark);
}

/* Subtitles und Stunden-Suffix (span) etwas gedimmter, aber auch dunkel */
.rc_bestseller .rc_subtitle,
.rc_bestseller .rc_hours span {
    color: rgba(30, 31, 34, 0.6); 
}

/* Feature-Trennlinien im hellen Paket (dunkles Dashed) */
.rc_bestseller .rc_features li {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
}
.rc_bestseller .rc_features li:last-child {
    border-bottom: none;
}


/* ==========================================================================
   3. & 4. GRADIENT HIGHLIGHTS IM BESTSELLER
   ========================================================================== */

/* 4. Die Linie unter dem Header mit unserem neuen Gradienten */
.rc_bestseller .rc_header {
    border-bottom: none; /* Alte solide Linie löschen */
    background: var(--infinite_gradient_cyan) bottom left no-repeat;
    background-size: 100% 1px; /* 1px Höhe wie eine normale Border */
}

/* 3. Stunden-Anzeige ("18-25 std.") im Cyan-Gradient */
.rc_bestseller .rc_hours {
    background: var(--infinite_gradient_cyan);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* 3. Die Checkmarks in den Listen im Cyan-Gradient */
.rc_bestseller .rc_features li::before {
    background: var(--infinite_gradient_cyan);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}


/* ==========================================================================
   STANDARD KARTEN (Die dunklen bleiben wie sie waren)
   ========================================================================== */

.rc_badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--infinite_gradient_cyan);
    color: #ffffff;
    font-family: 'RedHatDisplay', sans-serif;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 10px;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

/* Header (Title & Subtitle) */
.rc_header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.rc_title {
    font-family: 'RedHatDisplay', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.rc_subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    margin-top: 5px;
}

/* Body (Hours, Text, List) */
.rc_body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.rc_hours {
    font-family: 'RedHatDisplay', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--infinite_tango);
    text-align: center;
    margin-bottom: 20px;
}

.rc_hours span {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.rc_desc {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 30px;
}

.rc_features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.rc_features li {
    color: #ffffff;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
}

.rc_features li:last-child {
    border-bottom: none;
}

/* Eigener Checkmark per CSS für die dunklen Standard-Karten */
.rc_features li::before {
    content: "✓";
    color: var(--infinite_tango);
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.3rem;
}

/* Footer (Button) */
.rc_footer {
    margin-top: auto;
}

/* ==========================================================================
   BUTTONS (Editorial Style)
   ========================================================================== */
.btn_editorial {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    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, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
    z-index: -3;
}

.btn_bestseller::after {
    background: linear-gradient(90deg, #ADD8E6 0%, var(--infinite_tango) 100%);
}

.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;
}

/* ==========================================================================
   PREMIUM SHOWCASE BOX (Rules of the Game)
   ========================================================================== */
.premium_showcase_box {
    /* Hochwertiger heller Gradient */
    background: linear-gradient(135deg, #f8f9fa 0%, #c1c5c9 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 60px 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    border-radius: 8px; 
}

.premium_split_left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

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

.premium_headline {
    color: var(--infinite_gray_dark);
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.premium_text {
    color: var(--infinite_gray_dark);
    margin: 0;
}

.premium_rules_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.premium_rules_list li {
    color: var(--infinite_gray_dark);
    margin-bottom: 20px;
    position: relative;
    padding-left: 25px;
}

/* Letztes Element ohne Margin nach unten */
.premium_rules_list li:last-child {
    margin-bottom: 0;
}

.premium_rules_list li::before {
    content: "■";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--infinite_tango);
    font-size: 1.2rem;
}

/* Macht "Fair Use & Verfall" etc. automatisch Tango Orange */
.premium_rules_list li strong {
    color: var(--infinite_tango);
    font-weight: 800;
}

.premium_rules_image {
    width: 100%;
    max-width: 80%; /* 80% der rechten Spalte = 40% der gesamten Showcase-Box */
    height: auto;
}

/* ==========================================================================
   CTA FRAME (Basis Layout)
   ========================================================================== */
.cta_frame_section {
    text-align: center;
    background: url('../graphics/infinite-werbeagentur-oberoesterreich-leistungen-intro-background.webp') no-repeat center center;
    background-size: cover;
}

.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;
}

.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;
}

.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;
}

.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; }
}

.faq_frame {
  background-color: #A97F42;
}

.faq_item {
  border-left: 4px solid #000000;
}

.faq_question {
  color: #A97F42;
}

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

/* 1. Breakpoint: 1440px */
@media screen and (max-width: 1440px) {
    .retainer_grid { gap: 20px; }
    .retainer_card { padding: 30px 20px; }
    .rc_title { font-size: 1.8rem; }
    .rc_hours { font-size: 2.2rem; }
    
    .premium_headline { font-size: 2.1rem; }
    .cta_frame_headline { font-size: 36px; }
    .btn_tango_animated_border { font-size: 22px; }
}

/* 2. Breakpoint: 1000px */
@media screen and (max-width: 1000px) {
    /* Grid zu einer Spalte umbauen */
    .retainer_grid { grid-template-columns: 1fr; gap: 40px; }
    
    /* Bestseller-Skalierung auf Mobile aufheben (wirkt sonst komisch) */
    .rc_bestseller { transform: none; }
    .rc_bestseller:hover { transform: translateY(-10px); }

    .premium_showcase_box { flex-direction: column; text-align: left; padding: 40px 30px; gap: 30px; }
    .premium_split_right { justify-content: center; width: 100%; }
	.premium_rules_image {
        max-width: 60%; /* Auf Mobile zentriert und etwas präsenter */
    }

    .premium_headline { font-size: 1.8rem; }
    
    .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; }
    .premium_headline { font-size: 1.4rem; }
	
	.premium_rules_image {
        max-width: 80%; 
    }
	
	.btn_editorial { font-size: 18px; padding: 14px 20px; }
    
    .cta_frame_headline { font-size: 24px; }
    .btn_tango_animated_border { font-size: 18px; padding: 15px 30px; }
	
	.rc_features li {
		padding: 8px 0;
	}
}