/* RESET & GRUNDLAGEN */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Spamschutz-Feld: komplett verstecken (auch vor Screenreadern) */
.honeypot {
    position: absolute;
    left: -9999px;
}

/* Nur für Screenreader sichtbar (Barrierefreiheit) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.header {
    background: #ffffff;
    color: #2c3e50;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #2c3e50;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 12px;
    color: #5f6f7e;
    font-weight: 400;
}

.nav {
    display: flex;
    gap: 35px;
}

.nav a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 15px;
    position: relative;
    padding-bottom: 3px;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #2c3e50;
    transition: width 0.25s ease;
}

.nav a:hover {
    color: #34495e;
}

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

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.hero h2 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.95;
}

.btn-white {
    background: white;
    color: #2c3e50;
}

.btn-white:hover {
    background: #f0f0f0;
}

/* BUTTON */
.btn {
    display: inline-block;
    background: #2c3e50;
    color: white;
    padding: 15px 50px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.btn:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(44, 62, 80, 0.2);
}

/* STATS SECTION */
.stats {
    background: #f8f9fa;
    padding: 60px 0;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

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

.stat-icon {
    width: 34px;
    height: 34px;
    color: #2c3e50;
    display: block;
    margin: 0 auto 14px;
}

.stat-text {
    color: #5f6f7e;
    font-size: 15px;
    font-weight: 500;
}

/* SECTION HEADER */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 44px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: #5f6f7e;
    max-width: 600px;
    margin: 0 auto;
}

/* VORHER NACHHER */
.vorher-nachher {
    padding: 120px 0;
    background: white;
}

.vorher-nachher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.vn-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.vn-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.vn-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #2c3e50;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    z-index: 10;
}

.vn-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

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

/* VIDEO */
.video-block {
    max-width: 700px;
    margin: 50px auto 0;
    text-align: center;
}

.video-block h3 {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.video-block video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    background: #000;
}

/* LEISTUNGEN */
.leistungen {
    padding: 120px 0;
    background: #f8f9fa;
}

.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}

.leistung-card {
    position: relative;
    background: white;
    border: none;
    padding: 48px 35px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(44, 62, 80, 0.06);
    transition: all 0.3s;
    text-align: center;
    overflow: hidden;
}

.leistung-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c3e50, #c9a355);
    transform: scaleX(0);
    transition: transform 0.35s ease;
}

.leistung-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(44, 62, 80, 0.14);
}

.leistung-card:hover::before {
    transform: scaleX(1);
}

.leistung-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.leistung-icon svg {
    width: 42px;
    height: 42px;
    color: #2c3e50;
}

.leistung-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.leistung-card p {
    color: #5f6f7e;
    font-size: 15px;
    line-height: 1.8;
}

.leistung-list {
    list-style: none;
    text-align: left;
    margin-top: 5px;
}

.leistung-list li {
    color: #5f6f7e;
    font-size: 14.5px;
    line-height: 1.7;
    padding-left: 26px;
    position: relative;
    margin-bottom: 6px;
}

.leistung-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #b8860b;
    font-weight: 700;
}

.expand-toggle {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.expand-toggle::after {
    content: "";
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-right: 1.6px solid #9aa8b3;
    border-bottom: 1.6px solid #9aa8b3;
    transform: rotate(45deg);
    transition: transform 0.25s;
    margin-top: -3px;
}

.expandable.is-open .expand-toggle::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.expand-toggle:hover {
    color: #2c3e50;
}

.expand-desc {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    color: #7a8994;
    font-size: 13.5px;
    line-height: 1.6;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.expandable.is-open .expand-desc {
    max-height: 100px;
    opacity: 1;
    margin-top: 8px;
}

/* GALERIE */
.galerie {
    padding: 120px 0;
    background: white;
}

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

.galerie-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    aspect-ratio: 1 / 1;
}

.galerie-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.reference-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 60px;
}

.project {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(44, 62, 80, 0.06);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.project:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(44, 62, 80, 0.1);
}

.project h3 {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
}

.vn-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.vn-comparison .vn-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s;
}

.vn-comparison .vn-item:hover img {
    transform: scale(1.03);
}

/* WARUM WIR */
.warum {
    padding: 120px 0;
    background: #f8f9fa;
}

.warum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.warum-item {
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
}

.warum-item:hover {
    transform: translateY(-5px);
}

.warum-item .icon {
    width: 42px;
    height: 42px;
    color: #2c3e50;
    display: block;
    margin: 0 auto 20px;
}

.warum-item h3 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.warum-item p {
    color: #5f6f7e;
    font-size: 15px;
    line-height: 1.7;
}

/* SERVICEGEBIET */
.servicegebiet {
    padding: 100px 0;
    background: #2c3e50;
    color: white;
    text-align: center;
}

.servicegebiet h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
}

.service-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.service-icon {
    width: 36px;
    height: 36px;
    color: white;
    display: block;
    margin: 0 auto 16px;
}

.service-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.service-item p {
    font-size: 16px;
    opacity: 0.9;
}

/* KONTAKT */
.kontakt {
    padding: 120px 0;
    background: #f8f9fa;
}

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

.kontakt-info {
    text-align: center;
    padding: 45px 30px;
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(44, 62, 80, 0.07);
    transition: all 0.3s;
}

.kontakt-info:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(44, 62, 80, 0.12);
}

.kontakt-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef2f6, #dbe4ec);
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.kontakt-info:hover .kontakt-icon {
    background: linear-gradient(135deg, #2c3e50, #c9a355);
}

.kontakt-icon svg {
    width: 26px;
    height: 26px;
    color: #2c3e50;
    transition: color 0.3s;
}

.kontakt-info:hover .kontakt-icon svg {
    color: white;
}

.kontakt-info h3 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 17px;
}

.kontakt-info a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 700;
    font-size: 19px;
}

.kontakt-info a:hover {
    color: #34495e;
}

.kontakt-sub {
    font-size: 13px;
    color: #5f6f7e;
    margin-top: 10px;
}

/* KONTAKT FORM */
.kontakt-form {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 14px;
    border: none;
    box-shadow: 0 25px 60px rgba(44, 62, 80, 0.12);
    overflow: hidden;
}

.kontakt-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2c3e50, #c9a355);
}

.form-badge {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2c3e50;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.form-badge svg {
    width: 24px;
    height: 24px;
    color: white;
}

.kontakt-form h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 26px;
}

.form-intro {
    text-align: center;
    color: #5f6f7e;
    margin-bottom: 30px;
    font-size: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

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

.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: #2c3e50;
}

.kontakt-form input,
.kontakt-form textarea,
.form-select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    background: #fbfbfc;
    transition: all 0.25s;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235f6f7e' stroke-width='1.6' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
    color: #2c3e50;
}

.kontakt-form input:hover,
.kontakt-form textarea:hover,
.form-select:hover {
    border-color: #c5c5c5;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #2c3e50;
    background: white;
    box-shadow: 0 0 0 4px rgba(44, 62, 80, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 14px 16px;
    background: #f8f9fa;
    border-radius: 6px;
    color: #5f6f7e;
    font-size: 14px;
    cursor: pointer;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.checkbox-label a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
}

.btn-submit {
    width: 100%;
    font-size: 16px;
    padding: 16px 50px;
    margin-top: 10px;
}

.form-footer {
    text-align: center;
    color: #5f6f7e;
    font-size: 13px;
    margin-top: 20px;
}

/* SCROLL REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 40px;
    cursor: pointer;
    font-weight: 300;
    transition: color 0.3s;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    font-family: inherit;
}

.lightbox-close:hover {
    color: #bbb;
}

.lightbox-close:focus-visible {
    outline: 2px solid white;
    outline-offset: 3px;
}

.lightbox-trigger {
    cursor: pointer;
}

.lightbox-trigger:focus-visible {
    outline: 3px solid #2c3e50;
    outline-offset: 2px;
}

/* FOOTER */
.footer {
    background: #1e2b38;
    color: #cbd5df;
    padding: 70px 0 30px;
}

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

.footer-brand h4 {
    color: white;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.footer-content h4 {
    color: white;
    margin-bottom: 18px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-content p {
    color: #9aabb8;
    margin-bottom: 12px;
    font-size: 14.5px;
    line-height: 1.6;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-contact-item svg {
    width: 17px;
    height: 17px;
    color: #6b98c4;
    flex-shrink: 0;
}

.footer-content a {
    color: #cbd5df;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s;
}

.footer-content a:hover {
    color: white;
}

.footer-links a {
    display: block;
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #96a9b8;
    font-size: 13.5px;
}

.footer-bottom a {
    color: #9aabb8;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 12px;
    }

    .logo h1 {
        font-size: 20px;
    }

    .nav {
        gap: 20px;
        font-size: 14px;
    }

    .hero {
        min-height: 400px;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .section-header p {
        font-size: 16px;
    }

    .leistungen-grid,
    .warum-grid {
        grid-template-columns: 1fr;
    }

    .kontakt-form {
        padding: 40px 25px;
    }

    .stats .container {
        gap: 30px;
    }

    .service-details {
        grid-template-columns: 1fr;
    }

    /* Sections: weniger Weißraum auf dem Handy */
    .vorher-nachher,
    .leistungen,
    .galerie,
    .warum,
    .kontakt,
    .servicegebiet {
        padding: 60px 0;
    }

    .hero {
        min-height: 450px;
    }

    /* Vorher-Nachher oben: untereinander statt nebeneinander */
    .vorher-nachher-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vn-item img {
        height: 260px;
    }

    /* Referenzprojekte: ein Projekt pro Zeile */
    .reference-projects {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Vorher/Nachher je Projekt: nebeneinander, aber schmaler */
    .vn-comparison {
        gap: 10px;
    }

    .vn-comparison .vn-item img {
        height: 160px;
    }

    .vn-label {
        top: 10px;
        left: 10px;
        padding: 6px 10px;
        font-size: 11px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .kontakt-grid {
        gap: 20px;
        margin-bottom: 50px;
    }

    .footer-content {
        gap: 30px;
        text-align: center;
    }
}

/* Sehr kleine Handys */
@media (max-width: 400px) {
    .hero h2 {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .vn-comparison .vn-item img {
        height: 130px;
    }

    .kontakt-form {
        padding: 30px 18px;
    }
}
