/* ===== LEISTUNG & PREISE ===== */
:root {
    --primary-color: #7a5268;
}

.white {
    color: var(--accent, #b5706b);
    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(24px, 4vw, 34px);
    color: var(--primary-color, #7a5268);
}

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

#lp-header p {
    font-size: clamp(14px, 1.6vw, 16px);
    max-width: 600px;
    margin: 12px auto 0;
    color: var(--text-light, #7a6b68);
}

/* ---- 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;
    padding: clamp(25px, 3vw, 45px) clamp(20px, 2.5vw, 40px);
    background: 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(181, 112, 107, 0.1);
    position: relative;
    overflow: hidden;
}

/* Farbiger Balken oben auf Karte */
.liste-nagel::before,
#liste .liste-fuss::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent, #b5706b), var(--primary-color, #7a5268));
    border-radius: 28px 28px 0 0;
}

.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, #7a5268);
    font-size: clamp(18px, 2.5vw, 24px);
    padding-bottom: 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(181, 112, 107, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

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

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

.table td {
    padding: clamp(10px, 1.2vw, 14px) 6px;
    color: var(--text-color, #3a3232);
    font-size: clamp(13px, 1.5vw, 15px);
    vertical-align: middle;
}

.table tr td:last-child {
    font-weight: 700;
    text-align: right;
    color: var(--accent, #b5706b);
    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 12px 30px;
    }

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

    .table td {
        font-size: 13px;
        padding: 9px 4px;
    }
}