/* DIVIDERS */

.mobile-only {
    display: none;
}

@media (max-width: 767px) {

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: inline;
    }
}

/* NAV-SEPARATOR */

.nav-separator {
    border-left: 1px solid #ccc;
    height: 20px !important;
    margin: auto 10px !important;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .nav-separator {
        display: none !important;
    }
}

/* STARTSEITE */

/* Container für die QR-Code Preview */
.qrcode-preview {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Für ein bisschen Abstand zentriert */
    margin: 20px auto;
}

/* 3D-Effekt bei Hover: leichte Anhebung und Vergrößerung */
.qrcode-preview:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Glanzeffekt über ein Pseudo-Element */
.qrcode-preview::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: left 0.75s ease;
    pointer-events: none;
    /* verhindert, dass das Pseudo-Element Interaktionen blockt */
}

/* Beim Hover wird der Glanz von links nach rechts animiert */
.qrcode-preview:hover::after {
    left: 125%;
}

@media (max-width: 768px) {
    .hero-feature-icon {
        display: none !important;
    }

    .custom-pos-1 {
        top: 5em;
        left: 4.5em;
    }

    .custom-section-1 .custom-section-1-box {
        margin-bottom: -80px;
        min-height: 55vh;
    }

    .custom-project-list-item-1 {
        padding: 0;
        border: none;
    }

    .app-preview-image {
        display: none;
    }

    .office-preview-image {
        display: none;
    }

    .custom-decoration-2 {
        padding-top: 1%;
        padding-right: 4%;
    }

}

/* PORTFOLIO */

.app-section {
    margin-top: -250px;
}

@media (max-width: 768px) {
    .app-section {
        margin-top: 20px;
    }
}

/* ÜBER UNS */

.thumb-info .custom-text {
    display: none !important;
}

.thumb-info:hover .custom-text {
    display: block !important;
}

/* KONTAKT */

@media (max-width: 767px) {
    .contact-process-number {
        display: none;
    }
}

/* ============================================
   🚀 2025 WEB DESIGN TRENDS
   ============================================ */

/* 1. GLASSMORPHISM - Frosted Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
}

.glass-dark {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

/* 2. GRADIENT TEXT - Modern Gradient Headlines */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
    background: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 3. GLOW EFFECTS - Neon Glow on Hover */
.glow-on-hover {
    transition: all 0.3s ease;
}

.glow-on-hover:hover {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5),
                0 0 40px rgba(102, 126, 234, 0.3),
                0 0 60px rgba(102, 126, 234, 0.1);
}

.glow-text:hover {
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.8),
                 0 0 20px rgba(102, 126, 234, 0.6),
                 0 0 30px rgba(102, 126, 234, 0.4);
}

/* 4. FLOATING ANIMATION - Subtle Float Effect */
.float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.float-slow {
    animation: float 8s ease-in-out infinite;
}

.float-fast {
    animation: float 4s ease-in-out infinite;
}

/* 5. MORPHING BLOB BACKGROUND */
.blob {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

/* 6. CARD TILT EFFECT - 3D Perspective on Hover */
.tilt-card {
    transition: transform 0.5s ease;
    transform-style: preserve-3d;
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) scale(1.02);
}

/* 7. BORDER GRADIENT - Animated Border */
.border-gradient {
    position: relative;
    background: white;
    border-radius: 16px;
}

.border-gradient::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #667eea);
    background-size: 300% 300%;
    animation: gradient-border 4s ease infinite;
    z-index: -1;
}

@keyframes gradient-border {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 8. SHIMMER LOADING EFFECT */
.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* 9. REVEAL ON SCROLL - Fade In Up */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 10. MAGNETIC BUTTON EFFECT */
.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.magnetic-btn:hover {
    transform: scale(1.05);
}

.magnetic-btn:active {
    transform: scale(0.98);
}

/* 11. SMOOTH UNDERLINE ANIMATION */
.underline-animation {
    position: relative;
    text-decoration: none;
}

.underline-animation::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.underline-animation:hover::after {
    width: 100%;
}

/* 12. STAGGER ANIMATION DELAYS */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* 13. NOISE TEXTURE OVERLAY */
.noise-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* 14. SMOOTH SCROLL BEHAVIOR */
html {
    scroll-behavior: smooth;
}

/* 15. FOCUS VISIBLE - Accessibility */
:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* 16. SELECTION COLOR */
::selection {
    background: rgba(102, 126, 234, 0.3);
    color: inherit;
}

/* 17. ANIMATED GRADIENT BACKGROUND */
.animated-gradient-bg {
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #5ee7df);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 18. PULSE RING EFFECT */
.pulse-ring {
    position: relative;
}

.pulse-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid #667eea;
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0; transform: scale(1.1); }
}

/* 19. TYPEWRITER CURSOR */
.typewriter-cursor::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: #667eea;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* 20. CARD SHINE EFFECT */
.card-shine {
    position: relative;
    overflow: hidden;
}

.card-shine::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.card-shine:hover::before {
    animation: shine 0.7s ease forwards;
}

@keyframes shine {
    0% { left: -50%; opacity: 1; }
    100% { left: 150%; opacity: 0; }
}

.hero-status-icon,
.problem-status-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
}

/* ============================================
   MICROINTERACTIONS - WOW Effects
   ============================================ */

/* Subtle pulse animation for hero status icons */
.hero-status-icon {
    animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(var(--bs-primary-rgb, 102, 126, 234), 0.15);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(var(--bs-primary-rgb, 102, 126, 234), 0);
    }
}

/* CTA Button hover & active effects */
.btn-modern,
.btn-generate,
.btn-download {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-modern:hover,
.btn-generate:hover,
.btn-download:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-modern:active,
.btn-generate:active,
.btn-download:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}