/* --------- Page hero (compact) --------- */
.page-hero {
    background: var(--white);
    padding: 96px 0 56px;
    border-bottom: 1px solid var(--gray-200);
}
.page-hero .crumb {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.page-hero .crumb a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.15s ease;
}
.page-hero .crumb a:hover {
    color: var(--green);
}
.page-hero h1 {
    font-size: clamp(34px, 4.2vw, 52px);
    margin-bottom: 16px;
}
.page-hero .lede {
    max-width: 68ch;
}

/* --------- Accordion --------- */
.accordion-section {
    padding: 32px 0 80px;
    background: var(--white);
}
.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.acc-item {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    background: var(--white);
}

.acc-trigger {
    width: 100%;
    display: grid;
    grid-template-columns: 64px 1fr 32px;
    align-items: center;
    gap: 20px;
    padding: 22px 28px;
    background: var(--green);
    color: var(--white);
    border: 0;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.18s ease;
}
.acc-trigger:hover,
.acc-trigger:focus-visible {
    background: var(--green-dark);
    outline: none;
}
.acc-num {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    opacity: 0.85;
}
.acc-title {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    color: var(--white);
}
.acc-chevron {
    width: 24px;
    height: 24px;
    color: var(--white);
    transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
    justify-self: end;
}
.acc-item[data-open="true"] .acc-chevron {
    transform: rotate(180deg);
}

.acc-content-wrap {
    overflow: hidden;
    background: var(--white);
    height: 0;
    transition: height 0.36s cubic-bezier(0.2, 0.7, 0.2, 1);
}
/* When script detects a paused animation timeline (e.g. some embed
     iframes), disable the transition so heights snap and content
     still appears correctly. */
.acc-content-wrap.no-anim {
    transition: none;
}
.acc-body {
    padding: 24px 28px 32px;
}
.acc-intro {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-500);
    margin: 0 0 22px;
    max-width: 72ch;
}

/* Cards for individual services */
.leistung-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 820px) {
    .leistung-grid {
        grid-template-columns: 1fr;
    }
}

.leistung-card {
    background: var(--gray-100);
    border-left: 4px solid var(--green);
    border-radius: 8px;
    padding: 18px 22px;
}
.leistung-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 6px;
    letter-spacing: 0;
    line-height: 1.3;
}
.leistung-card p {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--gray-500);
    margin: 0;
}

/* When an accordion is open and the user lands via anchor, give a soft highlight */
.acc-item.target-pulse {
    animation: targetPulse 1.6s ease-out 1;
}
@keyframes targetPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(44, 150, 100, 0.45);
    }
    60% {
        box-shadow: 0 0 0 10px rgba(44, 150, 100, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(44, 150, 100, 0);
    }
}

/* --------- Contact band --------- */
.contact-band {
    background: var(--gray-100);
    padding: 72px 0;
}
.contact-band h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    margin-bottom: 12px;
}
.contact-band .lede {
    margin-bottom: 32px;
    max-width: 60ch;
}
.contact-grid-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
@media (max-width: 820px) {
    .contact-grid-detail {
        grid-template-columns: 1fr;
    }
}
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-info-list li {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: start;
    gap: 14px;
    font-size: 15px;
    color: var(--black);
}
.contact-info-list li .label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    margin-bottom: 2px;
    font-weight: 600;
}
.contact-info-list .icon-wrap {
    width: 28px;
    height: 28px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-info-list a {
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
}
.contact-info-list a:hover {
    color: var(--green);
}

.contact-cta-block {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    padding: 32px;
}
.contact-cta-block h3 {
    font-size: 20px;
    margin: 0 0 8px;
}
.contact-cta-block p {
    font-size: 14.5px;
    color: var(--gray-500);
    margin: 0 0 22px;
}
.contact-cta-block .btn-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-cta-block .btn {
    width: 100%;
}

/* Back to home, below the accordion */
.back-home {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

@media (max-width: 640px) {
    .acc-trigger {
        grid-template-columns: 44px 1fr 24px;
        gap: 14px;
        padding: 18px 20px;
    }
    .acc-body {
        padding: 20px 20px 24px;
    }
    .page-hero {
        padding: 80px 0 40px;
    }
}
