/* Grundlage */
body.kids-page {
    overflow-x: hidden;
}

body.kids-page section {
    width: 100%;
    height: auto;
    min-height: 0;
}

body.kids-page p {
    max-width: 760px;
}

body.kids-page h1,
body.kids-page h2,
body.kids-page h3,
body.kids-page p {
    margin-top: 0;
}

/* Gemeinsamer content-rahmen */
.kids-section-inner {
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
}

.kids-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
}

/* Hero */
.kids-hero {
    padding: 0px 0 100px;
    scale: .92;
    background: #ffffff;
}

.kids-hero__inner {
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.85fr);
    gap: 80px;
    align-items: center;
}

.kids-hero__content h1 {
    margin-bottom: 30px;
}

.kids-hero__lead {
    margin-bottom: 28px;
}

.kids-hero__content p:not(.kids-hero__lead) {
    margin-bottom: 20px;
}

.kids-hero__image {
    position: relative;
    width: 100%;
}

.kids-hero__image img {
    display: block;
    width: 100%;
    height: 600px;
    border-radius: 20px;
    object-fit: cover;
}

/* Angebote */
.kids-section-heading {
    max-width: 760px;
    margin-bottom: 60px;
}

.kids-section-heading h2 {
    margin-bottom: 22px;
}

.kids-section-heading p {
    margin-bottom: 0;
}

/* Team */
.kids-team {
    padding: 120px 0;
    background: #f7f8fa;
}

.kids-team__content {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e7ec;
    border-radius: 10px;
}

.kids-team__text {
    align-self: center;
    padding: clamp(24px, 4vw, 60px);
}

.kids-team__text .kids-team__lead {
    margin-bottom: 24px;
}

.kids-team__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

/* Packages – kinder & jugendliche */
body.kids-page .kids-packages {
    width: min(1200px, 86%);
    height: auto;
    min-height: 0;
    margin-inline: auto;
    padding-block: clamp(55px, 7vw, 100px);
}

.kids-packages .angebote-section-offer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

.kids-packages .angebote-section-offer {
    min-width: 0;
    height: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.kids-packages .angebote-section-offer-image img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: center;
}

.kids-packages .angebote-section-offer-link {
    margin-top: auto;
}

/* Responsive – tablet */
@media (max-width: 1000px) {
    .kids-packages .angebote-section-offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* Responsive – smartphone */
@media (max-width: 800px) {
    body.kids-page .kids-packages {
        width: 88%;
        padding-block: 55px;
    }

    .kids-packages .angebote-section-offer-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 650px;
        margin-inline: auto;
        gap: 24px;
    }

    .kids-packages .angebote-section-offer-image img {
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 600px) {
    body.kids-page .kids-packages {
        width: calc(100% - 30px);
    }
}

/* Barrierefreiheit */
@media (prefers-reduced-motion: reduce) {
    .kids-packages .angebote-section-offer,
    .kids-packages .angebote-section-offer-image img {
        transition: none;
    }

    .kids-packages .angebote-section-offer:hover,
    .kids-packages .angebote-section-offer:hover img {
        transform: none;
    }
}

/* Faq */
.kids-faq {
    width: 100%;
    padding: 80px 5% 95px;
    background-color: #f5f6f8;
}

.kids-faq > .kids-section-inner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.kids-faq .kids-eyebrow {
    margin-bottom: 10px;
}

.kids-faq .kids-section-heading {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kids-faq__list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.kids-faq__item {
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.kids-faq__item:hover {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}

.kids-faq__question {
    list-style: none;
    display: block;
}

.kids-faq__question::-webkit-details-marker {
    display: none;
}

.kids-faq__question {
    position: relative;
    width: 100%;
    padding: 20px 60px 20px 22px;
    cursor: pointer;
    user-select: none;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.kids-faq__question::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease, color 0.3s ease;
}

.kids-faq__item[open] .kids-faq__question::after {
    content: "−";
    transform: translateY(-50%) rotate(180deg);
}

.kids-faq__answer {
    padding: 0 55px 22px 22px;
    border-top: 1px solid #eeeeee;
}

.kids-faq__answer p {
    margin: 16px 0 0;
}

.kids-faq__answer p:first-child {
    margin-top: 18px;
}

@media (max-width: 800px) {
    .kids-faq {
        padding: 65px 6% 80px;
    }

    .kids-faq > .kids-section-inner {
        max-width: 700px;
    }
}

@media (max-width: 600px) {
    .kids-faq {
        padding: 55px 15px 70px;
    }

    .kids-faq .kids-section-heading {
        margin-bottom: 30px;
    }

    .kids-faq__list {
        gap: 12px;
    }

    .kids-faq__question {
        padding: 18px 50px 18px 18px;
    }

    .kids-faq__question::after {
        right: 18px;
    }

    .kids-faq__answer {
        padding: 0 18px 20px;
    }
}

/* Faq – auf-/zuklapp-animation */
.kids-faq__item::details-content {
    block-size: 0;
    overflow: hidden;
    opacity: 0;
    transition: block-size 0.35s ease, opacity 0.25s ease, content-visibility 0.35s allow-discrete;
}

.kids-faq__item[open]::details-content {
    block-size: auto;
    opacity: 1;
}

.kids-faq__question::marker {
    content: "";
}

/* Cta */
.b2b-anfrage-section {
    padding: clamp(65px, 7vw, 100px) 0;
    background: var(--dark-blue);
}

.b2b-anfrage-section p:not(.b2b-anfrage-section-eyebrow) {
    margin-top: 20px;
}

.b2b-anfrage-section-button {
    background: #ffffff;
    border-color: #ffffff;
}

.b2b-anfrage-section-button:hover {
    background: #eaf2ff;
}

.b2b-anfrage-section-container {
    width: min(1200px, calc(100% - 14%));
    margin-inline: auto;
}

.b2b-anfrage-section-eyebrow {
    margin-bottom: 18px;
}

.b2b-anfrage-section-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 48px;
    margin-top: 28px;
    padding: 14px 22px;
    background: #ffffff;
    border: 1px solid var(--dark-blue);
    border-radius: 10px;
    transition: background .2s ease, transform .2s ease;
}

.b2b-anfrage-section-button:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1000px) {
    .kids-hero__inner {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .kids-hero__image img {
        height: 480px;
    }

    .kids-team__content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 700px) {
    .kids-section-inner,
    .kids-hero__inner {
        width: calc(100% - 40px);
    }

    .kids-hero {
        padding: 70px 0 75px;
    }

    .kids-hero__image img {
        height: 360px;
    }

    .kids-team {
        padding: 75px 0;
    }

    .kids-section-heading {
        margin-bottom: 45px;
    }
}

@media (max-width: 450px) {
    .kids-hero__image img {
        height: 300px;
    }
}
