/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #141820;
    color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

.section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #e0e0e0;
}

/* Header & Navigation */
header {
    background-color: #141820;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #e0e0e0;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #4285F4;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #4285F4;
}

.hero-text {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: #e0e0e0;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background-color: #4285F4;
    color: white;
}

.btn-primary:hover {
    background-color: #3367d6;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid #4285F4;
    color: #4285F4;
}

.btn-secondary:hover {
    background-color: rgba(66, 133, 244, 0.1);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Services Section */
.services {
    background-color: #1a202c;
    padding: 60px 0;
}

.services-container {
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #242a38;
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.icon-kaufen {
    background-color: #3B5BDB;
}

.icon-verkaufen {
    background-color: #2B8A3E;
}

.icon-mieten {
    background-color: #9C36B5;
}

.icon-recht {
    background-color: #F59F00;
}

.icon-bewertung {
    background-color: #E03131;
}

.icon-verwaltung {
    background-color: #4263EB;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-description {
    color: #b9b9b9;
    font-size: 0.95rem;
}

/* Expertise Section */
.expertise {
    padding: 60px 0;
}

.expertise-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.expertise-content {
    max-width: 500px;
}

.expertise-list {
    margin-top: 30px;
}

.expertise-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.expertise-icon {
    min-width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #4285F4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    margin-top: 5px;
}

.expertise-icon i {
    color: white;
    font-size: 0.9rem;
}

.expertise-image img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Success Stories */
.success-stories {
    background-color: #1a202c;
    padding: 60px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #242a38;
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #4285F4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-weight: bold;
}

.testimonial-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-info p {
    color: #b9b9b9;
    font-size: 0.9rem;
}

.testimonial-content {
    flex-grow: 1;
    margin-bottom: 20px;
    color: #e0e0e0;
    font-size: 0.95rem;
}

.testimonial-rating {
    color: #FFD700;
    font-size: 1.2rem;
}

/* Gallery */
.gallery {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.gallery-title {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.gallery-location {
    font-size: 0.85rem;
    color: #e0e0e0;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background-color: #1a202c;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    background-color: #242a38;
    border-radius: 8px;
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background-color: #1a202c;
    border: 1px solid #333;
    border-radius: 5px;
    color: white;
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: #4285F4;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-card {
    background-color: #242a38;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
}

.icon-phone {
    background-color: #4285F4;
}

.icon-email {
    background-color: #34A853;
}

.icon-address {
    background-color: #9C36B5;
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-text p {
    color: #b9b9b9;
    font-size: 0.9rem;
}

.hours-card {
    background-color: #242a38;
    border-radius: 8px;
    padding: 30px;
}

.hours-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.hours-day {
    color: #e0e0e0;
}

.hours-time {
    color: #b9b9b9;
}

/* Footer */
.footer {
    background-color: #141820;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-text {
    color: #b9b9b9;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-contact {
    color: #b9b9b9;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: #4285F4;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #b9b9b9;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4285F4;
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #777;
}

/* Responsive Design */
@media (max-width: 992px) {
    .expertise-container {
        grid-template-columns: 1fr;
    }
    
    .expertise-content {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #1a202c;
    padding: 50px 30px;
    z-index: 1001;
    transition: right 0.3s ease;
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav li {
    margin-bottom: 20px;
}

.mobile-nav a {
    color: #e0e0e0;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: #4285F4;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Icon styles */
.icon {
    font-style: normal;
}