/* =========================================
   Startseite (F-039) – weiße Boxen auf grauem Grund,
   Farben und Karten wie Profil-Editor und Company-Settings
   ========================================= */

.home {
    padding: 0 0 48px 0;
}

/* main.css: width 100% + padding ohne border-box ist 64px breiter als der Bildschirm */
.main-content {
    box-sizing: border-box;
}

/* Suche als erste weiße Box */
.home .hero {
    background-color: #ffffff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(63, 63, 68, 0.05), 0 1px 3px 0 rgba(63, 63, 68, 0.15);
    padding: 56px 40px;
    margin: 0 auto 24px auto;
    scroll-margin-top: 24px;
}

.home .hero .container {
    padding: 0;
}

.home .hero__title {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.home .hero__text {
    margin-bottom: 32px;
}

/* Allgemeine Sektion */
.home-section {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(63, 63, 68, 0.05), 0 1px 3px 0 rgba(63, 63, 68, 0.15);
    padding: 40px;
    margin-bottom: 24px;
}

.home-section__eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6d7175;
    font-weight: 600;
    margin-bottom: 8px;
}

.home-section__title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.home-section__lead {
    font-size: 1rem;
    max-width: 640px;
    margin-bottom: 32px;
}

/* Vorteile: drei eigene Boxen */
.home-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.home-benefit {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(63, 63, 68, 0.05), 0 1px 3px 0 rgba(63, 63, 68, 0.15);
    padding: 28px;
}

.home-benefit__icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #e3f1ed;
    color: #008060;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.home-benefit__title {
    font-size: 1rem;
    margin-bottom: 6px;
}

.home-benefit__text {
    margin-bottom: 0;
}

/* So funktioniert's */
.home-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.home-step__number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #008060;
    color: #008060;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.home-step__title {
    font-size: 1rem;
    margin-bottom: 4px;
}

.home-step__text {
    margin-bottom: 0;
}

/* Leistungen: Baumfällung & Baumpflege */
.home-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.home-service {
    border: 1px solid #e1e3e5;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.home-service__title {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.home-service__text {
    flex: 1;
}

/* Sekundärer Button im Polaris-Stil */
.home-link-button {
    align-self: flex-start;
    background-color: #ffffff;
    border: 1px solid #c9cccf;
    border-radius: 6px;
    color: #202223;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.home-link-button:hover {
    background-color: #f9fafb;
}

/* Brennholz: Nachhaltigkeit als einfache Kette */
.home-firewood {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.home-firewood__text p {
    font-size: 1rem;
}

.home-chain {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-chain__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background-color: #f9fafb;
    border: 1px solid #e1e3e5;
    border-radius: 8px;
    padding: 14px 16px;
}

.home-chain__item--highlight {
    background-color: #e3f1ed;
    border-color: #b4dccf;
}

.home-chain__marker {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #008060;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-chain__item strong {
    display: block;
    color: #202223;
}

.home-chain__item span {
    color: #6d7175;
}

/* Call-to-Action */
.home-cta {
    text-align: center;
}

.home-cta .home-section__lead {
    margin: 0 auto 24px auto;
}

/* Smartphone */
@media (max-width: 760px) {
    .main-content {
        padding: 16px;
    }

    .home .hero {
        padding: 32px 20px;
    }

    .home .hero__title {
        font-size: 1.875rem;
    }

    .home-section {
        padding: 24px 20px;
    }

    .home-benefits,
    .home-steps,
    .home-services,
    .home-firewood {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-firewood {
        gap: 24px;
    }
}
