/* Custom Styles für Türöffnung 24/7 Siegburg */

:root {
    --primary-blue: #1e3a8a;
    --primary-yellow: #fbbf24;
    --text-dark: #111827;
    --text-gray: #6b7280;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Hero Section Gradient Animation */
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient 10s ease infinite;
}

/* Call Button Pulse Animation - nur Ring-Effekt */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 58, 138, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(30, 58, 138, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(30, 58, 138, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite !important;
}

/* Sticky Header Shadow */
header.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Table Styles */
.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.price-table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.price-table tr:hover {
    background-color: #f9fafb;
}

/* Form Styles */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 16px;
}

.contact-form input[type="checkbox"] {
    width: auto;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

.contact-form label[for="privacy"] {
    display: inline;
    vertical-align: middle;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-blue);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--primary-blue);
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
}

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

.feature-list li i {
    color: var(--primary-blue);
    margin-right: 12px;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alert Messages */
.alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert i {
    margin-right: 12px;
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    h1 {
        font-size: 1.875rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-section {
        padding: 60px 0;
    }
}

/* Print Styles */
@media print {
    header, footer, .no-print {
        display: none;
    }
    
    main {
        margin-top: 0 !important;
    }
    
    a[href^="tel:"] {
        text-decoration: none;
        color: inherit;
    }
}

/* Gelber Hintergrund für Preise */
.price-highlight {
    background-color: #fef3c7;
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
    font-weight: bold;
}

.privacy-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;      /* Abstand zwischen Checkbox und Label */
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.privacy-row input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.privacy-row label {
    display: inline-block !important;
    margin-left: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
    width: auto !important;
    font-weight: 400;
}