/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Verhindere horizontales Scrollen */
section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

:root {
    --primary-color: #000000;
    --secondary-color: #1a1a1a;
    --accent-color: #333333;
    --logo-color: #6F2CFF;
    --text-dark: #000000;
    --text-light: #666666;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.5s ease;
}

.logo-icon:hover {
    transform: rotate(360deg);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    line-height: 1;
    padding-top: 14px;
}

.nav-phone svg {
    width: 12px;
    height: 12px;
    color: var(--text-dark);
    flex-shrink: 0;
}

.nav-phone:hover {
    color: var(--logo-color);
}

.nav-whatsapp {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
    color: white;
    background: #25D366;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    line-height: 1;
    margin-top: 10px;
}

.nav-whatsapp svg {
    width: 14px;
    height: 14px;
    color: white;
    flex-shrink: 0;
}

.nav-whatsapp:hover {
    background: #128C7E;
    transform: scale(1.05);
}

.logo-icon-svg {
    height: 45px;
    width: auto;
}

.logo-icon-chevron {
    fill: var(--logo-color);
}

.logo-icon-text {
    fill: var(--text-dark);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 1px;
}

/* Hero Logo */
.hero-logo {
    width: 650px;
    height: auto;
    margin-bottom: 2rem;
}

.hero-logo-chevron {
    fill: var(--logo-color);
    animation: roofDrop 1.2s ease-out;
    transform-origin: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.hero-logo-chevron:hover {
    transform: translateY(-4px);
}

@keyframes roofDrop {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    60% {
        transform: translateY(5px);
    }
    80% {
        transform: translateY(-2px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-logo-text {
    fill: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-logo-subtitle {
    fill: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    letter-spacing: 0.2em;
    animation: fadeInUp 1s ease 0.5s backwards;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--logo-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--logo-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--text-dark);
    color: white;
    text-align: center;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    display: none; /* Hidden when using logo */
}

.hero-h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1rem auto;
    letter-spacing: 0.02em;
    animation: fadeInUp 1s ease 0.6s backwards;
    max-width: 900px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 0 auto 2rem auto;
    opacity: 0.9;
    max-width: 700px;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.8s backwards;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: white;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 0;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.cta-button:hover {
    background-color: transparent;
    color: white;
    border-color: white;
}

/* Trust Section */
.trust-section {
    padding: 2.5rem 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.trust-icon {
    width: 40px;
    height: 40px;
    background: var(--logo-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.trust-item p {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    font-size: 0.95rem;
}

/* Google Badge in Trust Section */
.trust-item-google {
    grid-column: span 1;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem !important;
}

.google-badge {
    text-align: center;
}

.google-stars {
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.google-stars .star {
    color: #FBBC04;
}

.google-rating {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.google-rating strong {
    font-size: 1.5rem;
    color: var(--logo-color);
}

.google-reviews {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0.3rem 0 1rem 0;
}

.google-link {
    display: inline-block;
    color: var(--logo-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 1px solid var(--logo-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.google-link:hover {
    background: var(--logo-color);
    color: white;
}

@media (max-width: 992px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .trust-item {
        padding: 0.75rem;
    }
    
    .trust-item-google {
        margin-top: 1rem;
    }
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--logo-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Kompakte Leistungsdarstellung */
.about-services {
    width: 100%;
}

.services-headline {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.compact-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.compact-service-item {
    background: white;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(100px);
}

.compact-service-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.compact-service-item:hover {
    border-color: var(--logo-color);
    box-shadow: 0 8px 24px rgba(111, 44, 255, 0.15);
    transform: translateY(-5px);
}

.service-compact-icon {
    width: 50px;
    height: 50px;
    background: var(--logo-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-compact-icon svg {
    width: 26px;
    height: 26px;
    color: white;
}

.compact-service-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.compact-service-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.vehicle-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    animation: slideInFromRight 1s ease-out;
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.image-placeholder {
    width: 100%;
    height: 600px;
    background: var(--text-dark);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.image-placeholder svg {
    width: 100px;
    height: 100px;
    color: white;
    opacity: 0.5;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slideshow Styles */
.image-slideshow {
    width: 100%;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 600px;
    background: var(--text-dark);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.8s ease-in-out;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Navigation Buttons */
.slide-prev,
.slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem 1.2rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slide-prev:hover,
.slide-next:hover {
    background-color: var(--logo-color);
}

.slide-prev {
    left: 10px;
}

.slide-next {
    right: 10px;
}

/* Dots Navigation */
.slide-dots {
    text-align: center;
    margin-top: 1rem;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background-color: var(--text-light);
}

.dot.active {
    background-color: var(--logo-color);
    width: 14px;
    height: 14px;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.testimonials-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    margin-top: -1rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    border-color: var(--logo-color);
    box-shadow: 0 8px 24px rgba(111, 44, 255, 0.15);
    transform: translateY(-5px);
}

.testimonial-stars {
    font-size: 1.3rem;
    color: #FBBC04;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.star-filled {
    color: #FBBC04;
}

.testimonial-text {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--logo-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.author-verified {
    font-size: 0.85rem;
    color: #34A853;
    font-weight: 500;
}

.testimonials-cta {
    text-align: center;
}

.cta-button-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: transparent;
    color: var(--logo-color);
    text-decoration: none;
    border: 2px solid var(--logo-color);
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    background-color: var(--logo-color);
    color: white;
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 4rem 0;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonials-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

/* Service Notice - Abgrenzungshinweis */
.service-notice {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: white;
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
    border-left: 4px solid var(--logo-color);
}

.service-notice p {
    margin: 0;
    line-height: 1.6;
}

.service-notice strong {
    color: var(--logo-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 0;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    text-align: center;
    transform-style: preserve-3d;
}

.service-card:hover {
    border-color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg) translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--logo-color);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

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

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Hervorgehobene Service-Karten */
.service-card-highlight {
    border: 2px solid var(--logo-color);
    position: relative;
}

.service-card-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--logo-color);
}

/* Service Listen in Karten */
.service-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    text-align: left;
}

.service-list li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-color);
}

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

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--logo-color);
    font-weight: bold;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--text-dark);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Referenzen Section */
.referenzen {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.referenzen-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    margin-top: -1rem;
}

.referenzen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.referenz-card {
    background: var(--bg-white);
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.referenz-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.referenz-slider {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--text-dark);
    position: relative;
}

.referenz-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.referenz-slide.active {
    display: block;
}

.referenz-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 3px;
}

.ref-prev,
.ref-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 0.5rem 0.8rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.ref-prev:hover,
.ref-next:hover {
    background-color: var(--logo-color);
}

.ref-prev {
    left: 5px;
}

.ref-next {
    right: 5px;
}

.ref-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.ref-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ref-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.ref-dot.active {
    background-color: var(--logo-color);
    width: 12px;
    height: 12px;
}

.referenz-content {
    padding: 1.5rem;
}

.referenz-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.referenz-ort {
    color: var(--logo-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.referenz-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.referenz-details li {
    padding: 0.4rem 0;
    padding-left: 1.2rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

.referenz-details li:last-child {
    border-bottom: none;
    font-weight: 600;
    color: var(--text-dark);
}

.referenz-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--logo-color);
    font-weight: bold;
}

@media (max-width: 992px) {
    .referenzen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .referenzen-grid {
        grid-template-columns: 1fr;
    }
    
    .referenz-slider {
        height: 200px;
    }
    
    .ref-prev,
    .ref-next {
        padding: 0.4rem 0.6rem;
        font-size: 1rem;
    }
    
    .slide-label {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Mieterwechsel Section */
.mieterwechsel {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.mieterwechsel-content {
    max-width: 800px;
    margin: 0 auto;
}

.mieterwechsel-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
}

.mieterwechsel-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--logo-color);
}

.mieterwechsel-lead {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

.mieterwechsel-text > p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.mieterwechsel-benefits,
.mieterwechsel-leistungen {
    margin-bottom: 2rem;
}

.mieterwechsel-benefits h3,
.mieterwechsel-leistungen h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--logo-color);
}

.mieterwechsel-benefits ul,
.mieterwechsel-leistungen ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.mieterwechsel-benefits li,
.mieterwechsel-leistungen li {
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.mieterwechsel-benefits li::before,
.mieterwechsel-leistungen li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--logo-color);
    font-weight: bold;
}

.mieterwechsel-hinweis {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 2px solid var(--logo-color);
}

.cta-dark {
    background: var(--logo-color);
    color: white;
    border-color: var(--logo-color);
    margin-top: 1rem;
}

.cta-dark:hover {
    background: transparent;
    color: var(--logo-color);
}

@media (max-width: 768px) {
    .mieterwechsel-text h2 {
        font-size: 1.8rem;
    }
    
    .mieterwechsel-benefits ul,
    .mieterwechsel-leistungen ul {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--text-dark);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

/* Contact Form */
.contact-form {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 0;
    border: 1px solid var(--border-color);
}

.form-message {
    display: none;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0;
    font-weight: 500;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background-color: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-dark);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--text-dark);
    color: white;
    border: 2px solid var(--text-dark);
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: transparent;
    color: var(--text-dark);
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    z-index: 100;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0.25rem 0;
    position: relative;
    z-index: 10;
}

.footer-section a:hover {
    color: var(--logo-color);
}

.footer-logo-svg {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-logo-chevron {
    fill: var(--logo-color);
}

.footer-logo-text {
    fill: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
}

.footer-logo-subtitle {
    fill: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    letter-spacing: 0.15em;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Legal Pages */
.legal-page {
    padding: 8rem 0 4rem;
    background-color: var(--bg-white);
    min-height: 100vh;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 1 !important;
}

.legal-page * {
    opacity: 1 !important;
    visibility: visible !important;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.legal-page h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.legal-page p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-page a {
    color: var(--logo-color);
    text-decoration: underline;
}

.legal-page a:hover {
    color: var(--text-dark);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .compact-services {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .services-headline {
        font-size: 1.5rem;
    }
    
    .compact-service-item {
        padding: 1.2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        display: none;
        gap: 0.5rem;
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        padding: 0.75rem;
        display: block;
    }
    
    .nav-phone {
        font-size: 0.9rem;
    }
    
    .logo-icon-svg {
        height: 38px;
    }
    
    .hero-logo {
        width: 1250px;
        max-width: 98vw;
    }
    
    .footer-logo-svg {
        height: 50px;
    }
    
    .legal-page {
        padding: 7rem 0 3rem;
    }
    
    .legal-page h1 {
        font-size: 1.8rem;
        margin-top: 1rem;
    }
    
    .legal-page h2 {
        font-size: 1.4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-h1 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .slideshow-container {
        height: 450px;
    }
    
    .slide-prev,
    .slide-next {
        padding: 0.8rem 1rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .nav-phone {
        font-size: 0.85rem;
    }
    
    .nav-phone svg {
        width: 11px;
        height: 11px;
    }
    
    .logo-icon-svg {
        height: 32px;
    }
    
    .hero-logo {
        width: 1250px;
        max-width: 98vw;
    }
    
    .legal-page h1 {
        font-size: 1.5rem;
        margin-top: 0.5rem;
    }
    
    .legal-page h2 {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-h1 {
        font-size: 1.2rem;
        padding: 0 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .slideshow-container {
        height: 350px;
    }
    
    .slide-prev,
    .slide-next {
        padding: 0.6rem 0.8rem;
        font-size: 1rem;
    }
    
    .slide-prev {
        left: 5px;
    }
    
    .slide-next {
        right: 5px;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    user-select: none;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--logo-color);
    transform: scale(1.2);
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: white;
    padding: 10px 0;
    font-size: 1rem;
}

/* Clickable Bilder */
.slide img,
.referenz-slide img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.slide img:hover,
.referenz-slide img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 70vh;
    }
    
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 60px !important;
    height: 60px !important;
    background: #25D366 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4) !important;
    z-index: 999999 !important;
    transition: background 0.3s ease !important;
    text-decoration: none !important;
    animation: pulse-whatsapp 2s infinite !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) translateY(0) !important;
    will-change: auto !important;
    contain: layout style paint !important;
}

.whatsapp-float svg {
    width: 32px !important;
    height: 32px !important;
    color: white !important;
    flex-shrink: 0 !important;
}

.whatsapp-float:hover {
    background: #128C7E !important;
    transform: translateX(0) translateY(0) scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6) !important;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px !important;
        height: 55px !important;
        bottom: 20px !important;
        right: 15px !important;
        left: auto !important;
        margin: 0 !important;
        transform: translateX(0) translateY(0) !important;
        max-width: 55px !important;
    }
    
    .whatsapp-float svg {
        width: 28px !important;
        height: 28px !important;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px !important;
        height: 50px !important;
        bottom: 20px !important;
        right: 15px !important;
    }
    
    .whatsapp-float svg {
        width: 24px !important;
        height: 24px !important;
    }
}

