/* =========================================================
   UROANDRO – JAMEDA STARTSEITE
   ========================================================= */

.uad-jameda-home {
    position: relative;
    overflow: hidden;
    padding: clamp(64px, 7vw, 105px) 0;
    background:
        linear-gradient(
            120deg,
            rgba(255, 251, 238, .97),
            rgba(248, 241, 219, .92)
        );
}

.uad-jameda-home::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .6;
    background:
        radial-gradient(
            circle at 18% 22%,
            rgba(212, 175, 55, .13),
            transparent 28%
        ),
        radial-gradient(
            circle at 82% 80%,
            rgba(222, 132, 91, .10),
            transparent 30%
        );
}

.uad-jameda-inner {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 40px), 1180px);
    margin: 0 auto;
}

.uad-jameda-heading {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(300px, .72fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 35px;
}

.uad-jameda-eyebrow {
    margin: 0 0 12px;
    color: #9b7431;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.uad-jameda-heading h2 {
    margin: 0;
    max-width: 700px;
    color: #49382e;
    font-family:
        Baskerville,
        "Times New Roman",
        Georgia,
        serif;
    font-size: clamp(2rem, 3.7vw, 3.25rem);
    font-weight: 400;
    line-height: 1.08;
}

.uad-jameda-intro {
    margin: 0;
    color: #6f6157;
    font-size: 16px;
    line-height: 1.7;
}

.uad-jameda-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(290px, .65fr);
    gap: 24px;
    align-items: stretch;
}

.uad-jameda-card {
    position: relative;
    min-width: 0;
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid rgba(105, 78, 47, .13);
    border-radius: 26px;
    background: rgba(255, 255, 255, .92);
    box-shadow:
        0 22px 60px rgba(71, 49, 30, .09);
}

.uad-jameda-card-primary {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .98),
            rgba(255, 250, 237, .98)
        );
}

.uad-jameda-card-certificate {
    background:
        linear-gradient(
            145deg,
            rgba(255, 253, 247, .98),
            rgba(247, 239, 210, .94)
        );
}

.uad-jameda-card-top {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}

.uad-jameda-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #5e4727;
    background: #f5df77;
    box-shadow:
        inset 0 0 0 1px rgba(117, 83, 28, .10);
    font-size: 19px;
}

.uad-jameda-card h3 {
    margin: 0 0 6px;
    color: #4c392d;
    font-family:
        Baskerville,
        "Times New Roman",
        Georgia,
        serif;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 400;
    line-height: 1.15;
}

.uad-jameda-card-copy {
    margin: 0;
    color: #74665b;
    font-size: 14px;
    line-height: 1.6;
}

.uad-jameda-widget-slot {
    position: relative;
    width: 100%;
    min-width: 0;
    margin-top: 10px;
}

.uad-jameda-widget-slot .zl-url {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    max-width: 100%;
    padding: 12px 20px;
    border: 1px solid rgba(109, 79, 39, .18);
    border-radius: 999px;
    color: #4b392d;
    background: #f4df79;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.uad-jameda-widget-slot iframe {
    display: block !important;
    max-width: 100% !important;
    margin-inline: auto !important;
}

.uad-jameda-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 21px 0 0;
    color: #7b6a5e;
    font-size: 12px;
    line-height: 1.45;
}

.uad-jameda-note::before {
    content: "✓";
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #75582a;
    background: rgba(212, 175, 55, .18);
    font-weight: 800;
}

@media (max-width: 900px) {
    .uad-jameda-heading {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .uad-jameda-grid {
        grid-template-columns: 1fr;
    }

    .uad-jameda-card {
        border-radius: 22px;
    }
}

@media (max-width: 600px) {
    .uad-jameda-home {
        padding: 52px 0;
    }

    .uad-jameda-inner {
        width: min(calc(100% - 24px), 1180px);
    }

    .uad-jameda-heading {
        margin-bottom: 24px;
    }

    .uad-jameda-heading h2 {
        font-size: clamp(1.9rem, 9vw, 2.55rem);
    }

    .uad-jameda-intro {
        font-size: 15px;
    }

    .uad-jameda-grid {
        gap: 16px;
    }

    .uad-jameda-card {
        padding: 21px 17px;
    }

    .uad-jameda-card-top {
        gap: 12px;
    }

    .uad-jameda-icon {
        width: 40px;
        height: 40px;
    }

    .uad-jameda-widget-slot {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}


/* =========================================================
   UROANDRO – JAMEDA LOCALHOST PREVIEW
   Nur sichtbar, solange der externe Jameda-Renderer
   nicht aktiv ist.
   ========================================================= */

.uad-jameda-local-preview {
    display: flex;
    align-items: center;
    min-height: 78px;
    padding: 14px;
    border: 1px solid rgba(122, 92, 48, .12);
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.98),
            rgba(255,249,229,.96)
        );
}

.uad-jameda-local-preview .zl-url {
    width: 100%;
    min-height: 54px;
    padding: 14px 20px;
    border: 1px solid rgba(151, 111, 41, .16);
    border-radius: 14px;
    background:
        linear-gradient(
            135deg,
            #ebc84e,
            #f3dc82
        );
    color: #4a392d;
    box-shadow:
        0 8px 22px
        rgba(117, 82, 31, .10);
    font-size: 15px;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.uad-jameda-local-preview .zl-url:hover {
    transform: translateY(-1px);
    box-shadow:
        0 11px 27px
        rgba(117, 82, 31, .14);
}

.uad-jameda-local-preview .zl-url:focus-visible {
    outline:
        3px solid
        rgba(212, 175, 55, .35);
    outline-offset: 3px;
}

@media (max-width: 600px) {

    .uad-jameda-local-preview {
        min-height: 70px;
        padding: 10px;
    }

    .uad-jameda-local-preview .zl-url {
        min-height: 50px;
        padding: 12px 14px;
        font-size: 14px;
    }
}
