/* ===========================
   CSS Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===========================
   Container & Layout
   =========================== */
.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.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo h2 {
    font-size: 1.5rem;
    color: #1a7f37;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-weight: 500;
    color: #333;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #1a7f37;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.btn-call,
.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.btn-call {
    background-color: #0066cc;
    color: #fff;
}

.btn-call:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    transform: translateY(-2px);
}

/* ===========================
   Hero Section
   =========================== */
#hero {
    background: linear-gradient(135deg, rgba(26, 127, 55, 0.75) 0%, rgba(13, 92, 44, 0.8) 100%), url('images/firmenauto-hero.jpeg') center/cover no-repeat;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background-color: #ffd700;
    color: #1a7f37;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
}

.hero-fast-term {
    display: inline-block;
    margin: 0 auto 22px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.14);
    font-weight: 700;
}

#hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.3s;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #ffd700;
    color: #1a7f37;
}

.btn-primary:hover {
    background-color: #ffed4e;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #1a7f37;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-item strong {
    font-size: 1.3rem;
}

/* ===========================
   Einsatzgebiet
   =========================== */
#einsatzgebiet {
    background-color: #f8f9fa;
    padding: 30px 20px;
    text-align: center;
}

#einsatzgebiet h2 {
    font-size: 1.5rem;
    color: #1a7f37;
    margin-bottom: 10px;
}

#einsatzgebiet p {
    font-size: 1.1rem;
    color: #555;
}

/* ===========================
   Sections & Titles
   =========================== */
section {
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #1a7f37;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   Services Grid
   =========================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #1a7f37;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-card ul {
    text-align: left;
}

.service-card li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.service-card li:last-child {
    border-bottom: none;
}

.service-card li::before {
    content: "✓ ";
    color: #1a7f37;
    font-weight: bold;
    margin-right: 8px;
}

/* ===========================
   Gallery Grid (Vorher/Nachher)
   =========================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gallery-label,
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 127, 55, 0.9);
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

/* ===========================
   Testimonials
   =========================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.testimonial-stars {
    color: #ffd700;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: #1a7f37;
}

/* ===========================
   eBay Banner
   =========================== */
#ebay-banner {
    background: linear-gradient(135deg, #0066cc 0%, #004a99 100%);
    color: #fff;
    padding: 50px 20px;
}

.ebay-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
}

.ebay-icon svg {
    width: 48px;
    height: 48px;
}

.ebay-text h3 {
    font-size: 1.7rem;
    margin-bottom: 8px;
}

.ebay-text p {
    font-size: 1rem;
    opacity: 0.95;
}

.btn-ebay {
    background-color: #fff;
    color: #0066cc;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-ebay:hover {
    background-color: #ffd700;
    color: #0066cc;
    transform: translateY(-3px);
}

/* ===========================
   Contact Form
   =========================== */
#kontakt {
    background-color: #f8f9fa;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.configurator-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.progress-step {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    font-weight: 700;
}

.progress-step.is-active {
    background: #1a7f37;
    color: #fff;
}

.progress-line {
    width: 64px;
    height: 2px;
    background: #e5e7eb;
}

.waste-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.service-config {
    padding: 2px 0;
}

.address-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.service-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.service-choice {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 11px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #444;
    cursor: pointer;
}

.service-choice:has(input:checked) {
    border-color: #1a7f37;
    background: #f7fcf8;
    color: #1a7f37;
    font-weight: 600;
}

.service-choice input {
    accent-color: #1a7f37;
}

.waste-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 76px;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.waste-card:hover {
    transform: translateY(-2px);
    border-color: #9ac7a5;
}

.waste-card input {
    position: absolute;
    opacity: 0;
}

.waste-card > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.waste-card strong {
    color: #1a1a1a;
    font-size: 0.92rem;
}

.waste-card small {
    color: #6b7280;
    font-size: 0.75rem;
    line-height: 1.3;
}

.waste-card-icon {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #eaf6ed;
    color: #1a7f37;
    font-size: 1.25rem;
    font-weight: 800;
}

.waste-card input:checked + .waste-card-icon {
    background: #1a7f37;
    color: #fff;
}

.waste-card:has(input:checked) {
    border-color: #1a7f37;
    box-shadow: 0 0 0 3px rgba(26, 127, 55, 0.12);
}

.waste-card-warning .waste-card-icon {
    background: #fff3d6;
    color: #9a6500;
}

.review-box {
    margin-top: 24px;
    padding: 18px;
    border: 1px solid #cfe9d6;
    border-radius: 8px;
    background: #f7fcf8;
}

.review-box h3 {
    margin-bottom: 12px;
    color: #1a7f37;
}

#request-summary {
    display: grid;
    gap: 7px;
    color: #444;
}

.danger-notice {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid #f0c36d;
    border-radius: 8px;
    background: #fff8e5;
    color: #744d00;
}

.config-step {
    border: 0;
    padding: 0;
    margin: 0;
}

.config-step legend {
    margin-bottom: 24px;
    color: #1a7f37;
    font-size: 1.4rem;
    font-weight: 700;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.option-card {
    cursor: pointer;
}

.option-card input {
    position: absolute;
    opacity: 0;
}

.option-card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    padding: 18px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.option-card-content strong {
    color: #1a7f37;
}

.option-card-content small {
    color: #666;
}

.option-card input:checked + .option-card-content {
    border-color: #1a7f37;
    box-shadow: 0 0 0 3px rgba(26, 127, 55, 0.12);
}

.photo-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.photo-preview-item {
    position: relative;
    height: 90px;
    overflow: hidden;
    border-radius: 6px;
    background: #f1f3f5;
}

.upload-panel {
    margin-top: 24px;
    padding: 18px;
    border: 1px dashed #9ac7a5;
    border-radius: 10px;
    background: #f7fcf8;
}

.photo-whatsapp-notice {
    margin-top: 24px;
    padding: 18px;
    border: 1px solid #9ac7a5;
    border-radius: 10px;
    background: #f7fcf8;
    color: #1a5f34;
}

.photo-whatsapp-notice strong {
    display: block;
    margin-bottom: 6px;
    color: #1a7f37;
}

.photo-whatsapp-notice p {
    margin: 0;
    line-height: 1.55;
}

.config-actions .config-next[hidden] {
    display: none;
}

.upload-help {
    margin-bottom: 12px;
    color: #5b6470;
    font-size: 0.92rem;
}

.photo-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-preview-name {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 8px;
    color: #444;
    font-size: 0.78rem;
    text-align: center;
    overflow-wrap: anywhere;
}

.photo-preview-item button {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
}

.config-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
}

.config-actions .btn-submit {
    margin-top: 0;
}

.config-actions .btn-secondary {
    border: 2px solid #1a7f37;
    background: #fff;
    color: #1a7f37;
}

.config-actions .btn-secondary:hover {
    background: #eaf6ed;
    color: #145f2a;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a7f37;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.85rem;
}

.form-info-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 20px;
    border: 1px solid #cfe9d6;
    border-radius: 8px;
    background: #f1fbf4;
    color: #1a5f34;
}

.form-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1a7f37;
    flex-shrink: 0;
    margin-top: 2px;
}

.form-info-box p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 10px;
}

.btn-submit[hidden] {
    display: none;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.contact-info {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-info h3 {
    font-size: 1.5rem;
    color: #1a7f37;
    margin-bottom: 25px;
}

.contact-detail {
    margin-bottom: 25px;
    line-height: 1.8;
}

.contact-detail strong {
    color: #1a7f37;
    display: block;
    margin-bottom: 5px;
}

.contact-detail a {
    color: #0066cc;
    transition: color 0.3s;
}

.contact-detail a:hover {
    color: #004a99;
    text-decoration: underline;
}

.contact-actions {
    margin-top: 30px;
}

.btn-whatsapp-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background-color: #25D366;
    color: #fff;
    padding: 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-whatsapp-large:hover {
    background-color: #1ebe57;
    transform: translateY(-3px);
}

/* ===========================
   Map
   =========================== */
#map {
    background-color: #fff;
}

.map-container {
    width: 100%;
    height: 450px;
    margin-top: 30px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* ===========================
   Footer
   =========================== */
#footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #25D366;
}

.footer-col p {
    line-height: 1.8;
    color: #ccc;
}

.footer-col a {
    color: #25D366;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #ffd700;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}

/* ===========================
   Floating WhatsApp Button
   =========================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: all 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.floating-whatsapp svg {
    color: #fff;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    #hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .option-grid {
        grid-template-columns: 1fr;
    }

    .waste-grid {
        grid-template-columns: 1fr;
    }

    .address-pair,
    .service-choice-grid {
        grid-template-columns: 1fr;
    }

    .progress-line {
        width: 30px;
    }

    .ebay-content {
        flex-direction: column;
        text-align: center;
    }

    .floating-whatsapp {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}

@media (min-width: 769px) {
    .contact-wrapper {
        grid-template-columns: 1.5fr 1fr;
    }
}

@media (min-width: 1024px) {
    #hero h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.3rem;
    }
}
