* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: Inter, Arial, sans-serif;
    background: #eaf6ee;
    color: #0f172a;
}

.pr-map-page {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #eaf6ee;
}

.pr-map-stage,
.pr-google-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.pr-map-panel {
    position: absolute;
    z-index: 50;
    left: 18px;
    top: 18px;
    bottom: 18px;
    width: 410px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(220, 232, 224, 0.95);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 34px 80px rgba(15, 23, 42, 0.20);
}

.pr-map-panel-head {
    padding: 18px;
    border-bottom: 1px solid #edf2ee;
    background: #ffffff;
}

.pr-map-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.pr-map-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.pr-map-brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 17px;
    background: linear-gradient(135deg, #1fb45a, #12803d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
}

.pr-map-brand strong {
    display: block;
    color: #081c15;
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
}

.pr-map-brand small {
    display: block;
    margin-top: 5px;
    color: #5d7367;
    font-size: 12px;
    font-weight: 700;
}

.pr-map-back {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: #f5f8f6;
    border: 1px solid #dfe9e2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #081c15;
    font-size: 18px;
    font-weight: 900;
}

.pr-map-title-box {
    margin-bottom: 14px;
}

.pr-map-title-box h1 {
    margin: 0;
    color: #081c15;
    font-size: 32px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.pr-map-title-box p {
    margin: 10px 0 0;
    color: #61766b;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
}

.pr-map-search {
    display: flex;
    align-items: center;
    height: 52px;
    border-radius: 18px;
    background: #f5f8f6;
    border: 1px solid #d7e1db;
    padding: 0 16px;
}

.pr-map-search:focus-within {
    background: #ffffff;
    border-color: #1f8b47;
    box-shadow: 0 0 0 5px rgba(31, 139, 71, 0.10);
}

.pr-map-search span {
    color: #5f7666;
    font-size: 17px;
    margin-right: 10px;
    font-weight: 900;
}

.pr-map-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #081c15;
    font-size: 14px;
    font-weight: 800;
}

.pr-map-search input::placeholder {
    color: #7a8c82;
}

.pr-map-count {
    padding: 16px 18px 10px;
    color: #081c15;
    font-size: 15px;
    font-weight: 950;
}

.pr-map-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 14px 18px;
}

.pr-map-list::-webkit-scrollbar {
    width: 7px;
}

.pr-map-list::-webkit-scrollbar-thumb {
    background: #d6e2da;
    border-radius: 999px;
}

.pr-map-place-card {
    display: grid;
    grid-template-columns: 106px minmax(0, 1fr);
    gap: 13px;
    padding: 12px;
    margin-bottom: 14px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e3ece7;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    transition: 0.2s ease;
}

.pr-map-place-card:hover {
    transform: translateY(-3px);
    border-color: #b4dcc1;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.11);
}

.pr-map-place-img {
    position: relative;
    width: 106px;
    height: 102px;
    border-radius: 20px;
    overflow: hidden;
    background: #dfe9e2;
}

.pr-map-place-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pr-map-place-img span {
    position: absolute;
    top: 8px;
    left: 8px;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    font-size: 10px;
    font-weight: 950;
}

.pr-map-place-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.pr-map-place-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    margin-bottom: 7px;
}

.pr-map-place-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 120px;
    height: 25px;
    padding: 0 9px;
    border-radius: 999px;
    background: #eef9f2;
    color: #178143;
    font-size: 10px;
    font-weight: 950;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pr-map-open-badge {
    height: 25px;
    padding: 0 9px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 950;
    white-space: nowrap;
}

.pr-map-place-title {
    color: #081c15;
    font-size: 18px;
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -0.035em;
    margin-bottom: 5px;
}

.pr-map-place-location {
    color: #61766b;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 750;
    margin-bottom: 11px;
}

.pr-map-place-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.pr-map-place-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pr-map-mini-pill {
    height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    background: #f5f8f6;
    border: 1px solid #d9e4dd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #081c15;
    font-size: 11px;
    font-weight: 950;
}

.pr-map-place-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pr-map-mini-link,
.pr-map-show-btn {
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 950;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.pr-map-mini-link {
    border: 0;
    background: linear-gradient(135deg, #1fa24f, #13793b);
    color: #ffffff;
}

.pr-map-show-btn {
    border: 0;
    background: #eef4f1;
    color: #13793b;
}

.pr-map-show-btn:hover {
    background: #dcfce7;
}

.pr-map-empty {
    padding: 34px 16px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.pr-map-center-menu {
    position: absolute;
    z-index: 45;
    top: 18px;
    left: 448px;
    right: 18px;
    pointer-events: none;
}

.pr-map-menu-inner {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-width: 0;
    padding: 8px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(218, 229, 222, 0.95);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.16);
}

.pr-map-categories {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.pr-map-categories::-webkit-scrollbar {
    height: 0;
}

.pr-map-category-btn {
    height: 44px;
    min-width: max-content;
    padding: 0 16px 0 10px;
    border: 1px solid #e1ebe5;
    outline: 0;
    border-radius: 999px;
    background: #f5f8f6;
    color: #23352b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    transition: 0.2s ease;
    flex-shrink: 0;
}

.pr-map-category-btn:hover {
    background: #e9f6ee;
    border-color: #b7dbc4;
}

.pr-map-category-btn.is-active {
    background: linear-gradient(135deg, #1fa24f, #13793b);
    color: #ffffff;
    border-color: #13793b;
    box-shadow: 0 12px 24px rgba(31, 139, 71, 0.26);
}

.pr-map-category-icon {
    width: 28px;
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #ffffff;
    color: #13793b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 950;
}

.pr-map-view-toggle {
    width: 186px;
    min-width: 186px;
    height: 44px;
    padding: 4px;
    border-radius: 999px;
    background: #eef4f1;
    border: 1px solid #dce7e0;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.pr-map-view-btn {
    flex: 1;
    height: 34px;
    min-width: 0;
    padding: 0 12px;
    border: 0;
    outline: 0;
    border-radius: 999px;
    background: transparent;
    color: #475569;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    transition: 0.2s ease;
}

.pr-map-view-btn.is-active {
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
}

.pr-gm-popup {
    width: 300px;
    font-family: Inter, Arial, sans-serif;
    background: #f3f5f4;
    border-radius: 24px;
    overflow: hidden;
}

.pr-gm-popup-img {
    width: 100%;
    height: 155px;
    overflow: hidden;
    background: #e5eee8;
    margin-bottom: 12px;
}

.pr-gm-popup-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pr-gm-popup-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 15px;
    margin-bottom: 10px;
}

.pr-gm-popup-cat,
.pr-gm-popup-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.pr-gm-popup-cat {
    background: #ffffff;
    color: #178143;
}

.pr-gm-popup-open {
    margin-left: auto;
    background: #dcfce7;
    color: #15803d;
}

.pr-gm-popup-title {
    padding: 0 15px;
    color: #081c15;
    font-size: 21px;
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.pr-gm-popup-location {
    padding: 0 15px;
    color: #61766b;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}

.pr-gm-popup-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    margin-bottom: 14px;
}

.pr-gm-popup-pill {
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #d9e4dd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 950;
    color: #081c15;
}

.pr-gm-popup-pill:first-child {
    background: #facc15;
    border-color: #facc15;
    color: #ffffff;
}

.pr-gm-popup-pill:last-child {
    margin-left: auto;
}

.pr-gm-popup-btn {
    margin: 0 15px 15px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1fa24f, #13793b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 950;
}

.gm-style .gm-style-iw-c {
    border-radius: 24px !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #f3f5f4 !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22) !important;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
}

.gm-style .gm-ui-hover-effect {
    top: 12px !important;
    right: 12px !important;
    width: 34px !important;
    height: 34px !important;
    opacity: 1 !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.96) !important;
    box-shadow: 0 8px 18px rgba(15,23,42,.20) !important;
}

.gm-style .gm-ui-hover-effect span {
    margin: 6px !important;
}



/* LISTENANSICHT */

.pr-map-page.layout-list {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: #f4f8f5;
}

.layout-list .pr-map-stage {
    display: none;
}

.layout-list .pr-map-center-menu {
    position: sticky;
    top: 0;
    left: auto;
    right: auto;
    width: 100%;
    z-index: 200;
    padding: 12px 20px;
    background: rgba(244, 248, 245, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.layout-list .pr-map-menu-inner {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    padding: 8px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #dfe8e1;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.layout-list .pr-map-panel {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    min-height: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.layout-list .pr-map-panel-head {
    max-width: 1450px;
    margin: 0 auto;
    padding: 18px 20px 14px;
    background: transparent;
    border: 0;
}

.layout-list .pr-map-brand-row {
    display: none;
}

.layout-list .pr-map-title-box {
    margin-bottom: 14px;
}

.layout-list .pr-map-title-box h1 {
    font-size: 38px;
    line-height: 0.96;
    letter-spacing: -0.055em;
}

.layout-list .pr-map-title-box p {
    max-width: 680px;
    font-size: 14px;
    line-height: 1.45;
}

.layout-list .pr-map-search {
    max-width: 620px;
    height: 52px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #d8e5dd;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.layout-list .pr-map-count {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 20px 14px;
    font-size: 16px;
}

.layout-list .pr-map-list {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 20px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
    overflow: visible;
}

.layout-list .pr-map-place-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(222, 233, 226, 0.95);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.layout-list .pr-map-place-card:hover {
    transform: translateY(-5px);
    border-color: #b7dcc3;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.11);
}

.layout-list .pr-map-place-img {
    width: 100%;
    height: 178px;
    border-radius: 0;
}

.layout-list .pr-map-place-img span {
    top: 12px;
    left: 12px;
    height: 25px;
    padding: 0 10px;
    font-size: 10px;
}

.layout-list .pr-map-place-body {
    padding: 14px;
}

.layout-list .pr-map-place-topline {
    margin-bottom: 9px;
}

.layout-list .pr-map-place-category {
    height: 26px;
    max-width: 150px;
    padding: 0 10px;
    font-size: 10px;
}

.layout-list .pr-map-open-badge {
    height: 26px;
    padding: 0 10px;
    font-size: 10px;
}

.layout-list .pr-map-place-title {
    font-size: 19px;
    line-height: 1.05;
    margin-bottom: 6px;
}

.layout-list .pr-map-place-location {
    font-size: 12px;
    margin-bottom: 12px;
}

.layout-list .pr-map-place-bottom {
    gap: 10px;
}

.layout-list .pr-map-mini-pill {
    height: 30px;
    padding: 0 11px;
    font-size: 11px;
}

.layout-list .pr-map-place-actions {
    display: flex;
    gap: 8px;
    width: 100%;
}

.layout-list .pr-map-mini-link,
.layout-list .pr-map-show-btn {
    flex: 1;
    height: 39px;
    border-radius: 14px;
    font-size: 11px;
}

/* RESPONSIVE */

@media (max-width: 1250px) {
    .pr-map-panel {
        width: 370px;
    }

    .pr-map-center-menu {
        left: 408px;
    }

    .pr-map-category-text {
        display: none;
    }

    .pr-map-category-btn {
        padding: 0 9px;
    }

    .pr-map-view-toggle {
        width: 168px;
        min-width: 168px;
    }
}

@media (max-width: 960px) {
    html,
    body {
        overflow: hidden;
    }

    .pr-map-panel {
        left: 10px;
        right: 10px;
        top: 82px;
        bottom: 10px;
        width: auto;
        border-radius: 24px;
        transform: translateY(20px);
        opacity: 0;
        pointer-events: none;
        transition: 0.24s ease;
    }

    .layout-map .pr-map-panel {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .pr-map-center-menu {
        top: 8px;
        left: 8px;
        right: 8px;
    }

    .pr-map-menu-inner {
        border-radius: 22px;
        gap: 8px;
        padding: 7px;
    }

    .pr-map-categories {
        flex: 1;
    }

    .pr-map-category-text {
        display: none;
    }

    .pr-map-view-toggle {
        width: 124px;
        min-width: 124px;
        height: 40px;
    }

    .pr-map-view-btn {
        height: 30px;
        padding: 0 8px;
        font-size: 11px;
    }

    .pr-map-title-box h1 {
        font-size: 28px;
    }

    .pr-map-page.layout-list {
        overflow-y: auto;
    }

    .layout-list .pr-map-panel {
        position: relative;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        border-radius: 0;
    }

    .layout-list .pr-map-center-menu {
        top: 0;
        left: auto;
        right: auto;
        padding: 8px;
    }

    .layout-list .pr-map-panel-head {
        padding: 12px 14px;
    }

    .layout-list .pr-map-list {
        padding: 0 14px 24px;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .layout-list .pr-map-place-img {
        height: 210px;
    }
}

@media (max-width: 560px) {
    .pr-map-panel {
        top: 74px;
        border-radius: 22px;
    }

    .pr-map-panel-head {
        padding: 14px;
    }

    .pr-map-title-box h1 {
        font-size: 24px;
    }

    .pr-map-title-box p {
        display: none;
    }

    .pr-map-place-card {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .pr-map-place-img {
        width: 92px;
        height: 88px;
    }

    .pr-map-place-title {
        font-size: 16px;
    }

    .pr-map-open-badge {
        display: none;
    }

    .pr-map-category-btn {
        height: 38px;
    }

    .pr-map-category-icon {
        width: 26px;
        min-width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .pr-map-view-toggle {
        width: 112px;
        min-width: 112px;
        height: 38px;
    }

    .pr-map-view-btn {
        height: 28px;
        font-size: 10px;
    }

    .layout-list .pr-map-place-card {
        display: flex;
        padding: 0;
    }

    .layout-list .pr-map-place-img {
        width: 100%;
        height: 190px;
    }

    .layout-list .pr-map-place-title {
        font-size: 18px;
    }
}

.pr-map-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0 40px;
}

.pr-map-page-btn {
    min-width: 46px;
    height: 46px;
    padding: 0 16px;
    border: 1px solid #dbe7df;
    border-radius: 16px;
    background: #ffffff;
    color: #081c15;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.pr-map-page-btn:hover {
    transform: translateY(-2px);
    background: #eef8f1;
    border-color: #b7dcc3;
}

.pr-map-page-btn.is-active {
    background: linear-gradient(135deg, #1fa24f, #13793b);
    border-color: #13793b;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(31, 139, 71, 0.22);
}

.pr-map-page-arrow {
    padding: 0 18px;
}

.pr-map-page-btn:disabled {
    opacity: .45;
    cursor: default;
    transform: none;
    box-shadow: none;
}

@media (max-width: 700px) {

    .pr-map-pagination {
        gap: 8px;
        padding-bottom: 25px;
    }

    .pr-map-page-btn {
        min-width: 42px;
        height: 42px;
        padding: 0 14px;
        border-radius: 14px;
        font-size: 12px;
    }

    .pr-map-page-arrow {
        padding: 0 14px;
    }

}

.pr-list-top-nav {
        display: none;
        justify-content: center;
        gap: 10px;
        padding: 0 18px 14px;
}

.layout-list .pr-list-top-nav {
        display: flex;
}

.pr-list-top-link {
        border: 1px solid #16a34a;
        background: #16a34a;
        color: #ffffff;
        border-radius: 999px;
        padding: 9px 16px;
        font-size: 13px;
        font-weight: 800;
        text-decoration: none;
        cursor: pointer;
        transition: .18s ease;
        box-shadow: 0 8px 20px rgba(22, 163, 74, .22);
}

.pr-list-top-link:hover {
        background: #15803d;
        border-color: #15803d;
}