/*
 * Die Entrümpelungsfeen - Main Stylesheet
 * Modern Red Theme - Logo-Farben: #bd4f48, #b94f47, #a6463d
 */

:root {
    /* Primary Colors - Logo Rot */
    --primary-red: #bd4f48;
    --primary-red-dark: #b94f47;
    --primary-red-darker: #a6463d;

    /* Accent Color - Gold für Highlights */
    --accent-gold: #f1b900;
    --accent-gold-dark: #D4AF37;

    /* Neutral Colors */
    --dark: #2D3142;
    --dark-light: #4F5D75;

    /* Background & UI */
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-lighter: #FAFAFA;
    --border-color: #E5E7EB;

    /* Text */
    --text-dark: #1F2937;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;

    /* Bootstrap Variable Overrides */
    --bs-primary: #b94f47;
    --bs-primary-rgb: 185, 79, 71;


    --bs-dark: #2D3142;
    --bs-dark-rgb: 45, 49, 66;
    --bs-body-color: #1F2937;
    --bs-link-color: #bd4f48;
    --bs-link-hover-color: #a6463d;
}

/* ===== Base Styles ===== */
* {
    font-family: 'Montserrat', sans-serif;
}

body {
    background: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ===== Navigation ===== */
.navbar {
    background: var(--bg-white) !important;
    padding: 1rem 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border-bottom: 3px solid var(--primary-red);
}

.navbar-brand {
    font-size: 1.3rem;
    color: white !important;
}

.navbar-logo {
    /* max-height: 60px; */
    height: auto;
    width: 100%;
    max-width: 320px;
}

.navbar-nav .nav-link {
    color: var(--dark) !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-red) !important;
}

.navbar-nav .navbar-toggler-icon {
    color: var(--primary-red) !important;
}

.btn-cta {
    font-weight: 600;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
}

/* ===== Hero Section ===== */
.hero-section {
    color: white;
    padding: 4rem 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.hero-section h1 {
    color: white;
    line-height: 1.2;
}

.hero-section .text-primary {
    color: var(--primary-red) !important;
}

.trust-badges {
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: bold;
}

.trust-badge span{
    text-shadow: 0 0 #000;
}

.trust-badge i {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-proof .stars i {
    font-size: 1.2rem;
}

.hero-image {
    text-align: center;
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.1);
    animation: float 3s ease-in-out infinite;
}

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

/* ===== Buttons ===== */
.btn-primary {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(189, 79, 72, 0.3);
}

.btn-primary:hover {
    background: var(--primary-red-darker);
    border-color: var(--primary-red-darker);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(189, 79, 72, 0.4);
}

.btn-primary:active {
    background: var(--primary-red-darker);
    border-color: var(--primary-red-darker);
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(189, 79, 72, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary-red);
    color: var(--primary-red);
    font-weight: 600;
    border-radius: 8px;
}

.btn-outline-primary:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

.btn-outline-primary:active {
    background: var(--primary-red-darker);
    border-color: var(--primary-red-darker);
    color: white;
    transform: scale(0.98);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    font-weight: 600;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-red);
}

.btn-outline-light:active {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-red-darker);
    transform: scale(0.98);
}

/* ===== Service Gallery ===== */
.service-gallery {
    position: relative;
}

/* Before/After Slider */
.before-after-slider {
    width: 100%;
    position: relative;
}

.before-after-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    cursor: grab;
}

.before-after-container:active {
    cursor: grabbing;
}

.before-image,
.after-image {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
    pointer-events: none;
}

.before-image {
    position: relative;
}

.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: inset(0 50% 0 0);
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: white;
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 10;
}

.slider-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border: 4px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.slider-button:hover {
    background: var(--primary-red-dark);
    transform: translate(-50%, -50%) scale(1.1);
}

.slider-button i {
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
}

.before-label,
.after-label {
    position: absolute;
    top: 20px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    backdrop-filter: blur(10px);
    z-index: 5;
}

.before-label {
    left: 20px;
}

.after-label {
    right: 20px;
}

.service-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.service-image-wrapper img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

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

.service-content h2 {
    color: var(--dark);
}

.service-content h2 i {
    font-size: 2rem;
}

.service-content .lead {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===== Service Cards ===== */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(189, 79, 72, 0.15);
    border-color: var(--primary-red);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.service-features i {
    margin-right: 0.5rem;
}

/* ===== Feature Boxes ===== */
.feature-box {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-box h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* ===== Process Steps ===== */
.process-step {
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid var(--border-color);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(189, 79, 72, 0.15);
    border-color: var(--primary-red);
}

.step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(189, 79, 72, 0.3);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-red-darker) 0%, var(--primary-red) 100%);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.step-icon i {
    font-size: 2rem;
    color: white;
}

.process-step h4 {
    margin-bottom: 1rem;
}

/* ===== Testimonials ===== */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 4px solid var(--accent-gold);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.15);
}

.stars i {
    font-size: 1.2rem;
}

.avatar {
    font-size: 3rem;
    color: var(--text-muted);
}

/* ===== Map & Location ===== */
.service-map {
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 3px solid var(--primary-red);
}

@media (max-width: 991px) {
    .service-map {
        height: 400px;
    }
}

.location-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.location-tag {
    background: var(--primary-red);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.location-tag:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
}

/* ===== FAQ ===== */
.accordion-item {
    border: 2px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-button {
    background: white;
    color: var(--dark);
    font-weight: 600;
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-red);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-red);
}

.accordion-body {
    padding: 1.5rem;
}

/* ===== CTA Section ===== */
.cta-section {
    color: white;
}

.cta-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.cta-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.cta-box i {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.cta-box h4 {
    color: white;
    margin-bottom: 1rem;
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(189, 79, 72, 0.15);
}

.form-check-input:checked {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

#formMessage.alert {
    margin-top: 1.5rem;
    border-radius: 8px;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-logo {
    height: auto;
    width: auto;
    max-width: 320px;
}

.footer h5 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-gold);
}

.footer ul {
    margin: 0;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 3rem;
    padding-top: 2rem;
}

/* ===== Utilities ===== */

.bg-light {
    background: var(--bg-light) !important;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    /* Center navigation items in mobile view */
    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-item {
        display: block;
        text-align: center;
    }

    .navbar-nav .dropdown-menu {
        text-align: center;
    }

    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .min-vh-75 {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .process-step,
    .service-card,
    .feature-box {
        margin-bottom: 1.5rem;
    }
}

/* ===== Animations ===== */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===== Bootstrap Component Overrides ===== */
/* Links */
a {
    color: var(--primary-red);
}

a:hover {
    color: var(--primary-red-darker);
}

/* Badge */
.badge.bg-primary {
    background-color: var(--primary-red) !important;
}

.badge.bg-success {
    background-color: var(--accent-gold) !important;
}

/* Alert */
.alert-success {
    background-color: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-gold);
    color: var(--dark);
}

/* Dropdown */
.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(189, 79, 72, 0.1);
    color: var(--primary-red);
}

.dropdown-item.active {
    background-color: var(--primary-red);
    color: white;
}

/* Pagination */
.page-link {
    color: var(--primary-red);
}

.page-link:hover {
    color: var(--primary-red-darker);
    background-color: rgba(189, 79, 72, 0.1);
    border-color: var(--primary-red);
}

.page-item.active .page-link {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

/* Progress Bar */
.progress-bar {
    background-color: var(--primary-red);
}

.progress-bar.bg-success {
    background-color: var(--accent-gold) !important;
}

/* List Group */
.list-group-item.active {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

/* Nav Pills/Tabs */
.nav-pills .nav-link.active {
    background-color: var(--primary-red);
}

.nav-tabs .nav-link:hover {
    border-color: var(--primary-red);
}

.nav-tabs .nav-link.active {
    color: var(--primary-red);
    border-color: var(--primary-red) var(--primary-red) #fff;
}

/* Text Colors */
.text-primary {
    color: var(--primary-red) !important;
}

.text-gold {
    color: var(--accent-gold) !important;
}

.text-dark {
    color: var(--dark) !important;
}

/* Background Colors */
.bg-primary {
    background-color: var(--primary-red) !important;
}

.bg-success {
    background-color: var(--accent-gold) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

/* Border Colors */
.border-primary {
    border-color: var(--primary-red) !important;
}

.border-success {
    border-color: var(--accent-gold) !important;
}
