/* =========================================================
   FUNforRENT Hero
   ========================================================= */

.fun4rent-hero-section {
    padding: 0 !important;
    overflow: hidden;
}

.fun4rent-hero {
    --fun-navy: #0e1f3d;
    --fun-pink: #ee5f84;
    --fun-turquoise: #62c4c8;
    --fun-yellow: #f8c536;
    --fun-light: #f4fbfc;

    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 15% 30%,
            rgba(98, 196, 200, 0.12),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f5fcfd 50%,
            #ecf9fa 100%
        );
}

.fun4rent-hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(340px, 0.8fr) minmax(600px, 1.35fr);
    align-items: center;
    width: min(100% - 48px, 1500px);
    min-height: 700px;
    margin: 0 auto;
    padding: 80px 0 125px;
}

/* Inhalt links */

.fun4rent-hero__content {
    position: relative;
    z-index: 5;
    max-width: 570px;
    padding: 20px 55px 20px 0;
}

.fun4rent-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 8px 15px;
    border-radius: 999px;
    background: rgba(98, 196, 200, 0.14);
    color: #278e94;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.fun4rent-hero__title {
    margin: 0 0 27px;
    font-family: "Fredoka", Arial, sans-serif;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.025em;
}

.fun4rent-hero__title-main,
.fun4rent-hero__title-accent {
    display: block;
}

.fun4rent-hero__title-main {
    color: var(--fun-navy);
    font-size: clamp(46px, 4vw, 72px);
}

.fun4rent-hero__title-accent {
    margin-top: 8px;
    color: var(--fun-pink);
    font-size: clamp(42px, 3.65vw, 66px);
}

.fun4rent-hero__text {
    max-width: 500px;
    margin: 0 0 32px;
    color: #27364d;
    font-size: 20px;
    line-height: 1.55;
}

.fun4rent-hero__text strong {
    color: var(--fun-pink);
    font-weight: 700;
}

.fun4rent-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.fun4rent-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 56px;
    padding: 14px 24px;
    border-radius: 999px;
    background: var(--fun-yellow);
    box-shadow: 0 12px 30px rgba(248, 197, 54, 0.27);
    color: var(--fun-navy);
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.fun4rent-hero__button span {
    font-size: 28px;
    line-height: 1;
}

.fun4rent-hero__button:hover {
    transform: translateY(-2px);
    background: #ffd24e;
    box-shadow: 0 16px 34px rgba(248, 197, 54, 0.35);
    color: var(--fun-navy);
}

.fun4rent-hero__contact {
    color: var(--fun-navy);
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
}

.fun4rent-hero__contact:hover {
    color: var(--fun-pink);
}

/* Bildbereich rechts */

.fun4rent-hero__visual {
    position: relative;
    align-self: stretch;
    min-height: 610px;
}

.fun4rent-hero__image-wrap {
    position: absolute;
    z-index: 3;
    top: 15px;
    right: -110px;
    bottom: 25px;
    left: 0;
    overflow: hidden;

    border-radius:
        42% 12% 17% 31%
        / 18% 15% 27% 26%;

    box-shadow: 0 30px 70px rgba(14, 31, 61, 0.18);
}

.fun4rent-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% center;
}

/* Farbige Dekoflächen hinter dem Bild */

.fun4rent-hero__shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.fun4rent-hero__shape--yellow {
    z-index: 1;
    top: -50px;
    right: -125px;
    width: 330px;
    height: 330px;
    background: rgba(248, 197, 54, 0.8);
}

.fun4rent-hero__shape--turquoise {
    z-index: 2;
    bottom: 15px;
    left: -35px;
    width: 180px;
    height: 180px;
    background: rgba(98, 196, 200, 0.9);
}

.fun4rent-hero__shape--pink {
    z-index: 2;
    right: -65px;
    bottom: 55px;
    width: 210px;
    height: 125px;
    border-radius: 60% 40% 52% 48%;
    background: rgba(238, 95, 132, 0.9);
}

/* Untere Welle */

.fun4rent-hero__wave {
    position: absolute;
    z-index: 6;
    right: 0;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 90px;
    line-height: 0;
    pointer-events: none;
}

.fun4rent-hero__wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Kleine Deko links */

.fun4rent-hero__decor {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.fun4rent-hero__decor--left {
    top: 105px;
    left: 3%;
    width: 75px;
    height: 75px;
    border: 5px solid rgba(98, 196, 200, 0.65);
    border-top-color: transparent;
    border-right-color: transparent;
    border-radius: 50%;
    transform: rotate(-28deg);
}

.fun4rent-hero__decor--left::before,
.fun4rent-hero__decor--left::after {
    position: absolute;
    content: "";
    border-radius: 50%;
    background: var(--fun-pink);
}

.fun4rent-hero__decor--left::before {
    top: -14px;
    right: 2px;
    width: 10px;
    height: 10px;
}

.fun4rent-hero__decor--left::after {
    bottom: -5px;
    left: 4px;
    width: 7px;
    height: 7px;
    background: var(--fun-yellow);
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 1199px) {
    .fun4rent-hero__container {
        grid-template-columns: 0.85fr 1.15fr;
        width: min(100% - 40px, 1180px);
        min-height: 610px;
        padding-top: 55px;
    }

    .fun4rent-hero__content {
        padding-right: 30px;
    }

    .fun4rent-hero__visual {
        min-height: 530px;
    }

    .fun4rent-hero__image-wrap {
        right: -70px;
    }

    .fun4rent-hero__text {
        font-size: 18px;
    }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {
    .fun4rent-hero__container {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: 0;
        padding: 40px 20px 95px;
    }

    .fun4rent-hero__content {
        width: 100%;
        max-width: none;
        padding: 0;
        text-align: left;
    }

    .fun4rent-hero__eyebrow {
        margin-bottom: 14px;
        font-size: 13px;
    }

    .fun4rent-hero__title {
        margin-bottom: 20px;
    }

    .fun4rent-hero__title-main {
        font-size: clamp(41px, 12vw, 56px);
    }

    .fun4rent-hero__title-accent {
        font-size: clamp(35px, 10.5vw, 50px);
    }

    .fun4rent-hero__text {
        max-width: 390px;
        margin-bottom: 25px;
        font-size: 17px;
        line-height: 1.45;
    }

    .fun4rent-hero__actions {
        gap: 13px;
    }

    .fun4rent-hero__button {
        min-height: 52px;
        padding: 12px 19px;
        font-size: 15px;
    }

    .fun4rent-hero__contact {
        font-size: 15px;
    }

    .fun4rent-hero__visual {
        order: 2;
        width: calc(100% + 40px);
        min-height: 360px;
        margin: 35px -20px 0;
    }

    .fun4rent-hero__image-wrap {
        top: 0;
        right: -35px;
        bottom: 0;
        left: 20px;
        border-radius:
            18% 0 0 24%
            / 18% 0 0 24%;
        box-shadow: 0 20px 45px rgba(14, 31, 61, 0.16);
    }

    .fun4rent-hero__image {
        object-position: 51% center;
    }

    .fun4rent-hero__shape--yellow {
        top: -25px;
        right: -65px;
        width: 180px;
        height: 180px;
    }

    .fun4rent-hero__shape--turquoise {
        bottom: -18px;
        left: 3px;
        width: 105px;
        height: 105px;
    }

    .fun4rent-hero__shape--pink {
        right: -25px;
        bottom: 18px;
        width: 115px;
        height: 75px;
    }

    .fun4rent-hero__decor--left {
        display: none;
    }

    .fun4rent-hero__wave {
        height: 55px;
    }
}

/* Sehr kleine Smartphones */

@media (max-width: 420px) {
    .fun4rent-hero__visual {
        min-height: 310px;
    }

    .fun4rent-hero__actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================
   FUNforRENT Kategorien
   ========================================= */

.fun-categories {
    position: relative;
    z-index: 10;
    width: min(100% - 40px, 1500px);
    margin: -65px auto 0;
}

.fun-categories__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.fun-category-card {
    position: relative;
    display: flex;
    min-height: 265px;
    padding: 28px 18px 32px;
    flex-direction: column;
    align-items: center;
    border: 1px solid color-mix(
        in srgb,
        var(--category-color) 55%,
        white
    );
    border-radius: 54px 54px 14px 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(14, 31, 61, 0.08);
    color: #0e1f3d;
    text-align: center;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.fun-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 38px rgba(14, 31, 61, 0.14);
    color: #0e1f3d;
}

.fun-category-card__icon {
    display: flex;
    width: 74px;
    height: 74px;
    margin-bottom: 15px;
    align-items: center;
    justify-content: center;
}

.fun-category-card__icon img {
    display: block;
    max-width: 64px;
    max-height: 64px;
    object-fit: contain;
}

.fun-category-card__title {
    margin-bottom: 2px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.fun-category-card__subtitle {
    margin-bottom: 13px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.fun-category-card__text {
    max-width: 170px;
    color: #4b5565;
    font-size: 13px;
    line-height: 1.45;
}

.fun-category-card__arrow {
    position: absolute;
    right: 50%;
    bottom: -16px;
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--category-color);
    box-shadow: 0 7px 14px
        color-mix(
            in srgb,
            var(--category-color) 30%,
            transparent
        );
    color: #fff;
    font-size: 27px;
    line-height: 1;
    transform: translateX(50%);
    transition: transform 0.2s ease;
}

.fun-category-card:hover .fun-category-card__arrow {
    transform: translateX(50%) translateX(3px);
}

/* Tablet */

@media (max-width: 1199px) {
    .fun-categories {
        margin-top: -40px;
    }

    .fun-categories__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px 18px;
    }
}

/* Mobil */

@media (max-width: 767px) {
    .fun-categories {
        width: min(100% - 28px, 560px);
        margin-top: -25px;
    }

    .fun-categories__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 12px;
    }

    .fun-category-card {
        min-height: 225px;
        padding: 22px 12px 28px;
        border-radius: 38px 38px 12px 12px;
    }

    .fun-category-card__icon {
        width: 60px;
        height: 60px;
    }

    .fun-category-card__icon img {
        max-width: 52px;
        max-height: 52px;
    }

    .fun-category-card__title {
        font-size: 16px;
    }

    .fun-category-card__subtitle {
        font-size: 12px;
    }

    .fun-category-card__text {
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    .fun-categories__grid {
        grid-template-columns: 1fr;
    }

    .fun-category-card {
        min-height: 205px;
    }
}