* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

input:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible,
select:focus-visible {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
    border-radius: 0.375rem;
}

.testimonial-dot[data-index].bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, #dc2626, #b91c1c);
}

.testimonial-dot[data-index]:not(.bg-gradient-to-br):hover {
    background-color: #f87171;
    transform: scale(1.1);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.15);
}

button, a[class*="bg-red"] {
    transition: all 0.3s ease;
}

.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #ef4444);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(220, 38, 38, 0.2);
}

.icon-hover {
    transition: transform 0.3s ease;
}

.service-card:hover .icon-hover {
    transform: scale(1.1) rotate(5deg);
}

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

@keyframes pulse-shadow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
    }
}

.pulse-cta {
    animation: pulse-shadow 2s infinite;
}

input[type="tel"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

section {
    transition: opacity 0.3s ease;
}

.shadow-professional {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-professional-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
                0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

img {
    transition: transform 0.3s ease;
}

.image-hover-zoom:hover img {
    transform: scale(1.05);
}

#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                margin-top 0.3s ease,
                padding-top 0.3s ease;
    opacity: 0;
}

#mobile-menu:not(.hidden) {
    max-height: 500px;
    opacity: 1;
}

#mobile-menu a {
    transform: translateX(-10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease, color 0.2s ease;
}

#mobile-menu:not(.hidden) a {
    transform: translateX(0);
    opacity: 1;
}

#mobile-menu:not(.hidden) a:nth-child(1) { transition-delay: 0.05s; }
#mobile-menu:not(.hidden) a:nth-child(2) { transition-delay: 0.1s; }
#mobile-menu:not(.hidden) a:nth-child(3) { transition-delay: 0.15s; }
#mobile-menu:not(.hidden) a:nth-child(4) { transition-delay: 0.2s; }
#mobile-menu:not(.hidden) a:nth-child(5) { transition-delay: 0.25s; }
#mobile-menu:not(.hidden) a:nth-child(6) { transition-delay: 0.3s; }

#mobile-menu-btn {
    transition: transform 0.2s ease;
}

#mobile-menu-btn:active {
    transform: scale(0.95);
}

#menu-icon,
#close-icon {
    transition: transform 0.3s ease, opacity 0.2s ease;
}

#menu-icon.hidden,
#close-icon.hidden {
    transform: rotate(90deg);
    opacity: 0;
}

#menu-icon:not(.hidden),
#close-icon:not(.hidden) {
    transform: rotate(0deg);
    opacity: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.3s ease,
                opacity 0.3s ease;
    opacity: 0;
}

.faq-answer:not(.hidden) {
    max-height: 1000px;
    opacity: 1;
}

.faq-item {
    transition: all 0.3s ease;
}

.faq-question:hover .faq-icon {
    transform: scale(1.2);
}

.faq-icon {
    transition: transform 0.3s ease, color 0.2s ease;
}

#kontakt-widget {
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                visibility 0.3s;
    visibility: hidden;
}

#kontakt-widget:not(.hidden) {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

#mobile-bottom-bar {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#progress-bar {
    width: 33.33%;
}
