/*
 * Non quia difficilia sunt non audemus,
 * sed quia non audemus difficilia sunt.
 *
 * Nicht weil die Dinge schwer sind, wagen wir sie nicht,
 * sondern weil wir sie nicht wagen, sind sie schwer.
 *
 * Seneca, Epistulae morales ad Lucilium 104, 26
 */
.ktw-standortsuche,
.ktw-standortsuche__dialog {
    font-family: "Interstate-Light", "Interstate-Regular", system-ui, sans-serif;
}
.ktw-standortsuche {
    position: relative;
    max-width: 34rem;
    margin: 0 0 4px;
    --form_input_height: 44px;
}
.ktw-standortsuche__zeile {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ktw-standortsuche__label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip-path: inset(50%);
    white-space: nowrap;
}
.ktw-standortsuche__feldbox {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}
.ktw-standortsuche__feld {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 0 46px 0 12px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--ktw-feldrand);
    border-radius: 6px;
    background-color: #ffffff;
    color: #282828;
    font-size: 16px;
}
.ktw-standortsuche__knopf {
    min-height: 44px;
    padding: 10px 18px;
    border-width: 1px;
    border-style: solid;
    border-color: #17509d;
    border-radius: 6px;
    background-color: #17509d;
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
}
.ktw-standortsuche__ort svg,
.ktw-standortsuche__info svg {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    max-height: none;
}
.ktw-standortsuche input:focus-visible,
.ktw-standortsuche a:focus-visible,
.ktw-standortsuche button:focus-visible {
    outline: 2px solid var(--awb-color5);
    outline-offset: 2px;
}
.ktw-standortsuche__ort,
.ktw-standortsuche__info {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: none;
    color: #17509d;
    cursor: pointer;
}
.ktw-standortsuche__ort:hover,
.ktw-standortsuche__info:hover {
    background-color: #f3f6fa;
}
.ktw-standortsuche__ort {
    position: absolute;
    top: 50%;
    right: 3px;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
}
.ktw-standortsuche__ort[hidden] {
    display: none;
}
.ktw-standortsuche__ergebnis:not(:empty) {
    margin-top: 18px;
    padding: 14px 16px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--ktw-feldrand);
    border-radius: 10px;
    background-color: #f3f6fa;
}
.ktw-standortsuche__von {
    margin: 0 0 8px;
    font-size: 14px;
    color: rgba(40, 40, 40, 0.78);
}
.ktw-standortsuche__liste {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ktw-standortsuche__liste li + li {
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #e2e2e2;
}
.ktw-standortsuche__liste button {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    background: none;
    color: #17509d;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
}
.ktw-standortsuche__land {
    flex: 0 0 auto;
    min-width: 7.8em;
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(40, 40, 40, 0.78);
}
.ktw-standortsuche__km {
    flex: 0 0 auto;
    margin-left: auto;
    font-size: 14px;
    color: rgba(40, 40, 40, 0.78);
}
.ktw-standortsuche__fehler {
    margin: 0;
    font-size: 15px;
}
.ktw-standortsuche__tipps {
    position: absolute;
    z-index: 20;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    max-height: 264px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
    border-width: 1px;
    border-style: solid;
    border-color: var(--ktw-feldrand);
    border-radius: 6px;
    background-color: #ffffff;
    box-shadow: 0 6px 18px rgba(40, 40, 40, 0.16);
}
.ktw-standortsuche__tipp {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px;
    color: #282828;
    font-size: 16px;
    cursor: pointer;
}
.ktw-standortsuche__tipp + .ktw-standortsuche__tipp {
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #e2e2e2;
}
.ktw-standortsuche__tipp:hover,
.ktw-standortsuche__tipp--an {
    background-color: #f3f6fa;
    color: #17509d;
}
@media (max-width: 480px) {
    .ktw-standortsuche__zeile {
        flex-wrap: nowrap;
    }
    .ktw-standortsuche__knopf {
        flex: 0 0 auto;
        padding: 10px 14px;
    }
}
.ktw-standortsuche {
    margin-top: 12px;
}
@media (pointer: fine) {
    .ktw-standortsuche {
        --form_input_height: 36px;
    }
    .ktw-standortsuche__feld {
        min-height: 36px;
    }
    .ktw-standortsuche__knopf {
        min-height: 36px;
        padding: 6px 16px;
    }
    .ktw-standortsuche__ort {
        width: 32px;
        height: 32px;
    }
    .ktw-standortsuche__info {
        width: 36px;
        height: 36px;
    }
}
@media (max-width: 780px) {
    .ktw-standortsuche__knopf {
        display: none;
    }
}
.ktw-standortsuche__dialog {
    max-width: 34rem;
    padding: 24px 26px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--ktw-feldrand);
    border-radius: 10px;
    background-color: #ffffff;
    color: #282828;
}
.ktw-standortsuche__dialog::backdrop {
    background-color: rgba(40, 40, 40, 0.45);
}
.ktw-standortsuche__dialog p.ktw-standortsuche__dialog-titel {
    margin: 0 0 12px;
    color: #282828;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}
.ktw-standortsuche__dialog p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.55;
}
.ktw-standortsuche__dialog [data-rolle="zu"] {
    margin-top: 6px;
}
@media (min-width: 781px) {
    .ktw-standortsuche__ergebnis:not(:empty) {
        position: absolute;
        z-index: 6;
        top: calc(100% + 12px);
        right: 0;
        left: 0;
        margin-top: 0;
    }
}
.ktw-standortsuche__kopf {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.ktw-standortsuche__weg {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: -6px -6px 0 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: none;
    color: #282828;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.ktw-standortsuche__weg:hover {
    background-color: #f3f6fa;
}
.ktw-sf[data-ktw-profil="ch"] .ktw-standortsuche__knopf {
    border-color: var(--awb-color5);
    background-color: var(--awb-color5);
}
.ktw-sf[data-ktw-profil="ch"] .ktw-standortsuche__ort,
.ktw-sf[data-ktw-profil="ch"] .ktw-standortsuche__info,
.ktw-sf[data-ktw-profil="ch"] .ktw-standortsuche__liste button,
.ktw-sf[data-ktw-profil="ch"] .ktw-standortsuche__tipp:hover,
.ktw-sf[data-ktw-profil="ch"] .ktw-standortsuche__tipp--an {
    color: var(--awb-color5);
}
.ktw-sf[data-ktw-profil="ch"] .ktw-standortsuche__feld,
.ktw-sf[data-ktw-profil="ch"] .ktw-standortsuche__tipps,
.ktw-sf[data-ktw-profil="ch"] .ktw-standortsuche__ergebnis:not(:empty),
.ktw-sf[data-ktw-profil="ch"] .ktw-standortsuche__dialog {
    border-color: rgba(223, 39, 39, .65);
}
.ktw-sf[data-ktw-profil="ch"] .ktw-standortsuche__ort:hover,
.ktw-sf[data-ktw-profil="ch"] .ktw-standortsuche__info:hover,
.ktw-sf[data-ktw-profil="ch"] .ktw-standortsuche__tipp:hover,
.ktw-sf[data-ktw-profil="ch"] .ktw-standortsuche__tipp--an,
.ktw-sf[data-ktw-profil="ch"] .ktw-standortsuche__ergebnis:not(:empty),
.ktw-sf[data-ktw-profil="ch"] .ktw-standortsuche__weg:hover {
    background-color: #fdf4f4;
}
@supports (color: color-mix(in srgb, red 50%, white)) {
    .ktw-sf[data-ktw-profil="ch"] .ktw-standortsuche__ort:hover,
    .ktw-sf[data-ktw-profil="ch"] .ktw-standortsuche__info:hover,
    .ktw-sf[data-ktw-profil="ch"] .ktw-standortsuche__tipp:hover,
    .ktw-sf[data-ktw-profil="ch"] .ktw-standortsuche__tipp--an,
    .ktw-sf[data-ktw-profil="ch"] .ktw-standortsuche__ergebnis:not(:empty),
    .ktw-sf[data-ktw-profil="ch"] .ktw-standortsuche__weg:hover {
        background-color: color-mix(in srgb, var(--awb-color5) 5%, #ffffff);
    }
}
