/* =================================================================== */
/* --- Stylesheet für Seite "Service" --- */
/* =================================================================== */

.se-col-text h2 {
    font-size: 2.6rem;
}

/* Grund-Sektionen */
.service-page .section-white {
    background-color: var(--weiss);
}
.service-page .section-light-gray {
    background-color: var(--hintergrundfarbe-1);
}

/* Globale Container */
.se-intro-section .container,
.se-split-section .container,
.se-download-section .container,
.se-dealer-section .container {
    max-width: 1450px;
    text-align: left;
}

/* Hero */
.service-page .hero-section {
    height: 30vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
}

/* Rote Subline */
.service-page .subheadline.red {
    color: var(--akzentfarbe);
    font-size: 1.1rem;
}
.subheadline.gray {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 500;
    color: #6a6a69;
}

.subheadline.red {
    margin-bottom: 0 !important;
    font-weight: 500 !important;

}

.intro-text {
    max-width: 900px;
}
/* =================================================================== */
/* --- 2-Spalten Layout (Grid) --- */
/* =================================================================== */

.se-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.se-col-text {
    /* Standard Textspalte */
}

.se-col-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.se-col-downloads {
    /* Spalte die nur Downloads enthält */
}

.se-col-form {
    background: #f9f9f9;
    padding: 1.5rem;
    border: 1px solid #eee;
}

.se-col-form h3 {
    font-size: 1.5rem;
    color: var(--hauptfarbe-1);
    margin-bottom: 1rem;
}

/* =================================================================== */
/* --- Full Width Image Section (Sektion 3) --- */
/* =================================================================== */

.se-full-width-image {
    width: 100%;
    height: 60vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* =================================================================== */
/* --- Downloads Grid --- */
/* =================================================================== */

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.download-grid.col-2 {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
}

.download-card {
    display: flex;
    align-items: center;
    background: var(--weiss);
    padding: 1.5rem;
    border: 1px solid #ddd;
    text-decoration: none;
    transition:
            transform 0.3s ease,
            box-shadow 0.3s ease,
            border-color 0.3s ease;
}

.pro-downloads .download-card {
    background: #f9f9f9;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: var(--akzentfarbe);
}

.download-card .icon-box {
    width: 50px;
    height: 50px;
    background: var(--akzentfarbe);
    color: var(--weiss);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.download-card .file-ext {
    font-weight: bold;
    font-size: 0.9rem;
}

.dl-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: var(--hauptfarbe-1);
}

.dl-link-text {
    font-size: 0.9rem;
    color: var(--hauptfarbe-3);
    text-decoration: underline;
}

.download-card:hover .dl-link-text {
    color: var(--akzentfarbe);
}

/* =================================================================== */
/* --- Kompaktes Grid Formular (12 Spalten System) --- */
/* =================================================================== */

.se-contact-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0.75rem;
    align-items: end;
}

.wpcf7-form p {
    line-height: 1;
}

.intro-text-form {
    margin-bottom: 1rem;
}

/* Spalten-Logik */
.se-field {
    width: 100%;
}

.span-12 { grid-column: span 12; }
.span-6  { grid-column: span 6; }
.span-4  { grid-column: span 4; }
.span-3  { grid-column: span 3; }
.span-2  { grid-column: span 2; }

/* Standard Label Styling */
.se-contact-grid label {
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: block;
    color: var(--hauptfarbe-1);
    font-size: 0.85rem;
}

.se-contact-grid small {
    font-weight: normal;
    color: #999;
}

/* Inputs stylen */
.se-contact-grid input[type="text"],
.se-contact-grid input[type="email"],
.se-contact-grid input[type="tel"],
.se-contact-grid select,
.se-contact-grid textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 0.95rem;
    border-radius: 0;
    box-sizing: border-box;
    height: 44px;
}

.se-contact-grid textarea {
    height: 100px;
    resize: vertical;
    padding-top: 10px;
    line-height: 1.4;
}

/* Checkbox und Acceptance Styling */
.se-contact-grid .wpcf7-checkbox,
.se-contact-grid .wpcf7-acceptance {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    grid-column: span 12;
    margin-bottom: 0;
}

.se-contact-grid .wpcf7-checkbox span,
.se-contact-grid .wpcf7-acceptance span {
    display: inline-flex;
    align-items: unset;
    gap: 0.15rem;
    margin: 0;
}

.se-contact-grid input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    cursor: pointer;
    border: 1px solid #ccc;
    accent-color: var(--akzentfarbe);
}

.se-contact-grid .wpcf7-checkbox label,
.se-contact-grid .wpcf7-acceptance label {
    margin-bottom: 0;
    margin-left: 0;
    font-weight: normal;
    display: inline;
    font-size: 0.95rem;
    color: var(--hauptfarbe-3);
}

/* Submit Button */
.se-contact-grid .submit-wrapper {
    grid-column: span 12;
    display: flex;
}

.se-contact-grid .submit-wrapper input[type="submit"] {
    background-color: var(--akzentfarbe);
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto;
    height: auto;
    margin-top: 0.5rem;
}

.se-contact-grid .submit-wrapper input[type="submit"]:hover {
    background-color: var(--hauptfarbe-1);
}

/* =================================================================== */
/* --- Dateiupload-Styling --- */
/* =================================================================== */

.se-contact-grid input[type="file"] {
    background-color: #fff;
    border: 1px dashed #ccc;
    color: var(--hauptfarbe-1);
    padding: 0.625rem;
    width: 100%;
    font-family: inherit;
    cursor: pointer;
    font-size: 0.95rem;
    box-sizing: border-box;
    height: auto;
    margin-top: 15px;
}

.se-contact-grid input[type="file"]::file-selector-button {
    background-color: var(--akzentfarbe);
    color: #fff;
    border: none;
    padding: 0.5rem 1.25rem;
    margin-right: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}

.se-contact-grid input[type="file"]::file-selector-button:hover {
    background-color: var(--hauptfarbe-1);
}



/* =================================================================== */
/* --- RESPONSIVE --- */
/* =================================================================== */

@media (max-width: 1200px) {
    .se-split-layout {
        gap: 3rem;
    }

    .download-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }

    .download-grid.col-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .se-split-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .se-col-media {
        order: -1;
    }

    .se-full-width-image {
        height: 35vh;
        min-height: 250px;
    }

    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-grid.col-2 {
        grid-template-columns: 1fr;
    }

    .se-col-text h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .service-page .hero-section {
        height: 22vh;
        min-height: 200px;
    }

    .se-split-layout {
        gap: 2rem;
    }

    .se-col-text h2 {
        font-size: 1.8rem;
    }

    .download-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .download-grid.col-2 {
        grid-template-columns: 1fr;
    }

    .download-card {
        padding: 1.25rem;
    }

    .download-card .icon-box {
        width: 45px;
        height: 45px;
        margin-right: 1rem;
    }

    .dl-content h4 {
        font-size: 1rem;
    }

    .se-col-form {
        padding: 1.25rem;
    }

    .se-col-form h3 {
        font-size: 1.3rem;
    }

    .se-contact-grid input[type="text"],
    .se-contact-grid input[type="email"],
    .se-contact-grid input[type="tel"],
    .se-contact-grid select,
    .se-contact-grid textarea {
        height: 40px;
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    .se-contact-grid textarea {
        height: 80px;
    }

    .se-contact-grid label {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }

    .se-contact-grid .submit-wrapper input[type="submit"] {
        padding: 10px 24px;
        font-size: 0.95rem;
    }

    .intro-text {
        max-width: 100%;
    }

    .se-split-section .container,
    .se-intro-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 480px) {
    .service-page .hero-section {
        height: 18vh;
        min-height: 150px;
    }

    .se-col-text h2 {
        font-size: 1.5rem;
    }

    .download-grid {
        gap: 1rem;
    }

    .download-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .download-card .icon-box {
        margin-right: 0;
        margin-bottom: 0.75rem;
        width: 40px;
        height: 40px;
    }

    .dl-content h4 {
        font-size: 0.95rem;
    }

    .se-col-form {
        padding: 1rem;
    }

    .se-col-form h3 {
        font-size: 1.1rem;
    }

    .se-contact-grid {
        gap: 0.5rem;
    }

    .se-contact-grid input[type="text"],
    .se-contact-grid input[type="email"],
    .se-contact-grid input[type="tel"],
    .se-contact-grid select,
    .se-contact-grid textarea {
        height: 38px;
        padding: 7px 10px;
    }

    .se-contact-grid textarea {
        height: 70px;
    }

    .se-contact-grid label {
        font-size: 0.75rem;
    }

    .se-contact-grid .submit-wrapper input[type="submit"] {
        width: 100%;
        padding: 12px 20px;
    }

    .subheadline.red,
    .subheadline.gray {
        font-size: 0.95rem;
    }
}