.finder-form {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: .875rem 1rem;
    margin-block: 1.25rem;
    padding: 1rem;
    border-block-start: 3px solid var(--color-brand-blue);
    background: var(--color-surface-gray);
}

.finder-form label {
    display: grid;
    gap: .3rem;
    min-inline-size: 0;
    color: var(--color-footer-focus);
}

.finder-address { flex: 1 1 16rem; }
.finder-radius { flex: 0 0 auto; }
.finder-form :is(input, select) {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    margin: 0;
}

.finder-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;
}

.finder-form .finder-actions button,
.finder-map button {
    min-height: 44px;
    margin: 0;
    padding: .35em .8em;
    border: 3px solid var(--color-brand-red);
    border-radius: 0;
    background: var(--color-white);
    color: var(--color-footer-focus);
    font: 1rem/1.2 var(--font-family-heading);
    text-transform: uppercase;
    cursor: pointer;
}

.finder-form .finder-actions button:hover,
.finder-map button:hover { border-color: var(--color-brand-blue); }

.finder-map { margin-block: 1rem; }
.finder-map [data-finder-map-canvas] { height: clamp(20.8rem, 62.4vh, 33.8rem); }
.finder-map [data-finder-map-note] { margin-block: .5rem 0; }
.finder-map [data-finder-map-status]:empty { display: none; }
.finder-map [data-finder-map-skip] { display: inline-block; margin-block-end: .5rem; }

.finder-results {
    overflow-x: auto;
    margin-block: 1.25rem;
    border: 1px solid var(--color-surface-gray);
}

.finder-results table {
    width: 100%;
    min-width: 37rem;
    border-collapse: collapse;
    color: var(--color-footer-focus);
    font-size: var(--font-size-16);
    line-height: 1.45;
    text-align: left;
}

.finder-results :is(th, td) {
    padding: .65em .8em;
    vertical-align: top;
}

.finder-results thead {
    background: var(--color-brand-blue);
    color: var(--color-footer-focus);
}

.finder-results tbody tr { border-block-end: 1px solid var(--color-surface-gray); }
.finder-results tbody tr:nth-child(even) { background: var(--color-surface-gray); }
.finder-results tbody tr:focus-within { background: var(--color-form-focus-background); }
.finder-results td:nth-child(3) { white-space: nowrap; }
.childcare-finder :is(.finder-results a, .finder-actions a, [data-finder-map-skip]) {
    color: var(--color-footer-focus);
    text-decoration: underline var(--color-brand-blue);
    text-decoration-thickness: 2px;
    text-underline-offset: .15em;
}

.umkreissuche .inner:has(> .childcare-finder--detail) > .teasertext {
    display: none !important;
}

.childcare-finder--detail {
    clear: both;
    box-sizing: border-box;
    padding-inline: 10px;
}

.finder-profile {
    display: flow-root;
    color: var(--color-text);
    overflow-wrap: anywhere;
}

.finder-profile h1 {
    font-size: var(--font-size-h2) !important;
    line-height: 1.1;
}

.finder-profile h2 {
    display: inline-block;
    margin-block: .35em .5em;
    border-block-end: 8px solid var(--color-brand-red);
    font-size: var(--font-size-h3) !important;
    line-height: 1.15;
}

.finder-profile > p > span { display: block; }
.finder-profile-contact {
    margin-block: 0 var(--line-height-24);
    padding: 0;
    list-style: none;
}

.finder-profile a:not(.btn-txt) {
    text-decoration: underline var(--color-brand-blue);
    text-underline-offset: .15em;
}

.finder-profile-image {
    position: relative;
    float: inline-end;
    width: 40%;
    margin: .7rem .4rem 2rem 2rem;
}

.finder-profile-image img {
    display: block;
    width: 100%;
    height: auto;
}

.finder-profile-image.is-portrait { width: 25%; }

.finder-profile-description,
.finder-profile-back {
    clear: both;
    margin-block: 1rem;
    padding-block-start: 1rem;
    border-block-start: 2px solid var(--color-brand-blue);
}

@media (max-width: 1300px) {
    .finder-profile h1 { font-size: var(--font-size-h2-compact) !important; }
    .finder-profile h2 { font-size: var(--font-size-h3-compact) !important; }
}

@media (max-width: 640px) {
    .finder-profile-image,
    .finder-profile-image.is-portrait {
        float: none;
        display: block;
        width: min(100%, 20rem);
        margin: .7rem 0 1rem;
    }
}

.childcare-finder :focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.childcare-finder [hidden] { display: none !important; }

@media (max-width: 35rem) {
    .finder-address { flex-basis: 100%; }
}

.finder-cell-label { display: none; }

@media (max-width: 800px) {
    .finder-results {
        position: relative;
        overflow: visible;
        border: 0;
    }

    .finder-results table,
    .finder-results tbody {
        display: block;
        min-width: 0;
    }

    .finder-results thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .finder-results tbody tr {
        display: grid;
        gap: .5rem;
        padding: .8rem;
        border: 1px solid var(--color-surface-gray);
        border-block-start: 3px solid var(--color-brand-blue);
        overflow-wrap: anywhere;
    }

    .finder-results tbody tr + tr { margin-block-start: .6rem; }

    .finder-results tbody th {
        display: block;
        padding: 0 0 .3rem;
        font-size: var(--font-size-18);
    }

    .finder-results tbody td {
        display: grid;
        grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr);
        gap: .5rem;
        padding: 0;
        white-space: normal;
    }

    .finder-cell-label { display: inline; }
}

.finder-marker-cluster {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    border: 2px solid var(--color-white);
    border-radius: 50%;
    background: var(--color-brand-blue);
    box-shadow: 0 0 0 1px var(--color-focus);
    color: var(--color-footer-focus);
    font: 700 var(--font-size-16)/1 var(--font-family-body), sans-serif;
}

.finder-cluster-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.finder-data-source {
    margin-block: -.5rem 1rem;
    font-size: var(--font-size-14);
    line-height: 1.5;
}

.finder-data-source a {
    text-decoration: underline var(--color-brand-blue);
    text-underline-offset: .15em;
}
