/* Lustig-Lach- und Lerntag mit Hebi */

.hebi-heading {
    position: relative;
}

.hebi-intro-card {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 28px;
    margin-bottom: 58px;
}

.hebi-intro-content,
.hebi-mascot-card,
.hebi-focus-card,
.hebi-goal-card,
.hebi-pedagogy-card {
    border: 1px solid rgba(97, 86, 66, 0.12);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 34px rgba(62, 54, 41, 0.08);
}

.hebi-intro-content {
    padding: 34px;
}

.hebi-intro-content h2,
.hebi-goal-card h2,
.hebi-pedagogy-card h2 {
    margin: 0 0 16px;
    color: var(--green-dark);
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.hebi-intro-content p,
.hebi-mascot-card p,
.hebi-focus-card p,
.hebi-goal-card p,
.hebi-pedagogy-card p {
    color: var(--muted);
}

.hebi-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hebi-mascot-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    background:
            radial-gradient(
                    circle at 85% 15%,
                    rgba(241, 190, 84, 0.2),
                    transparent 170px
            ),
            linear-gradient(
                    145deg,
                    rgba(238, 244, 226, 0.96),
                    rgba(255, 250, 238, 0.94)
            );
}

.hebi-mascot-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -55px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background:
            radial-gradient(
                    circle,
                    rgba(113, 139, 78, 0.14),
                    transparent 68%
            );
    pointer-events: none;
}

.hebi-mascot-label {
    display: inline-flex;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--green-dark);
    font-size: 0.84rem;
    font-weight: 900;
}

.hebi-mascot-name {
    margin: 24px 0 18px;
    color: #e2a735;
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 950;
    line-height: 0.9;
    letter-spacing: -0.08em;
    transform: rotate(-3deg);
}

.hebi-focus-section {
    display: grid;
    gap: 26px;
    margin-bottom: 58px;
}

.hebi-focus-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.hebi-focus-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 26px;
}

.hebi-focus-number {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--green-soft);
    color: var(--green-dark);
    font-size: 1.15rem;
    font-weight: 950;
}

.hebi-focus-card:nth-child(2) .hebi-focus-number {
    background: rgba(244, 207, 126, 0.55);
    color: #76521c;
}

.hebi-focus-card:nth-child(3) .hebi-focus-number {
    background: rgba(241, 184, 169, 0.45);
    color: #7c4338;
}

.hebi-focus-card h3 {
    margin: 3px 0 12px;
    color: var(--green-dark);
    font-size: 1.35rem;
    line-height: 1.2;
}

.hebi-focus-card p:last-child {
    margin-bottom: 0;
}

.hebi-goal-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 32px;
    align-items: center;
    margin-bottom: 32px;
    padding: 34px;
}

.hebi-goal-points {
    display: grid;
    gap: 10px;
}

.hebi-goal-points span {
    position: relative;
    padding: 14px 18px 14px 46px;
    border: 1px solid rgba(97, 86, 66, 0.1);
    border-radius: 18px;
    background: rgba(220, 231, 202, 0.48);
    color: var(--green-dark);
    font-weight: 850;
}

.hebi-goal-points span::before {
    content: "✓";
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--green);
    font-weight: 950;
}

.hebi-pedagogy-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
    gap: 34px;
    align-items: start;
    margin-bottom: 58px;
    padding: 34px;
    background:
            radial-gradient(
                    circle at 10% 20%,
                    rgba(242, 221, 180, 0.22),
                    transparent 230px
            ),
            rgba(255, 255, 255, 0.78);
}

.hebi-flyer-section {
    display: grid;
    gap: 24px;
    margin-bottom: 34px;
}

.hebi-flyer-frame {
    overflow: hidden;
    padding: 12px;
    border: 1px solid rgba(97, 86, 66, 0.12);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 34px rgba(62, 54, 41, 0.08);
}

.hebi-flyer-object {
    width: 100%;
    height: min(860px, 75vh);
    display: block;
    border: 0;
    border-radius: 18px;
    background: #f4f0e8;
}

.hebi-pdf-fallback {
    min-height: 360px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    padding: 30px;
    text-align: center;
}

.hebi-pdf-fallback h3,
.hebi-pdf-fallback p {
    margin: 0;
}

.hebi-contact-notice {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
}

.hebi-contact-notice h2 {
    margin-bottom: 6px;
}

.hebi-contact-notice p {
    margin: 0;
}

@media (max-width: 980px) {
    .hebi-intro-card,
    .hebi-goal-card,
    .hebi-pedagogy-card {
        grid-template-columns: 1fr;
    }

    .hebi-focus-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .hebi-intro-content,
    .hebi-mascot-card,
    .hebi-goal-card,
    .hebi-pedagogy-card {
        padding: 24px 20px;
    }

    .hebi-focus-card {
        padding: 22px 20px;
    }

    .hebi-actions {
        display: grid;
    }

    .hebi-actions .btn {
        width: 100%;
    }

    .hebi-flyer-object {
        display: none;
    }

    .hebi-pdf-fallback {
        min-height: 240px;
    }

    .hebi-contact-notice {
        grid-template-columns: 1fr;
    }

    .hebi-contact-notice .btn {
        width: 100%;
    }
}