/* ========================================
   RAUMWERK KLUNT - CSS STYLES
   Modern, Clean, Professional Design
   ======================================== */

/* ========================================
   1. VARIABLES & RESET
   ======================================== */

:root {
    --light: #EEEEEE;
    --mid: #686D76;
    --dark: #373A40;
    --orange: #DC5F00;
    --white: #FFFFFF;
    --overlay: rgba(55, 58, 64, 0.8);
    --overlay-light: rgba(55, 58, 64, 0.6);

    --container-width: 1200px;
    --section-padding: 80px 0;
    --section-padding-mobile: 60px 0;
    --card-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* ========================================
   2. UTILITY CLASSES
   ======================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.section.bg-light {
    background-color: var(--light);
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--mid);
    text-align: center;
    margin-bottom: 50px;
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

.section-cta p {
    font-size: 1.2rem;
    color: var(--mid);
    margin-bottom: 20px;
}

/* ========================================
   3. BUTTONS
   ======================================== */

.cta-button,
.cta-primary,
.cta-secondary {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    text-align: center;
}

.cta-button,
.cta-primary {
    background-color: var(--orange);
    color: var(--white);
}

.cta-button:hover,
.cta-primary:hover {
    background-color: #c55400;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 95, 0, 0.3);
}

.cta-secondary {
    background-color: var(--orange);
    color: var(--white);
    border: 2px solid var(--orange);
}

.cta-secondary:hover {
    background-color: var(--white);
    color: var(--orange);
    border-color: var(--white);
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
}

/* Button Icon (für Telefon etc.) */
.btn-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
    display: inline-block;
}

.cta-secondary:hover .btn-icon {
    filter: invert(48%) sepia(98%) saturate(1000%) hue-rotate(360deg) brightness(90%);
}

/* ========================================
   4. HEADER
   ======================================== */

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    z-index: 1000;
    transition: var(--transition);
}

#header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    min-height: 150px;
}

.logo {
    cursor: pointer;
    max-width: 450px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 140px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: darken;
    filter: brightness(1.05) contrast(1.1);
}

#nav ul {
    display: flex;
    gap: 35px;
}

#nav a {
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
    position: relative;
}

#nav a:hover {
    color: var(--orange);
}

#nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--orange);
    transition: width 0.3s ease;
}

#nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   5. HERO SECTION
   ======================================== */

#hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 150px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.hero-text {
    font-size: clamp(1rem, 3vw, 1.3rem);
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--white);
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0.8;
}

.scroll-indicator:hover {
    opacity: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================
   6. LEISTUNGEN SECTION
   ======================================== */

.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.leistung-card {
    background-color: var(--white);
    border-radius: var(--card-radius);
    padding: 40px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
}

.leistung-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-bottom: 4px solid var(--orange);
}

.leistung-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.leistung-icon img {
    width: 100%;
    height: 100%;
}

.leistung-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.leistung-card > p {
    color: var(--mid);
    margin-bottom: 25px;
    line-height: 1.8;
}

.feature-list {
    text-align: left;
    margin-bottom: 20px;
}

.feature-list li {
    padding: 8px 0;
    color: var(--dark);
    position: relative;
    padding-left: 25px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}

.card-highlight {
    background-color: var(--light);
    padding: 15px;
    border-radius: 5px;
    font-weight: 500;
    color: var(--orange);
    margin-top: 20px;
}

/* ========================================
   7. TRUST BADGES
   ======================================== */

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.trust-badge {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: var(--card-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    flex: 1;
    min-width: 150px;
}

.trust-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.trust-icon img {
    width: 100%;
    height: 100%;
}

.trust-badge h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.trust-badge p {
    color: var(--mid);
    font-size: 0.95rem;
}

/* ========================================
   8. GALERIE
   ======================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--card-radius);
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, var(--overlay), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, var(--orange), transparent);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.95rem;
    opacity: 0.95;
}

.view-more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background-color: var(--white);
    color: var(--orange);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.gallery-item:hover .view-more {
    background-color: var(--orange);
    color: var(--white);
    transform: scale(1.05);
}

/* ========================================
   8B. PROJECT MODAL
   ======================================== */

.project-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow-y: auto;
    overflow-x: hidden;
    animation: fadeIn 0.3s ease;
    padding: 60px 20px;
}

.project-modal.active {
    display: block;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 60px;
    animation: slideDown 0.4s ease;
}

.modal-close {
    position: fixed;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10001;
    line-height: 1;
    background-color: rgba(0, 0, 0, 0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--orange);
    background-color: rgba(220, 95, 0, 0.3);
    transform: rotate(90deg);
}

.modal-gallery-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    background-color: var(--dark);
    border-radius: var(--card-radius);
}

.modal-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--card-radius);
    cursor: pointer;
    transition: var(--transition);
}

.modal-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    max-height: 400px;
    transition: transform 0.4s ease;
}

.modal-gallery-item:hover {
    transform: scale(1.02);
}

.modal-gallery-item:hover img {
    transform: scale(1.1);
}

.modal-gallery-item:first-child {
    grid-column: 1 / -1;
}

.modal-gallery-item:first-child img {
    aspect-ratio: 16/9;
    max-height: 500px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========================================
   9. ÜBER UNS
   ======================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--dark);
    line-height: 1.8;
}

.about-text .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--orange);
}

.about-highlight {
    background-color: var(--white);
    border-left: 4px solid var(--orange);
    padding: 25px;
    margin: 30px 0;
    border-radius: 5px;
}

.about-highlight h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.about-features {
    display: grid;
    gap: 15px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.check-icon {
    background-color: var(--orange);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--card-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.about-image-caption {
    background-color: var(--orange);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 5px;
    margin-top: -30px;
    margin-left: 20px;
    margin-right: 20px;
    position: relative;
    z-index: 10;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ========================================
   10. KONTAKT
   ======================================== */

.kontakt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 50px auto 0;
}

.kontakt-box {
    background-color: var(--light);
    border-radius: var(--card-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.kontakt-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.kontakt-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.kontakt-icon img {
    width: 100%;
    height: 100%;
}

.kontakt-box h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
}

.kontakt-features {
    text-align: left;
    margin-bottom: 30px;
}

.kontakt-features li {
    padding: 10px 0;
    color: var(--dark);
    position: relative;
    padding-left: 25px;
}

.kontakt-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}

.phone-number {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--mid);
}

.phone-number a {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--orange);
    transition: var(--transition);
}

.phone-number a:hover {
    color: var(--dark);
}

.kontakt-note {
    text-align: center;
    margin-top: 40px;
    color: var(--mid);
    font-style: italic;
}

/* ========================================
   11. FOOTER
   ======================================== */

#footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col p {
    line-height: 1.8;
    color: var(--light);
    margin-bottom: 10px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--light);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--orange);
    padding-left: 5px;
}

.footer-service-area {
    font-size: 0.95rem;
}

.footer-service-area small {
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--mid);
}

.footer-bottom p {
    color: var(--light);
    font-size: 0.9rem;
}

/* ========================================
   12. STICKY CHAT WIDGET
   ======================================== */

.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    min-width: 80px;
    height: 80px;
    padding: 0 20px;
    background-color: var(--dark);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(55, 58, 64, 0.4);
    z-index: 9999;
    transition: var(--transition);
    animation: pulse 2s infinite;
    border: 3px solid var(--orange);
}

.chat-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 95, 0, 0.6);
    animation: none;
}

.chat-icon {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    line-height: 1;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-icon .highlight-ki {
    color: var(--orange);
}

.chat-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    background-color: var(--dark);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 5px;
    white-space: nowrap;
    margin-bottom: 10px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    font-size: 0.9rem;
}

.chat-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border: 8px solid transparent;
    border-top-color: var(--dark);
}

.chat-widget:hover .chat-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Wellen-Animation für Chat-Widget */
.chat-widget::before,
.chat-widget::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    border: 3px solid var(--orange);
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: ripple 2s infinite;
}

.chat-widget::after {
    animation-delay: 1s;
}

@keyframes ripple {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.6;
    }
    100% {
        width: 160%;
        height: 160%;
        opacity: 0;
    }
}

/* ========================================
   13. RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .section {
        padding: var(--section-padding-mobile);
    }

    #nav {
        position: fixed;
        top: 120px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 120px);
        background-color: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        transition: left 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    #nav.active {
        left: 0;
    }

    #nav ul {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    #nav li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--light);
        padding-bottom: 15px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-content .cta-button {
        display: none;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero-ctas button {
        width: 100%;
        max-width: 300px;
    }

    .leistungen-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .modal-gallery-content {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }

    .modal-gallery-item:first-child {
        grid-column: 1;
    }

    .kontakt-grid {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        flex-wrap: wrap;
        gap: 15px;
    }

    .trust-badge {
        flex: 1 1 calc(50% - 15px);
        min-width: 140px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .chat-widget {
        min-width: 70px;
        height: 60px;
        padding: 0 15px;
        bottom: 20px;
        right: 20px;
    }

    .chat-icon {
        font-size: 1.1rem;
    }

    .chat-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .trust-badges {
        flex-direction: column;
        gap: 15px;
    }

    .trust-badge {
        flex: 1;
        min-width: 100%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .logo {
        max-width: 320px;
    }

    .logo img {
        height: 100px;
    }

    .header-content {
        min-height: 120px;
    }

    #hero {
        margin-top: 120px;
    }

    .modal-close {
        font-size: 2.5rem;
        top: 10px;
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .modal-gallery-item:first-child img {
        max-height: 300px;
    }

    .modal-gallery-item img {
        max-height: 250px;
    }

    .project-modal {
        padding: 40px 15px;
    }

    .modal-content {
        padding-top: 40px;
    }
}

/* ========================================
   13B. NICKI BRANDING
   ======================================== */

.highlight-ki {
    color: var(--orange);
    font-weight: 700;
}

/* Für weiße Buttons (cta-primary) - Hellgrau statt Gold */
.cta-primary .highlight-ki,
.chat-tooltip .highlight-ki {
    color: var(--light);
}

/* ========================================
   14. INSTAGRAM INTEGRATION
   ======================================== */

/* Option 2: Instagram Follow Button (Prominent) */
.instagram-follow-cta {
    text-align: center;
    margin: 40px 0;
}

.instagram-follow-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    color: var(--white);
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(131, 58, 180, 0.4);
    text-decoration: none;
}

.instagram-follow-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(131, 58, 180, 0.6);
}

.instagram-icon {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.follow-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
}

.follow-text strong {
    font-size: 1.3rem;
}

.follow-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.instagram-follow-button:hover .follow-arrow {
    transform: translateX(5px);
}

/* Option 1: Instagram Feed Grid */
.instagram-feed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 50px 0;
}

.feed-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--card-radius);
    aspect-ratio: 1;
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feed-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(131, 58, 180, 0.4);
}

.feed-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.feed-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 30px;
    color: var(--white);
    text-align: center;
}

.feed-placeholder svg {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.feed-placeholder p {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.95;
}

/* Option 3: Instagram Highlight Wall CTA */
.instagram-highlight-cta {
    text-align: center;
    margin-top: 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.1) 0%, rgba(253, 29, 29, 0.1) 50%, rgba(252, 176, 69, 0.1) 100%);
    border-radius: var(--card-radius);
}

.instagram-highlight-cta p {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 20px;
    font-weight: 500;
}

.cta-instagram {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    color: var(--white);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(131, 58, 180, 0.4);
    text-decoration: none;
}

.cta-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(131, 58, 180, 0.6);
}

/* Responsive Instagram */
@media (max-width: 768px) {
    .instagram-feed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .instagram-follow-button {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .instagram-icon {
        width: 28px;
        height: 28px;
    }

    .follow-text strong {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .instagram-feed-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feed-placeholder svg {
        width: 50px;
        height: 50px;
    }

    .feed-placeholder p {
        font-size: 0.9rem;
    }
}

/* Instagram Logo Style */
.instagram-logo-img {
    height: 2.5em;
    vertical-align: middle;
    display: inline-block;
    margin-left: 15px;
}

/* Video Grid - 3 Kacheln */
.instagram-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 50px 0;
}

.video-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--card-radius);
    aspect-ratio: 1;
    background: var(--dark);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.video-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(220, 95, 0, 0.3);
}

.video-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder-bts {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

.video-placeholder-bts .insta-icon {
    width: 80px;
    height: 80px;
    color: var(--white);
    opacity: 0.9;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(55, 58, 64, 0.95));
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.video-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

.video-desc {
    font-size: 0.85rem;
    color: var(--light);
    opacity: 0.9;
}

/* Instagram Embed Item */
.instagram-embed-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    overflow: hidden;
}

.instagram-embed-item .instagram-media {
    margin: 0 !important;
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

.instagram-embed-item iframe {
    border-radius: var(--card-radius) !important;
}

/* Responsive Video Grid */
@media (max-width: 768px) {
    .instagram-video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-item {
        aspect-ratio: 16/9;
    }

    .video-placeholder-bts .insta-icon {
        width: 60px;
        height: 60px;
    }
}

/* ========================================
   15. ANIMATIONS & SCROLL EFFECTS
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* GLightbox Custom Styles */
.glightbox-clean .gslide-description {
    background: var(--dark);
}

.glightbox-clean .gslide-title {
    color: var(--white);
    font-family: 'Poppins', sans-serif;
}

/* ========================================
   16. LEGAL PAGES STYLES
   ======================================== */

.legal-section {
    min-height: 60vh;
    padding-top: 200px;
    position: relative;
}

.legal-back-top {
    position: fixed;
    top: 180px;
    right: 30px;
    z-index: 100;
}

.legal-back-top .cta-button {
    padding: 12px 25px;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(220, 95, 0, 0.3);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 50px;
    border-radius: var(--card-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.legal-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--light);
}

.legal-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--mid);
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--dark);
}

.legal-content ul {
    list-style: disc;
    margin-left: 30px;
    margin-bottom: 20px;
}

.legal-content ul li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: var(--dark);
}

.legal-content a {
    color: var(--orange);
    text-decoration: underline;
    transition: var(--transition);
}

.legal-content a:hover {
    color: var(--dark);
}

.legal-back {
    text-align: center;
    margin-top: 50px;
}

.legal-update {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid var(--light);
    font-style: italic;
    color: var(--mid);
}

@media (max-width: 768px) {
    .legal-section {
        padding-top: 160px;
    }

    .legal-back-top {
        top: 140px;
        right: 15px;
    }

    .legal-back-top .cta-button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .legal-content {
        padding: 30px 20px;
    }

    .legal-content h2 {
        font-size: 1.5rem;
    }

    .legal-content h3 {
        font-size: 1.2rem;
    }
}
