/* Globale Anpassungen */
/* grün rgb(133, 186, 63) */
/* header, .header, footer, .footer {
    background-color: rgb(152, 151, 151) !important;
} */


/* 
   Primary Color - Blau (vom Skin übernommen) 
   Damit bg-primary auch wirklich das Skin-Blau ist und nicht vom Template überschrieben wird.
*/
.bg-primary {
    background-color: #0079fc !important;
}
.text-primary {
    color: #0079fc !important;
}
.btn-primary {
    background-color: #0079fc !important;
    border-color: #0079fc !important;
    color: #ffffff !important;
}

/* 
   Secondary Color - Grün (Deine Wunschfarbe)
*/
.bg-secondary {
    background-color: rgb(133, 186, 63) !important;
}
.text-secondary {
    color: rgb(133, 186, 63) !important;
}
.btn-secondary {
    background-color: rgb(133, 186, 63) !important;
    border-color: rgb(133, 186, 63) !important;
    color: #ffffff !important;
}

/* Zentriert das Icon (Pfeil) innerhalb des Kreises */
.button.icon-color i {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
}

/* Transparente Variante der Sekundärfarbe (10% Deckkraft) für Platzhalter */
.bg-secondary-soft {
    background-color: rgba(133, 186, 63, 0.1) !important;
}

/* Owl Carousel Navigation sichtbar machen */
.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff !important;
    color: #333 !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 100;
    font-size: 20px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.owl-carousel .owl-nav .owl-prev { left: 0px; }
.owl-carousel .owl-nav .owl-next { right: 0px; }

.owl-carousel .owl-nav .owl-prev:hover,
.owl-carousel .owl-nav .owl-next:hover {
    background: rgb(133, 186, 63) !important; /* Secondary Color */
    color: #fff !important;
}

/* ============================================================
   Pricing Comparison Table
   ============================================================ */

.pc-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    box-shadow: 0 4px 28px rgba(0,0,0,0.09);
}

.pc-table {
    width: 100%;
    table-layout: fixed;   /* feste Spaltenbreiten – kein Kollaps bei eingeklappten Gruppen */
    border-collapse: collapse;
    min-width: 520px;
    background: #fff;
}

/* --- Header Row --- */
.pc-table thead th {
    padding: 36px 24px 28px;
    text-align: center;
    vertical-align: bottom;
    background: #fff;
    border-bottom: 2px solid #f0f0f0;
}

/* Feature-Spalte: feste Breite; Rest teilen sich die Abo-Spalten gleichmäßig */
.pc-hdr-feature {
    text-align: left !important;
    width: 32%;
}

/* --- "Empfohlen"-Ribbon (Diagonalband wie zuvor) --- */
.pc-featured {
    position: relative;
    overflow: hidden;
    background: #f0f7ff;
    border-top: 3px solid #0079fc;
    border-left: 1px solid #cce0ff;
    border-right: 1px solid #cce0ff;
}

.pc-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    overflow: hidden;
    pointer-events: none;
}

.pc-ribbon span {
    position: absolute;
    display: block;
    width: 150px;
    padding: 7px 0;
    background-color: #0079fc;
    box-shadow: 0 3px 8px rgba(0,121,252,.25);
    color: #fff;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-align: center;
    right: -30px;
    top: 22px;
    transform: rotate(45deg);
}

/* --- Abo Titel & Beschreibung --- */
.pc-abo-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.pc-abo-desc {
    font-size: 0.78rem;
    color: #b0b0b0;
    margin-bottom: 16px;
    line-height: 1.45;
    font-weight: 400;
}

/* --- Preis --- */
.pc-price-block {
    border-top: 1px solid #f0f0f0;
    padding-top: 14px;
    margin-bottom: 4px;
}

.pc-featured .pc-price-block {
    border-top-color: #cce0ff;
}

.pc-price-val {
    font-size: 2rem;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.5px;
}

.pc-price-req {
    font-size: 1rem;
    font-weight: 600;
    color: #555;
}

.pc-price-period {
    font-size: 0.82rem;
    font-weight: 400;
    color: #bbb;
}

/* --- Featured Column (Datenzellen) --- */
.pc-featured-col {
    background: #f6f9ff !important;
    border-left: 1px solid #cce0ff;
    border-right: 1px solid #cce0ff;
}

/* --- Group Header Rows --- */
.pc-group-hdr td {
    background: #f8f9fa;
    padding: 9px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    user-select: none;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
}

.pc-group-hdr:hover td {
    background: #f0f1f3;
}

.pc-chevron {
    margin-right: 8px;
    font-size: 0.7rem;
    transition: transform 0.2s ease;
    display: inline-block;
    color: #999;
}

.pc-grp-collapsed .pc-chevron {
    transform: rotate(-90deg);
}

.pc-all-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #388e3c;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 20px;
    margin-left: 10px;
    vertical-align: middle;
    text-transform: none;
    letter-spacing: 0;
}

/* --- Feature Rows --- */
.pc-row td {
    padding: 10px 20px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.88rem;
    color: #555;
    vertical-align: middle;
}

.pc-cell-label { text-align: left; }

.pc-cell-val { text-align: center; }

.pc-check { color: #4caf50; font-size: 1rem; }
.pc-dash  { color: #ccc; font-size: 1.1rem; }
.pc-num   { font-weight: 700; color: #333; }

.pc-info-icon {
    color: #ccc;
    font-size: 0.72rem;
    margin-left: 3px;
    cursor: help;
}

.pc-row:hover td { background: #fafafa; }
.pc-row:hover .pc-featured-col { background: #eef5ff !important; }

/* --- Single-Card Feature List --- */
.pf-list { padding: 10px 0; }

.pf-group {
    font-size: 0.75rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 20px 5px;
    border-top: 1px solid #f0f0f0;
    margin-top: 8px;
}

.pf-group:first-child { border-top: none; margin-top: 0; }

.pf-collapsible {
    cursor: pointer;
    user-select: none;
}

.pf-collapsible:hover { color: #666; }

.pf-chevron {
    margin-right: 6px;
    font-size: 0.68rem;
    transition: transform 0.2s;
    display: inline-block;
}

.pf-collapsed .pf-chevron { transform: rotate(-90deg); }

.pf-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 20px;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.4;
}

.pf-yes  { color: #4caf50; flex-shrink: 0; }
.pf-no   { color: #ccc; font-size: 1.1rem; flex-shrink: 0; width: 14px; text-align: center; }
.pf-info-icon { color: #ccc; font-size: 0.72rem; cursor: help; }

/* Preview Mode Bar */
.preview-mode-bar {
    background-color: #e67e22 !important; /* Orange Warnfarbe */
    color: #ffffff !important;
    padding: 10px 0;
    font-size: 14px !important;
    position: relative;
    z-index: 10000;
}

.preview-mode-bar a {
    color: #ffffff !important;
    text-decoration: underline;
}

/* 
   Desktop: Header Transparent machen (wie 'fancy'), aber Basis ist 'default' 
   damit es auf Mobile (dort greift 'default') korrekt funktioniert.
*/
@media (min-width: 992px) {
    .header-transparent-desktop {
        position: absolute !important;
        background-color: transparent !important;
        width: 100%;
        top: 0;
        z-index: 999;
        border-bottom: none !important;
        box-shadow: none !important;
    }
    
    /* Menü-Links weiß auf Desktop (da Hintergrund transparent/dunkel) */
    .header-transparent-desktop .menu-links > li > a {
        color: #ffffff !important;
    }
    
    /* Hover/Active Farbe im Menü */
    .header-transparent-desktop .menu-links > li.active > a,
    .header-transparent-desktop .menu-links > li:hover > a {
        color: #0079fc !important;
    }
    
    /* Topbar Text weiß auf Desktop */
    .header-transparent-desktop .topbar,
    .header-transparent-desktop .topbar a, 
    .header-transparent-desktop .topbar i {
        color: #ffffff !important;
        background-color: transparent !important;
    }
}

/* Pricing Ribbon */
.pricing-table {
    position: relative;
    overflow: hidden;
}

.pricing-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    overflow: hidden;
    z-index: 9;
}

.pricing-ribbon span {
    position: absolute;
    display: block;
    width: 225px;
    padding: 10px 0;
    background-color: #0079fc;
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    text-align: center;
    left: -25px;
    top: 30px;
    transform: rotate(45deg);
}

/* Social Share CTA */
.notenheld-share-cta .share-box {
    background-color: #f5f9ff; /* Leichtes Blau passend zum Theme */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.notenheld-share-cta .share-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

@media (min-width: 992px) {
    .notenheld-share-cta .share-buttons {
        justify-content: flex-end;
    }
}

.notenheld-share-cta .share-buttons .button {
    margin: 0;
    display: inline-flex;
    align-items: center;
    position: relative !important; /* Verhindert Überlappung durch Theme-Styles */
    top: auto !important;
    left: auto !important;
    width: auto !important;
}

/* Markenfarben für CTA Buttons */
.btn-whatsapp:hover { background-color: #25D366 !important; border-color: #25D366 !important; color: white !important; }
.btn-facebook:hover { background-color: #1877F2 !important; border-color: #1877F2 !important; color: white !important; }
.btn-linkedin:hover { background-color: #0A66C2 !important; border-color: #0A66C2 !important; color: white !important; }
.btn-teams:hover { background-color: #6264A7 !important; border-color: #6264A7 !important; color: white !important; }
.btn-instagram:hover { background-color: #E1306C !important; border-color: #E1306C !important; color: white !important; }
.btn-email:hover { background-color: #888888 !important; border-color: #888888 !important; color: white !important; }

/* Container Design */
.nh-share-bar {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0; /* Gap wird nun intern geregelt */
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nh-share-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nh-share-toggle i {
    font-size: 16px;
    color: #0079fc;
}

.nh-share-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    color: #888;
    text-align: center;
    margin-bottom: 0;
    margin-right: 0;
    cursor: pointer;
}

.nh-share-items {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-left: 0;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.nh-share-bar.expanded .nh-share-items {
    max-width: 500px;
    margin-left: 15px;
    opacity: 1;
    transform: translateX(0);
}

/* Icons Basis */
.nh-share-item {
    width: 32px; /* Größe für Desktop erhöht */
    height: 32px; /* Größe für Desktop erhöht */
    border-radius: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white !important;
    font-size: 18px; /* Schriftgröße für Desktop erhöht */
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Farben der Netzwerke */
.wa { background-color: #25D366; }
.teams { background-color: #4B53BC; } /* Teams Blau/Lila */
.mail { background-color: #55acee; }
.fb { background-color: #1877F2; }
.li { background-color: #0077B5; }
.copy { background-color: #6e6e6e; }
.insta { background-color: #E1306C; }

.nh-share-item:hover {
    transform: scale(1.15); /* Vereinfachter Hover-Effekt */
}

/* --- MOBILE ANSICHT (Sticky Bottom Bar) --- */
@media (max-width: 767px) {
    .nh-share-bar {
        right: 0;
        bottom: 0;
        left: 0;
        transform: none;
        border-radius: 20px 20px 0 0;
        padding: 0;
        width: 100%;
        border-left: none;
        border-right: none;
        border-bottom: none;
        cursor: default;
    }
    
    .nh-share-toggle { display: none; }
    
    .nh-share-items {
        display: flex;
        opacity: 1;
        transform: none;
        margin-left: 0;
        width: 100%;
        justify-content: space-around;
        padding: 12px 5px;
        max-width: none;
        overflow: visible;
    }
    
    .nh-share-item {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .nh-share-item:hover {
        transform: translateY(-5px);
    }
}

/* Instagram Share Box */
.instagram-share-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
    border-left: 5px solid #E1306C; /* Instagram Gradient-Start */
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.instagram-share-icon i {
    font-size: 40px;
    color: #E1306C;
}

.instagram-share-content p {
    margin-bottom: 5px;
    font-size: 15px;
    line-height: 1.5;
}

.instagram-share-content p strong {
    color: #333;
}

.instagram-share-action .button {
    margin: 0;
}

/* Mobile Anpassung */
@media (max-width: 767px) {
    .instagram-share-box {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .instagram-share-action .button {
        width: 100%;
    }
}
