/* Menülinks stoppen unterhalb des Headers */
html {
    scroll-padding-top: 96px;
}

/* Sehr große Monitore: ab 1761px */
@media (min-width: 1761px) {
    .header,
    .hero-oben,
    .hero-unten,
    .section-pakete,
    .ablauf,
    .leistungen,
    .kontakt,
    .footer {
        padding-left: calc((100% - 1440px) / 2);
        padding-right: calc((100% - 1440px) / 2);
    }

    .motto {
        margin-left: calc((100% - 1440px) / 2);
        margin-right: calc((100% - 1440px) / 2);
    }

    .ueber section {
    padding-left: calc((100% - 1440px) / 2);
    padding-right: calc((100% - 1440px) / 2);
}

.ueber .ueber-ziel {
    max-width: 1440px;
    margin: 0 auto;
}
}

/* Tablets und kleine Laptops: 768px bis 1280px */
@media (min-width: 768px) and (max-width: 1280px) {
    .header,
    .section-pakete,
    .ablauf,
    .leistungen,
    .kontakt,
    .footer {
        padding-left: 48px;
        padding-right: 48px;
    }

    .motto {
        margin: 64px 48px;
        padding: 96px 48px;
    }

    .motto-text,
    .kontakt-titel {
        font-size: 64px;
    }

    .paket-liste li {
        padding: 24px;
    }

    .warum {
    padding: 96px 48px;
}

.warum-titel {
    font-size: 64px;
}
.ueber section {
    padding: 96px 48px;
}

.ueber .ueber-ziel {
    margin: 0 48px;
    padding: 72px 48px;
}

.ueber-titel,
.ueber-cta .ueber-h2 {
    font-size: 72px;
}

.ueber-h2 {
    font-size: 52px;
}

.ueber-gruender {
    gap: 48px;
}
}

/* Tablets und Handys: bis 1023px, Mango zwischen Text und Schriftzug */
@media (max-width: 1023px) {
    .hero {
        background-color: #e96614; /* gleicher Ton wie der Hintergrund im Bild */
        background-size: auto 34%;
        background-position: center 37%;
    }

    .hero-oben {
        flex-direction: column;
        justify-content: space-between;
        min-height: 620px;
    }

    .ueber-gruender,
.ueber-schritte,
.ueber-versprechen {
    grid-template-columns: 1fr;
}

.ueber-foto {
    max-width: 420px;
}
}

/* Handys: bis 767px, mit Dropdown-Menü */
@media (max-width: 767px) {
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
    }

    .logo {
        height: 48px;
        width: auto;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .menu-button {
        display: block;
        color: white;
        font-size: 32px;
        line-height: 1;
        cursor: pointer;
    }

    .menu-toggle:focus-visible + .menu-button {
        outline: 2px solid white;
        outline-offset: 4px;
    }

    .navbar {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 16px;
        background-color: black;
    }

    .menu-toggle:checked ~ .navbar {
        display: block;
    }

    .navbar ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        list-style: none;
        padding: 0;
    }

    .contact-btn {
        white-space: nowrap;
    }

    .hero-oben {
        padding: 100px 16px 32px;
    }

    .hero-unten {
        padding: 16px;
    }

    .hero-button a {
        white-space: nowrap;
    }

    .section-pakete,
    .ablauf,
    .leistungen,
    .kontakt {
        padding: 64px 16px;
    }

    .section-pakete h2,
    .ablauf-titel,
    .leistungen-titel {
        font-size: 36px;
    }

    .paket-liste,
    .ablauf-liste,
    .leistungen-spalten,
    .footer-oben {
        grid-template-columns: 1fr;
    }

    .motto {
        margin: 48px 16px;
        padding: 64px 24px;
    }

    .motto-text,
    .kontakt-titel {
        font-size: 40px;
    }

    .ecke {
        width: 32px;
        height: 32px;
    }

    .footer {
        padding: 48px 16px 24px;
    }

    .warum {
    padding: 64px 16px;
}

.warum-titel {
    font-size: 36px;
}

.warum-text p,
.warum-button {
    font-size: 18px;
}

.ueber {
    padding-top: 72px;
}

.ueber section {
    padding: 64px 16px;
}

.ueber .ueber-ziel {
    margin: 0 16px;
    padding: 48px 24px;
}

.ueber-titel,
.ueber-cta .ueber-h2 {
    font-size: 44px;
}

.ueber-h2 {
    font-size: 36px;
}

.ueber .ueber-ziel-text {
    font-size: 30px;
}

.ueber p {
    font-size: 18px;
}

.ueber-versprechen li {
    padding: 28px 24px;
}
}

/* Kleine Handys: unter 480px */
@media (max-width: 479px) {
    .footer-unten {
        flex-direction: column;
        gap: 16px;
    }
}