/* ============================================================
   DESKTOP – FUTURISTISCHER KRISTALLWEISS + BLUR + NEON-BLAU
============================================================ */
@media (min-width: 900px) {

    /* Layout */
    .epa-layout {
        display: flex;
        flex-direction: row;
        gap: 40px;
        width: 100%;
        padding: 0 40px;
        margin: 40px 0;
    }

    /* Sidebar links */
    .epa-sidebar {
        width: 260px;
        display: flex;
        flex-direction: column;
    }

    .epa-sidebar button {
        background: rgba(255,255,255,0.45);
        backdrop-filter: blur(8px);
        border: none;
        border-bottom: 1px solid rgba(230,230,230,0.4);
        padding: 18px 20px;
        font-size: 1.05rem;
        font-weight: 600;
        color: #1a1a1a;
        text-align: left;
        white-space: normal;
        line-height: 1.35;
        position: relative;
        cursor: pointer;
        transition: 0.25s ease;
    }

    .epa-sidebar button:hover {
        background: rgba(255,255,255,0.75);
        transform: translateY(-2px);
    }

    /* Aktiver Tab – NEON LICHTSTAB */
    .epa-sidebar button.active {
        background: rgba(255,255,255,0.25);
        backdrop-filter: blur(10px);
        color: var(--epa-accent);
        font-weight: 700;
    }

    .epa-sidebar button.active::after {
        content: "";
        position: absolute;
        left: 10px;
        right: 10px;
        bottom: 0;
        height: 4px;
        background: #4dcaff;
        box-shadow: 0 0 12px #4dcaff, 0 0 24px #4dcaff;
        border-radius: 4px;
    }

    /* Inhalt rechts */
    .epa-content {
        width: 100%;
        display: block;
    }

    /* Nur aktiver Tab sichtbar */
    .hori-content {
        display: none;
    }

    .hori-content.active {
        display: block;
    }

    /* Mobile Tabs ausblenden */
    .hori-wrapper,
    .hori-menu {
        display: none !important;
    }
}

/* Inhalt-Grid */
.tw-inner {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 80px;
    align-items: start;
}

/* ============================================================
   EXKLUSIVER EPA-ENERGIE-CHECK
============================================================ */

.energiecheck {
    margin-top: 50px;
    padding: 35px;
    border-radius: 18px;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.ec-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ec-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--epa-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ec-subtitle {
    font-size: 1.9rem;
    font-weight: 800;
    margin-top: -10px;
    color: #0f1417;
}

.ec-text {
    font-size: 1.1rem;
    opacity: 0.85;
}

/* ============================================================
   FORMULAR
============================================================ */

.ec-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 6px;
}

.ec-field label {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f1417;
}

/* ============================================================
   OPTION BUTTONS
============================================================ */

.ec-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ec-options button {
    padding: 12px 18px;
    background: rgba(255,255,255,0.35);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    position: relative;
    transition: 0.25s ease;
}

.ec-options button:hover {
    background: rgba(255,255,255,0.75);
    transform: translateY(-2px);
}

.ec-options button.active {
    color: var(--epa-accent);
    font-weight: 700;
}

.ec-options button.active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 4px;
    background: #4dcaff;
    box-shadow: 0 0 12px #4dcaff, 0 0 24px #4dcaff;
    border-radius: 4px;
}

/* ============================================================
   NUMBER PICKER
============================================================ */

.ec-number-picker {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(8px);
    padding: 10px 14px;
    border-radius: 12px;
}

.ec-number-picker button {
    background: rgba(255,255,255,0.75);
    border: none;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.ec-number-picker button:hover {
    background: rgba(255,255,255,0.95);
    transform: translateY(-2px);
}

.ec-number-picker input {
    width: 90px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.15);
    font-size: 1rem;
}

/* ============================================================
   SLIDER
============================================================ */

#wohnflaeche {
    width: 100%;
    accent-color: var(--epa-accent);
}

#wohnflaeche-input {
    width: 100px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.15);
}

/* ============================================================
   KONTAKTDATEN
============================================================ */

.ec-field input[type="text"],
.ec-field input[type="tel"],
.ec-field input[type="email"] {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(6px);
    font-size: 1rem;
    transition: 0.25s ease;
}

.ec-field input:hover {
    background: rgba(255,255,255,0.85);
}

.ec-field input:focus {
    outline: none;
    border-color: var(--epa-accent);
    box-shadow: 0 0 10px rgba(94,203,255,0.5);
}

/* ============================================================
   SUBMIT BUTTON
============================================================ */

.ec-submit {
    width: 100%;
    padding: 14px;
    margin-top: 6px;
    background: var(--epa-accent);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 0 18px rgba(94,203,255,0.6);
    transition: 0.25s ease;
}

.ec-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 28px rgba(94,203,255,0.9);
}

/* ============================================================
   TITELBLOCK – IDENTISCH WIE TRAGWERKSPLANUNG
============================================================ */

/* Abstand unter Header */
body.energie-page {
    padding-top: 120px !important;
}

/* Titelblock */
.energie-page .tw-head-left {
    padding: 40px 40px 20px;
}

/* H1 */
.energie-page .tw-head-inner-left h1 {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.1;
}

/* Untertitel */
.energie-page .tw-head-inner-left p {
    font-size: 1.3rem;
    opacity: 0.8;
}

/* Container */
.energie-page .tw-head-inner-left {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================================================
   FOOTER FIX
============================================================ */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#footer {
    margin-top: auto;
}
