/* ===================================
   H.Holtkamp – Leistungs-Unterseiten
   Ergänzt styles.css (Header bleibt weiss, main hat 100px Offset)
   =================================== */

/* Bild-Hero der Leistungsseite */
.leistung-hero {
    position: relative;
    min-height: 60vh;
    min-height: 60svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
}
.leistung-hero__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.leistung-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(16,51,26,.55) 0%, rgba(8,20,12,.45) 45%, rgba(6,16,10,.78) 100%);
}
.leistung-hero .container { position: relative; z-index: 2; padding: 4.5rem 1rem; }
.leistung-hero .l-kicker {
    display: inline-block;
    font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
    color: #cdefd3; margin-bottom: 1rem;
}
.leistung-hero h1 {
    color: #fff;
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    line-height: 1.1;
    margin: 0 0 1rem;
    text-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.leistung-hero p.l-sub {
    color: rgba(255,255,255,.93);
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto 2rem;
    text-shadow: 0 1px 14px rgba(0,0,0,.5);
}
.leistung-hero .l-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.leistung-hero .l-cta .btn-call {
    background: #fff; color: var(--primary-dark);
    padding: 1rem 2.1rem; border-radius: 50px; font-weight: 700; font-size: 1.05rem;
    text-decoration: none; display: inline-flex; align-items: center; gap: .55rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.28); transition: transform .25s ease;
}
.leistung-hero .l-cta .btn-call:hover { transform: translateY(-3px); }
.leistung-hero .l-cta .btn-ghost {
    background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.7);
    padding: 1rem 2.1rem; border-radius: 50px; font-weight: 600; font-size: 1.05rem;
    text-decoration: none; display: inline-flex; align-items: center; gap: .55rem;
    backdrop-filter: blur(4px); transition: background .25s ease, transform .25s ease;
}
.leistung-hero .l-cta .btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-3px); }

/* Inhalt */
.leistung-intro { max-width: 760px; }
.leistung-intro p { font-size: 1.12rem; line-height: 1.85; color: var(--text-secondary); }
.leistung-list {
    list-style: none; padding: 0; margin: 1.75rem 0 0;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: .3rem 1.5rem;
}
.leistung-list li {
    padding: .6rem 0 .6rem 1.8rem; position: relative; color: var(--text-secondary); font-size: 1.02rem;
}
.leistung-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; font-size: 1.1rem; }

/* Weitere Leistungen (Querverlinkung) */
.weitere-leistungen { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.weitere-leistungen a {
    display: inline-block; padding: .55rem 1.15rem; border: 1px solid var(--bg-gray);
    border-radius: 50px; color: var(--text-primary); text-decoration: none; font-size: .92rem; font-weight: 500;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.weitere-leistungen a:hover { border-color: var(--primary); color: var(--primary); background: var(--pale-green); }

/* Grüne CTA-Leiste */
.leistung-cta { background: var(--primary); color: #fff; text-align: center; }
.leistung-cta h2 { color: #fff; margin-bottom: 1rem; }
.leistung-cta .l-cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.leistung-cta a.b-white { background: #fff; color: var(--primary); padding: 1rem 2rem; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.leistung-cta a.b-line { background: transparent; border: 2px solid #fff; color: #fff; padding: 1rem 2rem; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 1.1rem; }

@media (max-width: 768px) {
    .leistung-hero { min-height: 56vh; min-height: 56svh; }
    .leistung-hero .l-cta { flex-direction: column; align-items: center; }
    .leistung-hero .l-cta .btn-call, .leistung-hero .l-cta .btn-ghost { width: 100%; max-width: 320px; justify-content: center; }
}
