.jepa-restaurant-zaehler {
    align-items: center;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 18px;
    box-shadow: 0 8px 26px rgb(16 24 40 / 8%);
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0.95rem;
    padding: 0.75rem 1rem;
}

.jepa-restaurant-zaehler__brand {
    align-items: center;
    display: inline-flex;
    justify-content: center;
}

.jepa-restaurant-zaehler__logo-link {
    display: inline-flex;
    line-height: 0;
}

.jepa-restaurant-zaehler__logo {
    background-color: #fff;
    border: 1px solid #d0d7de;
    border-radius: 10px;
    display: block;
    height: 6rem;
    object-fit: contain;
    padding: 0.2rem;
    width: auto;
}

.jepa-restaurant-zaehler__name,
.jepa-restaurant-zaehler__name-link {
    color: #111827;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.jepa-restaurant-zaehler__name-link:hover {
    color: #111827;
    text-decoration: underline;
}

.jepa-restaurant-zaehler__details {
    display: inline-flex;
    flex-direction: column;
    gap: 0.15rem;
}

.jepa-restaurant-zaehler__address {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.jepa-restaurant-zaehler__address-line,
.jepa-restaurant-zaehler__phone-link {
    color: #111827;
    font-size: 1.02rem;
    line-height: 1.2;
    text-decoration: none;
}

.jepa-restaurant-zaehler__phone-link:hover {
    color: #111827;
    text-decoration: underline;
}

.jepa-restaurant-zaehler__controls {
    align-items: center;
    display: inline-flex;
    gap: 0.7rem;
}

.jepa-restaurant-zaehler__button {
    background-color: #111827;
    border: 1px solid #111827;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1;
    min-height: 3rem;
    min-width: 3rem;
    padding: 0;
}

.jepa-restaurant-zaehler__button--minus {
    background-color: #fff;
    border-color: #111827;
    color: #111827;
}

.jepa-restaurant-zaehler__button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.jepa-restaurant-zaehler__name-link:focus-visible,
.jepa-restaurant-zaehler__logo-link:focus-visible,
.jepa-restaurant-zaehler__phone-link:focus-visible,
.jepa-restaurant-zaehler__button:focus-visible {
    border-radius: 4px;
    outline: 2px solid #0b4aa5;
    outline-offset: 2px;
}

.jepa-restaurant-zaehler__button:hover:not(:disabled) {
    background-color: #000;
    border-color: #000;
}

.jepa-restaurant-zaehler__button--minus:hover:not(:disabled) {
    background-color: #f8fafc;
    border-color: #111827;
    color: #111827;
}

.jepa-restaurant-zaehler__value {
    background-color: transparent;
    border: 0;
    border-radius: 0;
    color: #111827;
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    min-width: 2.8ch;
    padding: 0;
    text-align: center;
}

.jepa-restaurant-google-like {
    align-items: center;
    background: #1f2937;
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
    display: inline-flex;
    gap: 0.5rem;
    margin-left: 0;
    padding: 0.75rem 1rem;
    text-decoration: none;
    white-space: nowrap;
}

.jepa-restaurant-google-like__icon {
    display: inline-flex;
    height: 1.05rem;
    width: 1.05rem;
}

.jepa-restaurant-google-like__icon img {
    display: block;
    height: 100%;
    width: 100%;
}

.jepa-restaurant-google-like__text {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.jepa-restaurant-google-like:hover .jepa-restaurant-google-like__text {
    color: #fff;
    text-decoration: underline;
}

.jepa-restaurant-google-like:focus-visible {
    border-radius: 4px;
    outline: 2px solid #0b4aa5;
    outline-offset: 2px;
}

.jepa-restaurant-zaehler__hint {
    color: #111827;
    display: none;
    font-size: 0.85rem;
}

.jepa-restaurant-zaehler__hint--error {
    display: inline;
}

.jepa-restaurant-zaehler--error {
    color: #111827;
    font-size: 0.9rem;
}

.jepa-restaurant-anzeige {
    align-items: center;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 18px;
    box-shadow: 0 8px 26px rgb(16 24 40 / 8%);
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0.95rem;
    padding: 0.75rem 1rem;
}

.jepa-restaurant-anzeige__brand {
    align-items: center;
    display: inline-flex;
    justify-content: center;
}

.jepa-restaurant-anzeige__logo-link {
    display: inline-flex;
    line-height: 0;
}

.jepa-restaurant-anzeige__logo {
    background-color: #fff;
    border: 1px solid #d0d7de;
    border-radius: 10px;
    display: block;
    height: 6rem;
    object-fit: contain;
    padding: 0.2rem;
    width: auto;
}

.jepa-restaurant-anzeige__details {
    display: inline-flex;
    flex-direction: column;
    gap: 0.15rem;
}

.jepa-restaurant-anzeige__name,
.jepa-restaurant-anzeige__name-link {
    color: #111827;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.jepa-restaurant-anzeige__address {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.jepa-restaurant-anzeige__address-line,
.jepa-restaurant-anzeige__phone,
.jepa-restaurant-anzeige__phone-link {
    color: #111827;
    font-size: 1.02rem;
    line-height: 1.2;
    text-decoration: none;
}

.jepa-restaurant-anzeige__address--missing {
    color: #111827;
}

.jepa-restaurant-anzeige__name-link:hover,
.jepa-restaurant-anzeige__phone-link:hover {
    color: #111827;
    text-decoration: underline;
}

.jepa-restaurant-anzeige__name-link:focus-visible,
.jepa-restaurant-anzeige__logo-link:focus-visible,
.jepa-restaurant-anzeige__phone-link:focus-visible {
    border-radius: 4px;
    outline: 2px solid #0b4aa5;
    outline-offset: 2px;
}

.jepa-restaurant-anzeige__result {
    align-items: center;
    display: inline-flex;
    margin-left: 0;
    white-space: nowrap;
}

.jepa-restaurant-google-like--result {
    margin-left: 0;
}

.jepa-restaurant-anzeige__result-value {
    color: #111827;
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    min-width: 2.8ch;
    padding: 0;
    text-align: center;
}

.jepa-restaurant-anzeige__result-label {
    display: none;
}

.jepa-restaurant-anzeige--error {
    color: #111827;
    font-size: 0.9rem;
}

@media (width <= 782px) {
    .jepa-restaurant-zaehler {
        align-items: stretch;
        display: grid;
        gap: 0.75rem;
        grid-template-areas:
            "brand controls"
            "details details"
            "rating rating";
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        padding: 1rem;
        width: min(100%, 35rem);
    }

    .jepa-restaurant-zaehler__brand {
        grid-area: brand;
        justify-content: center;
        justify-self: stretch;
        min-width: 0;
    }

    .jepa-restaurant-zaehler__logo {
        border-radius: 16px;
        height: auto;
        max-width: min(100%, 10.5rem);
        width: min(100%, 10.5rem);
    }

    .jepa-restaurant-zaehler__details {
        align-items: center;
        gap: 0.18rem;
        grid-area: details;
        min-width: 0;
        text-align: center;
        width: 100%;
    }

    .jepa-restaurant-zaehler__name,
    .jepa-restaurant-zaehler__name-link {
        font-size: clamp(1.2rem, 7vw, 2rem);
        line-height: 1.05;
        white-space: normal;
    }

    .jepa-restaurant-zaehler__address-line,
    .jepa-restaurant-zaehler__phone-link {
        font-size: clamp(0.95rem, 4.2vw, 1.2rem);
        line-height: 1.22;
    }

    .jepa-restaurant-zaehler__controls {
        align-items: center;
        background: #fff;
        border: 1px solid #d0d5dd;
        border-radius: 18px;
        display: grid;
        gap: 0.5rem 0.85rem;
        grid-area: controls;
        grid-template-areas:
            "plus value"
            "minus value";
        grid-template-columns: auto 1fr;
        margin-left: 0;
        min-width: 0;
        padding: 1rem 0.85rem;
    }

    .jepa-restaurant-zaehler__button {
        border-radius: 999px;
        font-size: 1.8rem;
        height: 3.55rem;
        min-height: 3.55rem;
        min-width: 3.55rem;
        width: 3.55rem;
    }

    .jepa-restaurant-zaehler__button--plus {
        background: #111827;
        border-color: #111827;
        color: #fff;
        grid-area: plus;
    }

    .jepa-restaurant-zaehler__button--minus {
        background: #fff;
        border-color: #111827;
        color: #111827;
        grid-area: minus;
    }

    .jepa-restaurant-zaehler__button--plus:hover:not(:disabled) {
        background: #000;
        border-color: #000;
    }

    .jepa-restaurant-zaehler__button--minus:hover:not(:disabled) {
        background: #f8fafc;
        border-color: #111827;
        color: #111827;
    }

    .jepa-restaurant-zaehler__value {
        align-self: center;
        border: 0;
        font-size: clamp(4.5rem, 22vw, 6.25rem);
        grid-area: value;
        min-width: 0;
        padding: 0;
        text-align: center;
    }

    .jepa-restaurant-zaehler__hint--error {
        display: block;
        grid-column: 1 / -1;
    }

    .jepa-restaurant-google-like,
    .jepa-restaurant-google-like--result {
        margin-left: 0;
    }

    .jepa-restaurant-google-like {
        align-items: center;
        background: #1f2937;
        border-radius: 14px;
        box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
        grid-area: rating;
        justify-content: center;
        justify-self: stretch;
        padding: 0.85rem 1rem;
        width: 100%;
    }

    .jepa-restaurant-anzeige {
        align-items: stretch;
        display: grid;
        gap: 0.75rem;
        grid-template-areas:
            "brand result"
            "details details"
            "rating rating";
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        padding: 1rem;
        width: min(100%, 35rem);
    }

    .jepa-restaurant-anzeige__brand {
        grid-area: brand;
        justify-content: center;
        justify-self: stretch;
        min-width: 0;
    }

    .jepa-restaurant-anzeige__logo {
        border-radius: 16px;
        height: auto;
        max-width: min(100%, 10.5rem);
        width: min(100%, 10.5rem);
    }

    .jepa-restaurant-anzeige__details {
        align-items: center;
        gap: 0.18rem;
        grid-area: details;
        min-width: 0;
        text-align: center;
        width: 100%;
    }

    .jepa-restaurant-anzeige__name,
    .jepa-restaurant-anzeige__name-link {
        font-size: clamp(1.2rem, 7vw, 2rem);
        line-height: 1.05;
        white-space: normal;
    }

    .jepa-restaurant-anzeige__address-line,
    .jepa-restaurant-anzeige__phone,
    .jepa-restaurant-anzeige__phone-link {
        font-size: clamp(0.95rem, 4.2vw, 1.2rem);
        line-height: 1.22;
    }

    .jepa-restaurant-anzeige__result {
        align-items: center;
        place-self: center stretch;
        grid-area: result;
        justify-content: center;
        margin-left: 0;
        min-width: 0;
        padding-right: 0;
    }

    .jepa-restaurant-anzeige__result-value {
        font-size: clamp(4.5rem, 22vw, 6.25rem);
        font-weight: 900;
        line-height: 0.9;
        min-width: 0;
        padding: 0;
        text-align: center;
    }

    .jepa-restaurant-google-like--result {
        align-items: center;
        background: #1f2937;
        border-radius: 14px;
        box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
        grid-area: rating;
        justify-content: center;
        justify-self: stretch;
        margin-left: 0;
        padding: 0.85rem 1rem;
        width: 100%;
    }

    .jepa-restaurant-google-like__icon {
        height: 1.2rem;
        width: 1.2rem;
    }

    .jepa-restaurant-google-like__text {
        color: #fff;
        font-size: clamp(0.95rem, 4.4vw, 1.35rem);
    }

    .jepa-restaurant-google-like:hover .jepa-restaurant-google-like__text {
        color: #fff;
    }
}
