/* MietwagenPRO WordPress search – scoped to avoid theme conflicts. */
.mwp-pro-search-widget {
    --mwp-navy: #091d63;
    --mwp-blue: #1c57d5;
    --mwp-blue-dark: #1244b5;
    --mwp-orange: #ff5a00;
    --mwp-orange-dark: #e94d00;
    --mwp-text: #10245c;
    --mwp-muted: #687796;
    --mwp-border: #cad7ed;
    --mwp-soft: #f8faff;
    --mwp-mint: #eef4ff;
    --mwp-focus: 0 0 0 4px rgba(28, 87, 213, .15);
    position: relative;
    z-index: 20;
    isolation: isolate;
    width: 100%;
    max-width: 1256px;
    margin: 0 auto;
    padding: 0;
    color: var(--mwp-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    text-align: left;
}

.mwp-pro-search-widget,
.mwp-pro-search-widget * { box-sizing: border-box; }

.mwp-pro-search-widget [hidden] { display: none !important; }

.mwp-pro-search-widget button,
.mwp-pro-search-widget input,
.mwp-pro-search-widget select {
    margin: 0;
    font: inherit;
    letter-spacing: normal;
    text-transform: none;
}

.mwp-pro-search-card {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 20px;
    overflow: visible;
    border: 1px solid rgba(213, 223, 242, .94);
    border-radius: 20px;
    color: var(--mwp-text);
    background: #fff;
    box-shadow: 0 22px 60px rgba(5, 28, 83, .21);
}

.mwp-pro-search-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 17px;
    padding: 0 0 15px;
    border-bottom: 1px solid #e8edf3;
}

.mwp-pro-search-heading > div { display: grid; gap: 2px; }

.mwp-pro-search-kicker {
    color: var(--mwp-blue-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.mwp-pro-search-heading strong {
    color: var(--mwp-navy);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
}

.mwp-pro-search-trust {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid #cbd9f2;
    border-radius: 999px;
    color: #123b9c;
    background: #f7faff;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.2;
    white-space: nowrap;
}

.mwp-pro-search-trust > span {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--mwp-blue);
    font-size: 10px;
}

.mwp-pro-location-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto;
    gap: 14px;
    align-items: end;
    margin: 0 0 15px;
}

.mwp-pro-location-row.has-separate-return {
    grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
}

.mwp-pro-field { position: relative; min-width: 0; margin: 0; }

.mwp-pro-location-field {
    display: block;
    width: 100%;
    max-width: 100%;
}

.mwp-pro-field > span:first-child {
    display: block;
    min-height: 18px;
    margin: 0 0 7px 2px;
    color: #435269;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .01em;
    line-height: 1.4;
}

.mwp-pro-location-shell {
    position: relative;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 0 9px 0 12px;
    overflow: visible;
    border: 1px solid var(--mwp-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 1px rgba(16, 33, 63, .02);
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.mwp-pro-location-shell:hover { border-color: #9eb6e4; }
.mwp-pro-location-field.is-open .mwp-pro-location-shell,
.mwp-pro-location-shell:focus-within {
    border-color: var(--mwp-blue);
    box-shadow: var(--mwp-focus);
}
.mwp-pro-location-field.has-error .mwp-pro-location-shell {
    border-color: #d92d20 !important;
    box-shadow: 0 0 0 3px rgba(217, 45, 32, .12) !important;
}
.mwp-pro-location-field.has-error > .mwp-pro-field-help { color: #b42318; }

.mwp-pro-location-field.has-selection .mwp-pro-location-shell {
    border-color: #84a7e8;
    background: #fbfdff;
    box-shadow: inset 0 0 0 1px rgba(28, 87, 213, .06);
}

.mwp-pro-location-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--mwp-blue-dark);
    background: var(--mwp-mint);
}
.mwp-pro-location-icon svg { width: 15px; height: 15px; fill: currentColor; }
.mwp-pro-location-icon.is-airport { color: #176aa5; background: #edf6ff; }
.mwp-pro-location-icon.is-railway { color: #75551a; background: #fff7e5; }

.mwp-pro-location-shell > input[data-location-input] {
    min-width: 0;
    width: auto !important;
    max-width: 100%;
    height: 54px;
    flex: 1 1 0%;
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    outline: 0;
    color: var(--mwp-text);
    background: transparent;
    box-shadow: none;
    font-size: 14px;
    line-height: 1.3;
}
.mwp-pro-location-shell > input[data-location-input]::placeholder { color: #8290ad; opacity: 1; }

.mwp-pro-location-badge {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 8px;
    color: #123b9c;
    background: #edf3ff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

.mwp-pro-field-help {
    display: block;
    min-height: 16px;
    margin: 6px 0 0 2px;
    color: #778396;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.4;
}

.mwp-pro-same-return {
    position: relative;
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    padding: 9px 12px;
    border: 1px solid #d4dee8;
    border-radius: 12px;
    color: #405067;
    background: #f8fafc;
    cursor: pointer;
    white-space: nowrap;
}
.mwp-pro-same-return input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.mwp-pro-switch {
    position: relative;
    flex: 0 0 38px;
    width: 38px;
    height: 22px;
    border-radius: 999px;
    background: #cbd5e1;
    transition: background .18s ease;
}
.mwp-pro-switch span {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(16, 33, 63, .22);
    transition: transform .18s ease;
}
.mwp-pro-same-return input:checked + .mwp-pro-switch { background: var(--mwp-blue); }
.mwp-pro-same-return input:checked + .mwp-pro-switch span { transform: translateX(16px); }
.mwp-pro-same-return input:focus-visible + .mwp-pro-switch { box-shadow: var(--mwp-focus); }
.mwp-pro-same-return > span:last-child { min-width: 0; display: grid; gap: 1px; }
.mwp-pro-same-return strong { color: var(--mwp-navy); font-size: 11px; font-weight: 800; line-height: 1.25; }
.mwp-pro-same-return small { color: #7a8799; font-size: 9px; line-height: 1.25; }

.mwp-pro-location-field.is-open { z-index: 330; }
.mwp-pro-location-results {
    position: absolute;
    z-index: 340;
    top: calc(100% + 7px);
    right: 0;
    left: 0;
    max-height: 350px;
    padding: 7px;
    overflow-y: auto;
    border: 1px solid #cdd8e4;
    border-radius: 12px;
    color: var(--mwp-text);
    background: #fff;
    box-shadow: 0 24px 65px rgba(16, 33, 63, .24);
}

.mwp-pro-location-option {
    width: 100%;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 54px;
    padding: 9px 10px;
    border: 0;
    border-radius: 9px;
    color: var(--mwp-text);
    background: transparent;
    box-shadow: none;
    text-align: left;
    cursor: pointer;
}
.mwp-pro-location-option:hover,
.mwp-pro-location-option.is-active { background: var(--mwp-mint) !important; }
.mwp-pro-location-option-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--mwp-blue-dark);
    background: var(--mwp-mint);
}
.mwp-pro-location-option-icon.is-airport { color: #176aa5; background: #edf6ff; }
.mwp-pro-location-option-icon.is-railway { color: #75551a; background: #fff7e5; }
.mwp-pro-location-option-icon svg { width: 18px; height: 18px; fill: currentColor; }
.mwp-pro-location-option-content { min-width: 0; display: grid; gap: 3px; }
.mwp-pro-location-option-content strong {
    overflow: hidden;
    color: var(--mwp-navy);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mwp-pro-location-option-content span {
    overflow: hidden;
    color: var(--mwp-muted);
    font-size: 10px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mwp-pro-location-option-code {
    padding: 4px 6px;
    border-radius: 7px;
    color: #31508f;
    background: #edf3ff;
    font-size: 9px;
    font-weight: 850;
}
.mwp-pro-location-empty { padding: 14px 12px; color: var(--mwp-muted); font-size: 12px; }

.mwp-pro-search-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(230px, 1.25fr) minmax(230px, 1.25fr) minmax(120px, .58fr) minmax(190px, .92fr);
    gap: 12px;
    align-items: end;
}

.mwp-pro-age-field select {
    width: 100%;
    min-height: 58px;
    padding: 0 38px 0 12px;
    border: 1px solid var(--mwp-border);
    border-radius: 12px;
    outline: 0;
    color: var(--mwp-text);
    background-color: #fff;
    box-shadow: 0 1px 1px rgba(16, 33, 63, .02);
    font-size: 14px;
}
.mwp-pro-age-field select:hover { border-color: #9eb6e4; }
.mwp-pro-age-field select:focus { border-color: var(--mwp-blue); box-shadow: var(--mwp-focus); }

.mwp-pro-date-time { position: relative; min-height: 58px; }
.mwp-pro-picker-custom { display: none; }
.mwp-pro-picker-native {
    min-height: 58px;
    width: 50%;
    padding: 0 10px;
    border: 1px solid var(--mwp-border);
    color: var(--mwp-text);
    background: #fff;
}
.mwp-pro-picker-native:first-child { border-radius: 12px 0 0 12px; }
.mwp-pro-picker-native:nth-child(2) { border-left: 0; border-radius: 0 12px 12px 0; }

.mwp-pro-search-widget.is-enhanced .mwp-pro-picker-native {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
}
.mwp-pro-search-widget.is-enhanced .mwp-pro-picker-custom {
    min-height: 58px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(88px, .68fr);
    overflow: hidden;
    border: 1px solid var(--mwp-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 1px rgba(16, 33, 63, .02);
    transition: border-color .16s ease, box-shadow .16s ease;
}
.mwp-pro-search-widget.is-enhanced .mwp-pro-picker-custom:hover { border-color: #9eb6e4; }
.mwp-pro-date-time.is-open .mwp-pro-picker-custom { border-color: var(--mwp-blue); box-shadow: var(--mwp-focus); }

.mwp-pro-picker-trigger {
    min-width: 0;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 11px;
    border: 0;
    border-radius: 0;
    color: var(--mwp-text);
    background: transparent;
    box-shadow: none;
    text-align: left;
    cursor: pointer;
}
.mwp-pro-picker-trigger + .mwp-pro-picker-trigger { border-left: 1px solid #e1e7ef; }
.mwp-pro-picker-trigger:hover { background: #f7faff !important; }
.mwp-pro-picker-trigger:focus-visible { outline: 0; box-shadow: inset var(--mwp-focus); }
.mwp-pro-picker-trigger svg { flex: 0 0 18px; width: 18px; height: 18px; fill: var(--mwp-blue-dark); }
.mwp-pro-picker-trigger > span { min-width: 0; display: grid; }
.mwp-pro-picker-trigger small { color: #7a8799; font-size: 9px; font-weight: 700; line-height: 1.2; }
.mwp-pro-picker-trigger strong {
    overflow: hidden;
    color: var(--mwp-navy);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mwp-pro-date-time.is-open { z-index: 320; }
.mwp-pro-picker-popover {
    position: absolute;
    z-index: 350;
    top: calc(100% + 10px);
    left: 0;
    width: min(370px, calc(100vw - 34px));
    padding: 13px;
    border: 1px solid #cfd9e5;
    border-radius: 16px;
    color: var(--mwp-text);
    background: #fff;
    box-shadow: 0 24px 65px rgba(16, 33, 63, .22);
}
.mwp-pro-date-time[data-picker-align="end"] .mwp-pro-picker-popover { right: 0; left: auto; }
.mwp-pro-picker-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 1px 2px 10px; }
.mwp-pro-picker-top strong { color: var(--mwp-navy); font-size: 14px; font-weight: 800; }
.mwp-pro-picker-close {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 9px;
    color: #526075;
    background: #f1f4f8;
    box-shadow: none;
    font-size: 21px;
    line-height: 1;
}
.mwp-pro-picker-close:hover { background: #e8edf4 !important; }
.mwp-pro-picker-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 12px; padding: 4px; border-radius: 11px; background: #eef3f7; }
.mwp-pro-picker-tabs button {
    min-height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    color: #5b687b;
    background: transparent;
    box-shadow: none;
    font-size: 11px;
    font-weight: 800;
}
.mwp-pro-picker-tabs button:hover { background: rgba(255,255,255,.55) !important; }
.mwp-pro-picker-tabs button.is-active { color: var(--mwp-navy); background: #fff !important; box-shadow: 0 3px 10px rgba(16, 33, 63, .08); }

.mwp-pro-calendar-header { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; margin: 0 0 8px; }
.mwp-pro-calendar-header strong { text-align: center; color: var(--mwp-navy); font-size: 13px; font-weight: 800; text-transform: capitalize; }
.mwp-pro-calendar-header button {
    height: 34px;
    padding: 0;
    border: 1px solid #e0e6ee;
    border-radius: 9px;
    color: var(--mwp-navy);
    background: #fff;
    box-shadow: none;
    font-size: 22px;
    line-height: 1;
}
.mwp-pro-calendar-header button:hover { border-color: #9eb6e4; background: var(--mwp-mint) !important; }
.mwp-pro-calendar-weekdays,
.mwp-pro-calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.mwp-pro-calendar-weekdays { margin: 0 0 4px; }
.mwp-pro-calendar-weekdays span { color: #8a95a5; text-align: center; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.mwp-pro-calendar-day {
    aspect-ratio: 1;
    min-width: 0;
    min-height: 34px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    color: #344156;
    background: transparent;
    box-shadow: none;
    font-size: 11px;
    font-weight: 750;
}
.mwp-pro-calendar-day:hover:not(:disabled) { color: var(--mwp-blue-dark); background: var(--mwp-mint) !important; }
.mwp-pro-calendar-day.is-outside { color: #afb8c4; }
.mwp-pro-calendar-day.is-today { box-shadow: inset 0 0 0 1px #91abe0; }
.mwp-pro-calendar-day.is-selected { color: #fff; background: var(--mwp-blue) !important; box-shadow: 0 6px 13px rgba(28, 87, 213, .23); }
.mwp-pro-calendar-day:disabled { color: #d6dce4; cursor: not-allowed; }
.mwp-pro-calendar-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid #edf0f4; }
.mwp-pro-calendar-footer button {
    min-height: 34px;
    padding: 0 11px;
    border: 0;
    border-radius: 9px;
    color: var(--mwp-blue-dark);
    background: var(--mwp-mint);
    box-shadow: none;
    font-size: 10px;
    font-weight: 850;
}
.mwp-pro-calendar-footer button:hover { background: #e2ebff !important; }
.mwp-pro-calendar-footer .mwp-pro-calendar-continue { color: #fff; background: var(--mwp-blue) !important; }
.mwp-pro-time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; max-height: 276px; padding: 2px; overflow-y: auto; scrollbar-width: thin; }
.mwp-pro-time-option {
    min-height: 39px;
    padding: 0;
    border: 1px solid #dce4ed;
    border-radius: 9px;
    color: #405067;
    background: #fff;
    box-shadow: none;
    font-size: 11px;
    font-weight: 800;
}
.mwp-pro-time-option:hover { border-color: #91abe0; color: var(--mwp-blue-dark); background: var(--mwp-mint) !important; }
.mwp-pro-time-option.is-selected { color: #fff; border-color: var(--mwp-blue); background: var(--mwp-blue) !important; }

.mwp-pro-search-submit {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 25px 0 0;
    padding: 0 18px;
    border: 1px solid #f45100;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(180deg, #ff650d 0%, var(--mwp-orange) 100%);
    box-shadow: 0 10px 24px rgba(255, 90, 0, .24);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.mwp-pro-search-submit:hover:not(:disabled),
.mwp-pro-search-submit:focus:not(:disabled) {
    color: #fff;
    background: linear-gradient(180deg, #f75a00 0%, var(--mwp-orange-dark) 100%) !important;
    box-shadow: 0 12px 26px rgba(232, 75, 0, .27);
    transform: translateY(-1px);
}
.mwp-pro-search-submit:focus-visible { outline: 0; box-shadow: var(--mwp-focus), 0 12px 26px rgba(232, 75, 0, .27); }
.mwp-pro-search-submit:disabled { opacity: .6; cursor: wait; transform: none; }
.mwp-pro-search-submit svg { width: 20px; height: 20px; fill: currentColor; }

.mwp-pro-search-message { min-height: 0; margin: 8px 0 0; color: #31508f; font-size: 11px; }
.mwp-pro-search-message:empty { display: none; }
.mwp-pro-search-message.is-error { color: #b42318; }

.mwp-pro-picker-backdrop {
    position: fixed;
    z-index: 999990;
    inset: 0;
    display: none;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(7, 18, 36, .58);
    backdrop-filter: blur(2px);
}
.mwp-pro-picker-backdrop[hidden] { display: none !important; }
body.mwp-pro-picker-open { overflow: hidden; }

@media (max-width: 1120px) {
    .mwp-pro-location-row.has-separate-return { grid-template-columns: minmax(230px, 1fr) minmax(230px, 1fr); }
    .mwp-pro-location-row.has-separate-return .mwp-pro-same-return { grid-column: 1 / -1; grid-row: 2; width: fit-content; margin: 0; }
    .mwp-pro-search-grid { grid-template-columns: 1fr 1fr minmax(120px, .55fr); }
    .mwp-pro-search-submit { grid-column: 1 / -1; margin-top: 0; }
}

@media (max-width: 820px) {
    .mwp-pro-location-row,
    .mwp-pro-location-row.has-separate-return { grid-template-columns: 1fr; }
    .mwp-pro-same-return,
    .mwp-pro-location-row.has-separate-return .mwp-pro-same-return { grid-column: auto; grid-row: auto; width: 100%; margin: 0; }
    .mwp-pro-search-grid { grid-template-columns: 1fr 1fr; }
    .mwp-pro-age-field { grid-column: 1 / -1; }
    .mwp-pro-search-submit { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .mwp-pro-search-card { padding: 15px; border-radius: 16px; }
    .mwp-pro-location-shell {
        overflow: hidden;
        padding-right: 8px;
    }
    .mwp-pro-location-badge {
        max-width: 92px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .mwp-pro-search-heading { align-items: flex-start; margin-bottom: 13px; padding-bottom: 12px; }
    .mwp-pro-search-heading strong { font-size: 14px; }
    .mwp-pro-search-trust { display: none; }
    .mwp-pro-location-row { gap: 10px; margin-bottom: 12px; }
    .mwp-pro-search-grid { grid-template-columns: 1fr; }
    .mwp-pro-age-field,
    .mwp-pro-search-submit { grid-column: auto; }
    .mwp-pro-same-return { min-height: 52px; }
    .mwp-pro-search-submit { margin-top: 0; }
    .mwp-pro-search-widget.is-enhanced .mwp-pro-picker-custom { grid-template-columns: minmax(0, 1fr) minmax(105px, .7fr); }
    .mwp-pro-location-results {
        position: fixed;
        z-index: 999999;
        top: 78px;
        right: 10px;
        bottom: 10px;
        left: 10px;
        max-height: none;
        border-radius: 18px;
    }
    .mwp-pro-picker-popover {
        position: fixed;
        z-index: 999999;
        top: auto !important;
        right: 10px !important;
        bottom: 10px;
        left: 10px !important;
        width: auto;
        max-height: calc(100dvh - 20px);
        overflow-y: auto;
        border-radius: 19px;
    }
    .mwp-pro-picker-backdrop { display: block; }
    .mwp-pro-time-grid { grid-template-columns: repeat(4, 1fr); max-height: 42dvh; }
}

@media (max-width: 460px) {
    .mwp-pro-search-heading { display: block; }
    .mwp-pro-picker-trigger { padding-inline: 8px; }
    .mwp-pro-picker-trigger svg { display: none; }
    .mwp-pro-picker-trigger strong { font-size: 12px; }
    .mwp-pro-time-grid { grid-template-columns: repeat(3, 1fr); }
}


/* v1.2 – mobile Stationsauswahl als eigener Dialog */
.mwp-pro-mobile-location-modal[hidden] { display: none !important; }
.mwp-pro-mobile-location-modal {
    position: fixed;
    z-index: 1000000;
    inset: 0;
    display: none;
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
    background: rgba(7, 18, 36, .48);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.mwp-pro-mobile-location-modal__panel {
    box-sizing: border-box;
    width: min(100%, 720px);
    height: 100%;
    min-height: 0;
    margin: 0 auto;
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(203, 216, 238, .95);
    border-radius: 22px;
    color: #10245c;
    background: #fff;
    box-shadow: 0 28px 90px rgba(5, 28, 83, .30);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.mwp-pro-mobile-location-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px 12px;
    border-bottom: 1px solid #e3e9f2;
}
.mwp-pro-mobile-location-modal__eyebrow {
    display: block;
    margin-bottom: 2px;
    color: #1c57d5;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .10em;
    line-height: 1.3;
    text-transform: uppercase;
}
.mwp-pro-mobile-location-modal__header h2 {
    margin: 0;
    color: #091d63;
    font-size: 22px;
    font-weight: 850;
    line-height: 1.2;
}
.mwp-pro-mobile-location-modal__close {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #10245c;
    background: #f0f4fa;
    box-shadow: none;
    font: 400 30px/1 Arial, sans-serif;
    cursor: pointer;
}
.mwp-pro-mobile-location-modal__search {
    position: relative;
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    margin: 14px 14px 8px;
}
.mwp-pro-mobile-location-modal__search-icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 15px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    color: #1c57d5;
    pointer-events: none;
}
.mwp-pro-mobile-location-modal__search-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}
.mwp-pro-mobile-location-modal__search input {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 58px;
    margin: 0;
    padding: 0 16px 0 48px;
    border: 2px solid #c7d5ee;
    border-radius: 15px;
    outline: 0;
    color: #10245c;
    background: #fff;
    box-shadow: none;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.3;
    text-transform: none;
    caret-color: #1c57d5;
    appearance: none;
    -webkit-appearance: none;
}
.mwp-pro-mobile-location-modal__search input:focus {
    border-color: #1c57d5;
    box-shadow: 0 0 0 4px rgba(28, 87, 213, .14);
}
.mwp-pro-mobile-location-modal__status {
    min-height: 28px;
    padding: 2px 18px 10px;
    color: #687796;
    font-size: 12px;
    line-height: 1.35;
}
.mwp-pro-mobile-location-modal__results {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid #e3e9f2;
}
.mwp-pro-mobile-location-modal__section-title {
    padding: 13px 16px 9px;
    color: #31508f;
    background: #f7f9fd;
    border-bottom: 1px solid #e7ecf3;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1.3;
    text-transform: uppercase;
}
.mwp-pro-mobile-location-option {
    width: 100%;
    min-height: 74px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin: 0;
    padding: 13px 16px;
    border: 0;
    border-bottom: 1px solid #e7ecf3;
    border-radius: 0;
    color: #10245c;
    background: #fff;
    box-shadow: none;
    text-align: left;
    cursor: pointer;
}
.mwp-pro-mobile-location-option:active,
.mwp-pro-mobile-location-option:focus-visible {
    outline: 0;
    background: #eef4ff;
}
.mwp-pro-mobile-location-option__icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #1244b5;
    background: #eef4ff;
}
.mwp-pro-mobile-location-option__icon.is-airport { color: #176aa5; background: #edf6ff; }
.mwp-pro-mobile-location-option__icon.is-railway { color: #75551a; background: #fff7e5; }
.mwp-pro-mobile-location-option__icon svg { width: 22px; height: 22px; fill: currentColor; }
.mwp-pro-mobile-location-option__content { min-width: 0; display: grid; gap: 4px; }
.mwp-pro-mobile-location-option__content strong {
    overflow: hidden;
    color: #091d63;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mwp-pro-mobile-location-option__content span {
    overflow: hidden;
    color: #687796;
    font-size: 13px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mwp-pro-mobile-location-option__code {
    color: #31508f;
    font-size: 14px;
    font-weight: 900;
    text-align: right;
}
.mwp-pro-mobile-location-modal__empty {
    padding: 40px 20px;
    color: #687796;
    font-size: 14px;
    text-align: center;
}
body.mwp-pro-mobile-location-open {
    overflow: hidden !important;
    touch-action: none;
}

@media (max-width: 720px) {
    .mwp-pro-mobile-location-modal { display: block; }
    .mwp-pro-search-widget.is-enhanced input[data-location-input] {
        cursor: pointer;
        font-size: 16px;
    }
    .mwp-pro-search-widget.is-enhanced .mwp-pro-location-results {
        display: none !important;
    }
}

@media (max-width: 420px) {
    .mwp-pro-mobile-location-modal { padding-inline: 8px; }
    .mwp-pro-mobile-location-modal__panel { border-radius: 19px; }
    .mwp-pro-mobile-location-modal__header { padding-inline: 14px; }
    .mwp-pro-mobile-location-modal__search { margin-inline: 10px; }
    .mwp-pro-mobile-location-option { padding-inline: 12px; }
}


/* v1.4 – iOS: vollständige Umrandung im Stationsdialog */
@supports (-webkit-touch-callout: none) {
    .mwp-pro-mobile-location-modal__search {
        overflow: visible;
        padding: 0;
    }
    .mwp-pro-mobile-location-modal__search input[type="search"] {
        box-sizing: border-box !important;
        inline-size: 100% !important;
        max-inline-size: 100% !important;
        border-right-width: 2px !important;
        border-right-style: solid !important;
        border-right-color: #c7d5ee !important;
        -webkit-border-radius: 15px;
    }
    .mwp-pro-mobile-location-modal__search input[type="search"]:focus {
        border-right-color: #1c57d5 !important;
    }
}


/* v1.5.1 – Theme-sichere Darstellung der zuletzt gesuchten Orte */
body .mwp-pro-mobile-location-modal .mwp-pro-mobile-location-modal__results {
    color: #10245c !important;
    background: #ffffff !important;
}
body .mwp-pro-mobile-location-modal .mwp-pro-mobile-location-modal__section-title {
    color: #31508f !important;
    background: #f7f9fd !important;
    background-image: none !important;
}
body .mwp-pro-mobile-location-modal .mwp-pro-mobile-location-modal__results > button.mwp-pro-mobile-location-option,
body .mwp-pro-mobile-location-modal .mwp-pro-mobile-location-modal__results > button.mwp-pro-mobile-location-option:hover {
    -webkit-appearance: none !important;
    appearance: none !important;
    color: #10245c !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border: 0 !important;
    border-bottom: 1px solid #e7ecf3 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}
body .mwp-pro-mobile-location-modal .mwp-pro-mobile-location-modal__results > button.mwp-pro-mobile-location-option:active,
body .mwp-pro-mobile-location-modal .mwp-pro-mobile-location-modal__results > button.mwp-pro-mobile-location-option:focus,
body .mwp-pro-mobile-location-modal .mwp-pro-mobile-location-modal__results > button.mwp-pro-mobile-location-option:focus-visible {
    color: #10245c !important;
    background: #eef4ff !important;
    background-color: #eef4ff !important;
    background-image: none !important;
    outline: 0 !important;
}
body .mwp-pro-mobile-location-modal button.mwp-pro-mobile-location-option .mwp-pro-mobile-location-option__content strong {
    color: #091d63 !important;
}
body .mwp-pro-mobile-location-modal button.mwp-pro-mobile-location-option .mwp-pro-mobile-location-option__content span {
    color: #687796 !important;
}
body .mwp-pro-mobile-location-modal button.mwp-pro-mobile-location-option .mwp-pro-mobile-location-option__code {
    color: #31508f !important;
}
