/* ========================================
   QLINEST - Cleaning Service Website
   Colors: Hellblau (#A9D6E5), Hellgrau (#F4F4F4), Hellgrün (#B5E48C)
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER ========== */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Telefonzeile */
.top-bar {
    background-color: #A9D6E5;
    padding: 8px 0;
    text-align: center;
}

.phone-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

.phone-number:hover {
    color: #2c5f2d;
}

/* Hauptnavigation */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo svg {
    width: 45px;
    height: 45px;
}

.logo h1 {
    font-size: 1.6rem;
    color: #333;
}

.logo span {
    color: #A9D6E5;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: #A9D6E5;
    border-bottom: 3px solid #B5E48C;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
}

/* ========== SLIDESHOW ========== */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 12cm;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 15px;
    text-align: center;
}

/* Slideshow Buttons */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: background 0.3s;
}

.slide-btn:hover {
    background: #B5E48C;
    color: #333;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: #B5E48C;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #A9D6E5;
    color: #333;
}

.btn-primary:hover {
    background-color: #B5E48C;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid #A9D6E5;
    color: #A9D6E5;
    background: transparent;
}

.btn-outline:hover {
    background-color: #A9D6E5;
    color: #fff;
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, #F4F4F4 0%, #fff 100%);
    padding: 60px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

/* ========== SECTIONS ========== */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #B5E48C;
    margin: 15px auto 0;
}

/* Service Cards */
.services-grid,
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.service-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #B5E48C;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #333;
}

/* Zahlen/Statistiken */
.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    background-color: #F4F4F4;
    padding: 50px 20px;
    border-radius: 20px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #A9D6E5;
}

/* Kontaktformular */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #F4F4F4;
    padding: 30px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #A9D6E5;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: #A9D6E5;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    color: #B5E48C;
}

/* Über uns Seite */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 20px;
    color: #A9D6E5;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
}

/* Impressum */
.imprint-box {
    background: #F4F4F4;
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
}

.imprint-box h2 {
    margin: 25px 0 10px 0;
    color: #A9D6E5;
}

.imprint-box h2:first-child {
    margin-top: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
        text-align: center;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .main-nav {
        flex-wrap: wrap;
    }
    
    .slideshow-container {
        height: auto;
        min-height: 250px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .stats {
        flex-direction: column;
        align-items: center;
    }
}