/* ===== LEISTUNG & PREISE ===== */
:root {
    --primary-color: #0e6b6b;
}

.white {
    color: var(--accent, #9e5a57);
    font-weight: 700;
}

#lpmain {
    background:
        linear-gradient(rgba(250, 245, 240, 0.97), rgba(250, 245, 240, 0.88)),
        url(/img/hintergrund1.jpg) center / cover fixed;
    padding: var(--spacing-section, 70px) 0;
    min-height: calc(100vh - 160px);
}

/* ---- Seitenheader ---- */
#lp-header {
    text-align: center;
    padding: 10px clamp(15px, 4vw, 40px) clamp(28px, 4vw, 48px);
    position: relative;
}

#lp-header h1 {
    font-size: clamp(26px, 4vw, 36px);
    color: var(--primary-color, #4e3050);
}

#lp-header h1::after {
    content: '';
    display: block;
    width: 45px;
    height: 2px;
    background: var(--accent, #9e5a57);
    margin: 12px auto 0;
    border-radius: 2px;
}

#lp-header p {
    font-size: clamp(15px, 1.6vw, 17px);
    max-width: 600px;
    margin: 12px auto 0;
    color: var(--text-color, #2c2020);
}

/* ---- Preiskarten ---- */
#liste {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 30px) clamp(35px, 5vw, 65px);
    display: flex;
    justify-content: center;
    gap: clamp(18px, 2.5vw, 40px);
    flex-wrap: wrap;
}

.liste-nagel,
#liste .liste-fuss {
    flex: 1 1 300px;
    max-width: 500px;
    min-width: 0;
    /* Farbbalken als Hintergrund-Layer – kein overflow:hidden noetig */
    padding: clamp(29px, 3vw, 49px) clamp(20px, 2.5vw, 40px) clamp(25px, 3vw, 45px);
    background:
        linear-gradient(90deg, var(--accent, #9e5a57), var(--primary-color, #4e3050)) top / 100% 4px no-repeat,
        var(--card-bg, #fffef9);
    border-radius: 28px;
    box-shadow: var(--shadow, 0 8px 28px rgba(90,50,40,0.09));
    transition: var(--transition, all 0.3s ease);
    border: 1px solid rgba(26, 150, 150, 0.1);
    box-sizing: border-box;
}

/* ::before entfernt – Balken ist jetzt im background-Layer eingebaut */

.liste-nagel:hover,
#liste .liste-fuss:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover, 0 16px 40px rgba(90,50,40,0.14));
}

/* Karten-Überschrift */
.liste-nagel h2,
#liste .liste-fuss h2 {
    color: var(--primary-color, #4e3050);
    font-size: clamp(19px, 2.5vw, 25px);
    padding-bottom: 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(26, 150, 150, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Tabelle */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table tr {
    border-bottom: 1px solid rgba(26, 150, 150, 0.08);
    transition: var(--transition, all 0.3s ease);
}

.table tr:last-child {
    border-bottom: none;
}

.table tr:hover td {
    color: var(--accent, #9e5a57);
}

.table td {
    padding: clamp(10px, 1.2vw, 14px) 6px;
    color: var(--text-color, #2c2020);
    font-size: clamp(14px, 1.5vw, 16px);
    vertical-align: middle;
    word-break: break-word;
}

.table tr td:first-child {
    width: 100%;
}

.table tr td:last-child {
    font-weight: 700;
    text-align: right;
    color: var(--accent, #9e5a57);
    white-space: nowrap;
    padding-left: 14px;
}

#table_med {
    width: auto;
}

/* ===== TABLET (≤ 900px) ===== */
@media (max-width: 900px) {
    #lpmain {
        background-attachment: scroll;
    }
}

/* ===== MOBILE (≤ 600px) ===== */
@media (max-width: 600px) {
    #lpmain {
        padding: 20px 0 35px;
    }

    #liste {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 0 16px 30px;
        box-sizing: border-box;
    }

    .liste-nagel,
    #liste .liste-fuss {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        border-radius: 18px;
        padding: 22px 18px;
    }

    .table {
        table-layout: fixed;
        width: 100%;
    }

    .table tr td:first-child {
        width: auto;
    }

    .table td {
        font-size: 14px;
        padding: 9px 4px;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .table tr td:last-child {
        min-width: 40px;
    }
}