.home-random-cta{position:absolute;left:50%;bottom:92px;z-index:3;transform:translateX(-50%);display:inline-flex;align-items:center;justify-content:center;min-width:250px;padding:14px 24px;border:2px solid #fff;border-radius:10px;color:#232e2a;background:#fff;font-weight:800;text-decoration:none;box-shadow:0 10px 28px rgba(0,0,0,.22);transition:transform .2s ease,background .2s ease}.home-random-cta:hover,.home-random-cta:focus-visible{transform:translateX(-50%) translateY(-2px);background:#edf2ef}.random-recipe-page{max-width:1100px;margin:0 auto;padding:36px 24px 70px}.random-recipe-toolbar{display:flex;justify-content:center;margin:0 auto 22px}.random-recipe-toolbar .recipe-search-button{width:auto;min-width:290px;margin:0}.random-recipe-page .recipe-detail-card{margin-top:0}@media(max-width:800px){.home-random-cta{bottom:82px;min-width:0;width:calc(100% - 40px);max-width:330px;padding:13px 18px}.random-recipe-page{padding:26px 16px 55px}.random-recipe-toolbar .recipe-search-button{width:100%;min-width:0}}
/* Zufallsseite: identische Rezeptkarte wie die normale Rezeptdetailseite */
.random-recipe-page {
    width: min(100% - 40px, 1000px);
    max-width: 1000px;
    margin: 0 auto;
    padding: 55px 0 80px;
}

.random-recipe-toolbar {
    display: flex;
    justify-content: center;
    margin: 0 0 22px;
}

.random-recipe-toolbar .recipe-search-button {
    width: auto;
    min-width: 290px;
    margin: 0;
}

.random-recipe-page #recipeDetail {
    width: 100%;
}

.random-recipe-page .recipe-detail-card,
.random-recipe-page .recipe-empty {
    width: 100%;
    padding: 34px;
    border: 1px solid #d7ddd9;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(35, 46, 42, 0.08);
}

.random-recipe-page .recipe-detail-content h2 {
    margin: 0 0 34px;
    color: #232e2a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 5vw, 3rem);
    line-height: 1.1;
}

.random-recipe-page .recipe-detail-content > p {
    margin: -18px 0 34px;
    color: #2f3835;
    font-size: 1rem;
    line-height: 1.6;
}

.random-recipe-page .recipe-detail-section {
    margin-top: 34px;
}

.random-recipe-page .recipe-detail-section h3 {
    margin: 0 0 18px;
    color: #232e2a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.75rem;
}

.random-recipe-page .recipe-detail-ingredients {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.random-recipe-page .recipe-detail-ingredients li {
    position: relative;
    min-height: 50px;
    padding: 14px 16px 14px 40px;
    border: 1px solid #d7ddd9;
    border-radius: 10px;
    background: #f7faf8;
    line-height: 1.35;
}

.random-recipe-page .recipe-detail-ingredients li::before {
    position: absolute;
    top: 13px;
    left: 14px;
    color: #317b68;
    content: "✓";
    font-size: 1.1rem;
    font-weight: 800;
}

.random-recipe-page .recipe-detail-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: recipe-step;
}

.random-recipe-page .recipe-detail-step {
    position: relative;
    min-height: 64px;
    margin: 0;
    padding: 10px 0 20px 72px;
    counter-increment: recipe-step;
}

.random-recipe-page .recipe-detail-step::before {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    background: #232e2a;
    content: counter(recipe-step);
    font-weight: 800;
}

.random-recipe-page .recipe-detail-step:not(:last-child)::after {
    position: absolute;
    top: 50px;
    bottom: 0;
    left: 23px;
    width: 2px;
    background: #d9e1dd;
    content: "";
}

.random-recipe-page .recipe-detail-step p {
    margin: 0;
    line-height: 1.55;
}

@media (max-width: 800px) {
    .random-recipe-page {
        width: min(100% - 24px, 1000px);
        padding: 34px 0 55px;
    }

    .random-recipe-toolbar .recipe-search-button {
        width: 100%;
        min-width: 0;
    }

    .random-recipe-page .recipe-detail-card,
    .random-recipe-page .recipe-empty {
        padding: 24px 18px;
    }

    .random-recipe-page .recipe-detail-ingredients {
        grid-template-columns: 1fr;
    }
}
