/* =============================================
   GlobalPropertyMarketplace – Design System
   IS24-inspired Redesign
   ============================================= */

/* ============================================================
   THEME-TOKENS — :root = Classic. [data-theme="adriatica"] überschreibt.
   Umschaltbar aus dem AdminPortal (site-weit, per data-theme auf <html>).
   ============================================================ */
:root {
    --gpm-navy:         #0D1F3C;
    --gpm-blue:         #1B3464;
    --gpm-orange:       #E8821A;
    --gpm-orange-light: #F4A340;
    --gpm-bg:           #F5F5F5;
    --gpm-surface:      #FFFFFF;
    --gpm-text:         #1A2535;
    --gpm-muted:        #64748B;
    --gpm-border:       #E2E8F0;
    --gpm-shadow:       0 2px 12px rgba(0,0,0,0.08);
    --gpm-shadow-lg:    0 10px 36px rgba(0,0,0,0.16);
    --gpm-radius:       10px;

    /* Semantische Tokens (theme-fähig) */
    --gpm-primary:      #1B3464;   /* Ink/Marke: Überschriften, Logo, aktive Auswahl-Sekundär */
    --gpm-accent:       #E8821A;   /* Aktion/Auswahl: CTA, aktive Chips, Fortschritt */
    --gpm-accent-ink:   #C46A15;   /* Text auf hellem Akzent-Tint */
    --gpm-accent-soft:  #FFF4E8;   /* Akzent-Tint-Hintergrund */
    --gpm-sun:          #E8821A;   /* Zweitakzent (in Classic = Akzent) */
    --gpm-hero:         #0D1F3C;   /* Hero-Hintergrund */
    --gpm-muted-2:      #94A3B8;   /* schwächeres Muted (Icons, Hints) */
    --gpm-surface-2:    #F8FAFC;   /* leicht getönte Fläche */
    --gpm-ink-soft:     #334155;   /* weiches Ink */
    --gpm-ok-bg:        #DCFCE7;   /* Property-Status „aktiv" (Badge-Hintergrund) */
    --gpm-ok-fg:        #15803D;   /* Property-Status „aktiv" (Badge-Text) */
    --gpm-chip-radius:  20px;      /* Chip-Rundung (Pill in Classic) */
    --gpm-font-display: 'Roboto', sans-serif;
    --gpm-font-body:    'Roboto', sans-serif;
}

/* ── Adriatica · Kante — küsten-architektonisch, Petrol/Teal + Ocker, 0-Radius ── */
:root[data-theme="adriatica"] {
    --gpm-navy:         #082024;
    --gpm-blue:         #0B2A30;
    --gpm-orange:       #0E7C7B;
    --gpm-orange-light: #12968F;
    --gpm-bg:           #F1F4F3;
    --gpm-surface:      #FFFFFF;
    --gpm-text:         #0B2A30;
    --gpm-muted:        #5F7377;
    --gpm-border:       #E4E9E7;
    --gpm-radius:       0;

    --gpm-primary:      #0B2A30;
    --gpm-accent:       #0E7C7B;
    --gpm-accent-ink:   #0A5C5C;
    --gpm-accent-soft:  #E4F1EF;
    --gpm-sun:          #E4A15B;   /* warmer Ocker-Zweitakzent (Eyebrow, Tags) */
    --gpm-hero:         #0B2A30;
    --gpm-muted-2:      #7C9093;
    --gpm-surface-2:    #F5F8F7;
    --gpm-ink-soft:     #33494C;
    --gpm-ok-bg:        #E4F1EF;   /* „aktiv" im Petrol-Theme = Teal-Tint statt Grün */
    --gpm-ok-fg:        #0A5C5C;
    --gpm-chip-radius:  0;
    --gpm-font-display: 'Space Grotesk', sans-serif;
    --gpm-font-body:    'Inter', sans-serif;
}

html, body {
    font-family: var(--gpm-font-body);
    background: var(--gpm-bg);
    color: var(--gpm-text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── IS24 Top Logo / Nav ────────────────────── */
.is24-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-right: 16px;
    flex-shrink: 0;
}
.is24-logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--gpm-accent) 0%, var(--gpm-orange-light) 100%);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.is24-logo-text { display: flex; flex-direction: column; }
.is24-logo-name { font-weight: 700; font-size: 0.88rem; color: var(--gpm-text); line-height: 1.15; }
.is24-logo-sub  { font-size: 0.58rem; color: var(--gpm-muted-2); letter-spacing: 0.6px; line-height: 1; text-transform: uppercase; }

.is24-top-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    /* Darf schrumpfen statt die Knöpfe rechts zu quetschen; was nicht passt, holt js/header-fit.js ins Menü. */
    min-width: 0;
    overflow: hidden;
}
/* Knöpfe und Umschalter im Header brechen nie um („PRIJAVI / SE" bei langen Sprachen, 23.11.2026). */
.mud-appbar .gpm-nowrap,
.mud-appbar .mud-menu { white-space: nowrap; flex-shrink: 0; }
/* Links passen nicht in die Zeile (header-fit.js): wie am Handy, Links ins Menü, Menü-Symbol zeigen. */
html.gpm-nav-overflow .is24-top-nav { visibility: hidden; position: absolute; pointer-events: none; }
html.gpm-nav-overflow .gpm-burger { display: inline-flex !important; }
.is24-nav-link {
    padding: 7px 13px;
    border-radius: 6px;
    font-size: 0.87rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: background 0.14s, color 0.14s;
    white-space: nowrap;
}
.is24-nav-link:hover { background: #F0F4FA; color: var(--gpm-primary); }

/* ── Mobile nav overlay ─────────────────────── */
.is24-mobile-nav {
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: white;
    z-index: 1200;
    border-bottom: 1px solid #E8EDF5;
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}
.is24-mobile-link {
    display: block;
    padding: 13px 20px;
    font-size: 0.93rem;
    color: var(--gpm-text);
    text-decoration: none;
    transition: background 0.12s;
    border-bottom: 1px solid #F5F5F5;
}
.is24-mobile-link:hover { background: #F7F9FC; }
.is24-mobile-highlight { color: var(--gpm-accent); font-weight: 600; }

/* ── IS24 Hero (full viewport width breakout) ── */
.is24-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: -24px;    /* offset MudContainer py-6 top padding */
    margin-bottom: 40px;
    height: 500px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    position: relative;
}

.is24-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 35%;
}

.is24-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.04) 0%,
        rgba(0,0,0,0.18) 40%,
        rgba(0,0,0,0.68) 100%
    );
}

.is24-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 44px;
}

.is24-hero-title {
    color: white;
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin: 0 0 6px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.35);
    line-height: 1.2;
}

.is24-hero-sub {
    color: rgba(255,255,255,0.82);
    font-size: 1rem;
    margin: 0 0 20px;
}

/* ── Search Widget ───────────────────────────── */
.is24-search-widget {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.28);
}

.is24-search-tabs-row {
    display: flex;
    background: var(--gpm-primary);
}

/* KI-Suche im Hero: ein freies Feld über dem Klick-Assistenten */
.is24-ai-row {
    display: flex; gap: 8px;
    padding: 16px 18px 6px;
}
.is24-ai-input {
    flex: 1; min-width: 0;
    padding: 10px 14px;
    border: 1.5px solid var(--gpm-border);
    border-radius: 8px;
    font-size: 0.92rem;
    color: var(--gpm-text);
    background: var(--gpm-surface);
}
.is24-ai-input:focus { outline: none; border-color: var(--gpm-accent); }
.is24-ai-row .is24-search-btn:disabled { opacity: 0.55; cursor: default; }
.is24-ai-or {
    padding: 0 18px;
    font-size: 0.75rem;
    color: var(--gpm-muted);
    text-transform: uppercase; letter-spacing: 0.6px;
}
@media (max-width: 600px) {
    .is24-ai-row { flex-direction: column; }
}

.is24-stab {
    padding: 12px 20px;
    font-size: 0.87rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.58);
    transition: all 0.14s;
    border-bottom: 3px solid transparent;
}
.is24-stab:hover { color: white; background: rgba(255,255,255,0.07); }
.is24-stab-active { color: white; border-bottom-color: var(--gpm-accent); }

.is24-search-form {
    display: flex;
    align-items: center;
    padding: 12px;
    gap: 8px;
    flex-wrap: wrap;
}

.is24-search-input-wrap {
    flex: 1;
    min-width: 180px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--gpm-border);
    border-radius: 8px;
    padding: 8px 12px;
    background: #FAFBFC;
    transition: border-color 0.14s;
}
.is24-search-input-wrap:focus-within { border-color: var(--gpm-primary); }

.is24-search-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.92rem;
    color: var(--gpm-text);
    width: 100%;
}
.is24-search-input::placeholder { color: var(--gpm-muted-2); }

.is24-search-select {
    border: 1.5px solid var(--gpm-border);
    border-radius: 8px;
    padding: 9px 10px;
    font-size: 0.87rem;
    color: #475569;
    background: #FAFBFC;
    outline: none;
    cursor: pointer;
    min-width: 130px;
    transition: border-color 0.14s;
}
.is24-search-select:focus { border-color: var(--gpm-primary); }

.is24-search-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 8px;
    background: var(--gpm-accent);
    color: white;
    border: none;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.14s;
    white-space: nowrap;
}
.is24-search-btn:hover { background: var(--gpm-accent-ink); }

/* ── Search Wizard ───────────────────────────── */
.is24-wizard-body {
    padding: 16px 20px 20px;
}

.is24-wizard-heading {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gpm-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 14px;
}

/* Breadcrumb */
.is24-wizard-crumb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: var(--gpm-surface-2);
    border-bottom: 1px solid var(--gpm-border);
}

.is24-crumb-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--gpm-primary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 6px;
    transition: background 0.12s;
}
.is24-crumb-btn:hover { background: #EEF2FF; }

.is24-crumb-sep {
    color: var(--gpm-muted-2);
    font-size: 0.85rem;
}

/* Country flag grid */
.is24-country-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.is24-country-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 16px;
    border: 1.5px solid var(--gpm-border);
    border-radius: 10px;
    background: #FAFAFA;
    cursor: pointer;
    transition: border-color 0.14s, background 0.14s, transform 0.1s;
    min-width: 80px;
}
.is24-country-tile:hover {
    border-color: var(--gpm-accent);
    background: var(--gpm-accent-soft);
    transform: translateY(-2px);
}

.is24-country-flag {
    font-size: 2rem;
    line-height: 1;
}

.is24-country-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: #374151;
    text-align: center;
    white-space: nowrap;
}

.is24-country-all .is24-country-flag { font-size: 1.7rem; }
.is24-country-all { border-style: dashed; }

.is24-country-skel {
    height: 80px;
    width: 80px;
    background: linear-gradient(90deg, #F1F5F9 25%, var(--gpm-border) 50%, #F1F5F9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border: none;
    cursor: default;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* Country badge (Step 1 header) */
.is24-wizard-country-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #EEF2FF;
    border-radius: 10px;
    margin-bottom: 16px;
}

.is24-wizard-flag-lg { font-size: 2.6rem; line-height: 1; }

.is24-wizard-country-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gpm-primary);
}

/* Full-width selects inside wizard */
.is24-wizard-select {
    width: 100%;
    margin-bottom: 10px;
}

/* ── Type chips (Step 2) ─────────────────────── */
.is24-type-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.is24-type-chip {
    padding: 7px 16px;
    border: 1.5px solid var(--gpm-border);
    border-radius: 20px;
    background: white;
    font-size: 0.83rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: border-color 0.13s, background 0.13s, color 0.13s;
    white-space: nowrap;
}
.is24-type-chip:hover { border-color: var(--gpm-accent); color: var(--gpm-accent-ink); }
.is24-type-chip-active {
    background: var(--gpm-accent);
    border-color: var(--gpm-accent);
    color: white;
}
.is24-type-chip-active:hover { color: white; }
/* Lage-Chips im Startseiten-Assistenten (An der Küste / In den Bergen, 13.11.2026) */
.is24-lage-chip { display: inline-flex; align-items: center; gap: 6px; }

/* ── Offer-type checkboxes (Step 2) ─────────── */
.is24-offer-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.is24-offer-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gpm-ink-soft);
    padding: 12px 18px;
    border: 1.5px solid var(--gpm-border);
    border-radius: 10px;
    background: white;
    transition: border-color 0.13s, background 0.13s, color 0.13s;
    user-select: none;
    min-width: 150px;
}
.is24-offer-check:hover { border-color: var(--gpm-accent); }
.is24-offer-check-active { border-color: var(--gpm-accent); background: var(--gpm-accent-soft); color: var(--gpm-accent-ink); font-weight: 600; }

.is24-check-box {
    width: 18px;
    height: 18px;
    border: 2px solid #CBD5E1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.13s, border-color 0.13s, box-shadow 0.13s;
}
.is24-check-box-checked {
    border-color: var(--gpm-accent);
    background: var(--gpm-accent);
    box-shadow: inset 0 0 0 3px #fff;
}

/* ── Wizard-Redesign (13.07.2026): Stepper + Merkmale ───────────────
   Einheitliche Logik: Orange = Fortschritt/Auswahl, Navy = Ink, Grau = offen */
.wz-steps { display: flex; align-items: flex-start; }
.wz-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
}
.wz-step-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2px solid var(--gpm-border);
    background: #fff;
    color: var(--gpm-muted-2);
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.wz-step-dot .material-icons { font-size: 1.15rem; line-height: 1; }
.wz-step-label {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--gpm-muted-2);
    margin-top: 6px;
    text-align: center;
    max-width: 78px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wz-step-done .wz-step-dot { background: var(--gpm-accent); border-color: var(--gpm-accent); color: #fff; }
.wz-step-done .wz-step-label { color: var(--gpm-accent-ink); font-weight: 600; }
.wz-step-current .wz-step-dot {
    border-color: var(--gpm-accent);
    color: var(--gpm-accent-ink);
    box-shadow: 0 0 0 4px var(--gpm-accent-soft);
}
.wz-step-current .wz-step-label { color: var(--gpm-primary); font-weight: 700; }
.wz-step-bar {
    flex: 1 1 auto;
    height: 2px;
    background: var(--gpm-border);
    margin: 16px 6px 0;
    border-radius: 2px;
    transition: background 0.25s;
}
.wz-step-bar-done { background: var(--gpm-accent); }

/* Merkmale (Schritt 4) — Icon-Chips mit Häkchen */
.wz-amenity-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.wz-amenity {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border: 1.5px solid var(--gpm-border);
    border-radius: 10px;
    background: #fff;
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--gpm-ink-soft);
    cursor: pointer;
    transition: border-color 0.13s, background 0.13s, color 0.13s;
    user-select: none;
}
.wz-amenity .material-symbols-outlined {
    font-size: 1.2rem;
    line-height: 1;
    color: var(--gpm-muted-2);
    transition: color 0.13s;
    /* Fixe Box: ein gültiges Glyph (1em) passt zentriert; ein nicht auflösender
       Ligatur-Name läuft über und wird geclippt statt die Chip-Breite zu sprengen. */
    width: 1.25em;
    height: 1.25em;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
}
.wz-amenity:hover { border-color: var(--gpm-accent); }
.wz-amenity:hover .material-symbols-outlined { color: var(--gpm-accent); }
.wz-amenity-active { background: var(--gpm-accent-soft); border-color: var(--gpm-accent); color: var(--gpm-accent-ink); font-weight: 600; }
.wz-amenity-active .material-symbols-outlined { color: var(--gpm-accent); }
.wz-amenity-check { margin-left: 1px; }

/* Crumb text for non-clickable last item */
.is24-crumb-current {
    font-size: 0.83rem;
    font-weight: 600;
    color: #374151;
    padding: 2px 6px;
}

.is24-wizard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.is24-wizard-skip {
    font-size: 0.83rem;
    color: var(--gpm-muted);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    padding: 6px 0;
}
.is24-wizard-skip:hover { color: var(--gpm-primary); }

.is24-wizard-next {
    background: var(--gpm-primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 9px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.14s;
}
.is24-wizard-next:hover { background: #142754; }

/* ── Category Tiles ─────────────────────────── */
.is24-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .is24-categories { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .is24-categories { grid-template-columns: 1fr 1fr; gap: 10px; }
    .is24-hero { height: 420px; }
    .is24-hero-title { font-size: 1.5rem; }
    .is24-stab { padding: 10px 12px; font-size: 0.78rem; }
}

.is24-cat-tile {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 155px;
    cursor: pointer;
    display: block;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.is24-cat-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0,0,0,0.2);
}
.is24-cat-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}
.is24-cat-tile:hover img { transform: scale(1.07); }

.is24-cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.65) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px 16px;
}

.is24-cat-label    { color: white; font-size: 0.97rem; font-weight: 700; line-height: 1.2; }
.is24-cat-sublabel { color: rgba(255,255,255,0.72); font-size: 0.77rem; margin-top: 2px; }

/* ── Sections ───────────────────────────────── */
.is24-section       { margin-bottom: 40px; }
.is24-section-title { font-size: 1.3rem; font-weight: 700; color: var(--gpm-text); margin: 0 0 4px; }
.is24-section-sub   { font-size: 0.85rem; color: var(--gpm-muted); margin: 0 0 16px; }

/* ── Feature / USP cards ────────────────────── */
.is24-feature-card {
    background: white;
    border-radius: 12px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--gpm-shadow);
    height: 100%;
}
.is24-feature-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
}
.is24-feature-title { font-size: 1rem; font-weight: 700; color: var(--gpm-text); margin: 0 0 8px; }
.is24-feature-text  { font-size: 0.85rem; color: var(--gpm-muted); margin: 0; line-height: 1.65; }

/* ── Property Card ──────────────────────────── */
.prop-card {
    border-radius: var(--gpm-radius) !important;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    cursor: pointer;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    border: 1px solid #ECF0F6;
}

.prop-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--gpm-shadow-lg) !important;
    border-color: transparent;
}

.prop-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #E8EDF5;
    flex-shrink: 0;
    touch-action: pan-y;   /* horizontal swipe = slider, vertical = page scroll */
}

.prop-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}

.prop-card:hover .prop-img-wrap img { transform: scale(1.05); }

/* Search-card image slider (arrows appear on hover) + thumbnail strip below */
.prop-img-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 30px; height: 30px; padding: 0; border: none; border-radius: 50%;
    background: rgba(255,255,255,0.85); color: var(--gpm-primary);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; z-index: 2;
    transition: opacity 0.15s ease, background 0.15s ease;
}
.prop-card:hover .prop-img-nav { opacity: 1; }
.prop-img-nav:hover { background: #fff; }
/* Touch devices have no hover — keep the arrows visible so the inline slider is usable. */
@media (hover: none) { .prop-img-nav { opacity: 0.85; } }
.prop-img-nav.prev { left: 8px; }
.prop-img-nav.next { right: 8px; }
.prop-img-nav .mud-icon-root { font-size: 20px; }
.prop-img-count {
    position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    background: rgba(10,22,44,0.7); color: #fff;
    font-size: 0.7rem; font-weight: 600; padding: 2px 8px; border-radius: 12px;
    z-index: 2; pointer-events: none;
}
.prop-thumbs { display: flex; gap: 6px; padding: 8px 12px 0; overflow-x: auto; }
.prop-thumb {
    width: 46px; height: 34px; flex: 0 0 auto; object-fit: cover;
    border-radius: 4px; cursor: pointer; opacity: 0.6;
    border: 2px solid transparent; transition: opacity 0.12s, border-color 0.12s;
}
.prop-thumb:hover { opacity: 0.9; }
.prop-thumb.active { opacity: 1; border-color: var(--gpm-accent); }

.prop-price-tag {
    position: absolute; bottom: 12px; left: 12px;
    background: rgba(10,22,44,0.82);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.1px;
}

.prop-status-badge {
    position: absolute; top: 10px; right: 10px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.badge-published { background: #16A34A; color: #fff; }
.badge-draft     { background: rgba(0,0,0,0.44); color: rgba(255,255,255,0.9); }

.prop-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }

.prop-tags  { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 8px; }

.prop-tag { font-size: 0.7rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.tag-offer { background: #EEF2FF; color: #3558A0; }
/* Featured Listings (§2.72): Etikett + Rahmen. Nur vorhandene Tokens — gilt damit in Classic und Adriatica. */
.tag-featured { background: var(--gpm-accent-soft); color: var(--gpm-accent-ink); }
.prop-card-featured { box-shadow: 0 0 0 2px var(--gpm-accent), var(--gpm-shadow, 0 1px 3px rgba(0,0,0,.08)); }
.tag-type  { background: #F4F6F9; color: var(--gpm-muted); }

.prop-title {
    font-size: 0.93rem; font-weight: 600;
    color: var(--gpm-text); margin: 0 0 6px;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.prop-location {
    font-size: 0.8rem; color: var(--gpm-muted);
    margin: 0 0 auto;
    display: flex; align-items: center; gap: 3px;
    padding-bottom: 10px;
}

.prop-specs {
    display: flex; gap: 14px; flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid var(--gpm-border);
    margin-top: auto;
}

.prop-spec {
    font-size: 0.79rem; color: var(--gpm-muted);
    display: flex; align-items: center; gap: 4px;
}

/* ── Favorite button on card ────────────────── */
.prop-fav-btn {
    position: absolute; top: 10px; left: 10px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s, transform 0.15s;
    color: var(--gpm-muted-2);
    padding: 0;
    backdrop-filter: blur(4px);
}
.prop-fav-btn:hover { background: #fff; transform: scale(1.12); }
.prop-fav-btn.fav-active { color: var(--gpm-accent); background: #fff; }

/* Vergleichen-Umschalter (oben rechts, spiegelt den Favoriten-Button) */
.prop-compare-btn {
    position: absolute; top: 10px; right: 10px;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,0.9); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s, transform 0.15s;
    color: var(--gpm-muted-2); padding: 0; backdrop-filter: blur(4px);
}
.prop-compare-btn:hover { background: #fff; transform: scale(1.12); }
.prop-compare-btn.cmp-active { color: var(--gpm-primary); background: #fff; box-shadow: 0 0 0 2px var(--gpm-primary) inset; }

/* Schwebende Vergleichsleiste */
.compare-bar {
    position: fixed; left: 50%; transform: translateX(-50%);
    bottom: 20px; z-index: 1300;
    display: flex; align-items: center; gap: 14px;
    background: var(--gpm-ink, #1A2535); color: #fff;
    padding: 10px 18px; border-radius: 999px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.compare-bar .cmp-count {
    background: var(--gpm-primary, #1B3464); color: #fff;
    border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: 0.8rem;
}

/* Vergleichstabelle (/compare) */
.compare-table { border-collapse: collapse; width: 100%; min-width: 520px; }
.compare-table th, .compare-table td {
    padding: 12px 14px; border-bottom: 1px solid var(--gpm-border, #E2E8F0);
    text-align: left; vertical-align: middle; font-size: 0.9rem;
}
.compare-table thead th { vertical-align: top; }
.cmp-rowhead { background: #F8FAFC; font-weight: 600; color: var(--gpm-muted, #64748B); white-space: nowrap; width: 150px; }
.cmp-col-head { text-align: center; min-width: 150px; }
.cmp-thumb { width: 100%; max-width: 170px; height: 100px; object-fit: cover; border-radius: 10px; display: block; margin: 0 auto; }
.cmp-price { font-weight: 700; color: var(--gpm-primary, #1B3464); }

/* Inseratsqualität (Score-Kreis im Editor) */
.quality-score {
    width: 52px; height: 52px; border-radius: 50%; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.15rem; flex-shrink: 0;
}

/* ── Legacy Hero (kept for fallback) ────────── */
.gpm-hero {
    background: linear-gradient(135deg, var(--gpm-navy) 0%, var(--gpm-primary) 58%, #2558A8 100%);
    border-radius: 16px;
    padding: 52px 44px 44px;
    position: relative;
    overflow: hidden;
}
.hero-content  { position: relative; z-index: 1; }
.hero-stats    { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.hero-stat-value { color: #fff; font-size: 1.5rem; font-weight: 700; line-height: 1; }
.hero-stat-label { color: rgba(255,255,255,0.55); font-size: 0.76rem; margin-top: 2px; }

/* ── Section headers ────────────────────────── */
.sec-title { font-size: 1.3rem; font-weight: 700; color: var(--gpm-text); margin: 0; }
.sec-sub   { font-size: 0.85rem; color: var(--gpm-muted); margin: 2px 0 0; }

/* ── Filter-Abschnitte (Off-Canvas der Suche; das seitliche Panel entfiel am 13.11.2026) ── */
.filter-section-label {
    font-size: 0.67rem; font-weight: 700;
    color: var(--gpm-muted);
    text-transform: uppercase; letter-spacing: 0.9px;
    margin-bottom: 12px; margin-top: 8px;
    display: block;
}

/* ── KI-Suche: was aus dem Freitext erkannt wurde (Suchseite) ── */
.ai-search-hint {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px;
    padding: 10px 14px; margin-bottom: 14px;
    background: var(--gpm-accent-soft);
    border: 1px solid var(--gpm-border);
    border-radius: var(--gpm-radius);
    font-size: 0.84rem; color: var(--gpm-text);
}
.ai-search-hint-label { font-weight: 600; color: var(--gpm-accent-ink); }
.ai-search-chip {
    padding: 2px 10px;
    background: var(--gpm-surface);
    border: 1px solid var(--gpm-border);
    border-radius: var(--gpm-chip-radius);
    white-space: nowrap;
}
.ai-search-unmatched {
    flex-basis: 100%;
    color: var(--gpm-muted);
    font-size: 0.8rem;
}

/* ── Demo-Banner (§2.86) ─────────────────────── */
.gpm-demo-banner {
    background: #FEF3C7; color: #78350F; border-bottom: 1px solid #FCD34D;
    text-align: center; font-size: 0.85rem; font-weight: 600; padding: 8px 16px;
}

/* ── AppBar override ────────────────────────── */
.mud-appbar {
    box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
}

/* ── Auth pages ─────────────────────────────── */
.auth-logo {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; margin-bottom: 28px;
}

/* ── Empty state ────────────────────────────── */
.empty-state { text-align: center; padding: 64px 24px; }
/* Gruppenüberschrift in Auswahllisten (Immobilienart der Suche) — bewusst kein Auswahlwert, siehe Search.razor.
   MudSelect rendert seinen Inhalt zusätzlich AUSSERHALB der Liste (zum Registrieren der Einträge); ein
   MudSelectItem blendet sich dort selbst aus, ein einfaches div nicht. Deshalb nur im Popover sichtbar. */
.select-group-header { display: none; }
.mud-popover .select-group-header { display: block; padding: 10px 16px 4px; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gpm-muted); pointer-events: none; user-select: none; }
/* Kartenansicht der Suche: Laden / Fehler / keine Treffer über der Karte. Über den Leaflet-Ebenen (Panes 400,
   Steuerelemente 1000); die Fläche selbst lässt Klicks zur Karte durch, nur der Inhalt fängt sie. */
.map-overlay { position: absolute; inset: 0; z-index: 1001; display: flex; align-items: center; justify-content: center; padding: 16px; pointer-events: none; }
.map-overlay > * { pointer-events: auto; max-width: 420px; }
.map-country-picker { background: var(--gpm-surface); border: 1px solid var(--gpm-border); border-radius: 14px; padding: 22px 20px; text-align: center; box-shadow: 0 8px 28px rgba(15, 23, 42, .18); }
.map-country-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
/* Unter md (MudBlazor: 960px) stapelt die Suchseite Panel über Ergebnis — in der Kartenansicht stünde die
   Länderfrage dann unterhalb des sichtbaren Bereichs. Deshalb dort Karte zuerst, Filter darunter. */
.empty-state-icon { font-size: 3.5rem !important; color: #CBD5E1; margin-bottom: 16px; }

/* ── My Properties list row ─────────────────── */
.my-prop-row { display: flex; align-items: center; gap: 0; }
.my-prop-thumb { width: 120px; min-width: 120px; height: 90px; flex-shrink: 0; background: #E8EDF5; overflow: hidden; }
.my-prop-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.my-prop-info { flex: 1; padding: 12px 16px; min-width: 0; }
.my-prop-title { font-size: 0.9rem; font-weight: 600; color: var(--gpm-text); margin: 0 0 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.my-prop-actions { display: flex; flex-direction: column; align-items: center; padding: 8px; gap: 2px; flex-shrink: 0; border-left: 1px solid var(--gpm-border); }

@media (max-width: 600px) {
    .my-prop-thumb { width: 90px; min-width: 90px; height: 80px; }
    .my-prop-actions { flex-direction: row; border-left: none; border-top: 1px solid var(--gpm-border); padding: 6px 12px; }
    .my-prop-row { flex-wrap: wrap; }
}

/* ── Status tags ────────────────────────────── */
.tag-published { background: #DCFCE7; color: #15803D; }
.tag-draft-sm  { background: #F1F5F9; color: var(--gpm-muted); }

/* ── Image upload label ─────────────────────── */
.img-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 2px dashed var(--gpm-border);
    border-radius: 10px;
    padding: 32px 16px;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s;
    background: #FAFBFC;
}
.img-upload-label:hover { border-color: var(--gpm-primary); background: #F0F4FA; }

/* Edit page: "what would you like to edit?" section chooser */
.edit-sections {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
    padding: 14px 18px; background: #fff;
    border: 1px solid var(--gpm-border); border-radius: 14px;
}
.edit-sections-label { font-weight: 700; color: var(--gpm-text); font-size: 0.9rem; }
.edit-section-tiles { display: flex; flex-wrap: wrap; gap: 8px; }
.edit-section-tile {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border: 1.5px solid var(--gpm-border); border-radius: 20px;
    background: #fff; color: var(--gpm-muted); font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: color .12s, border-color .12s, background .12s;
}
.edit-section-tile:hover { border-color: var(--gpm-accent); color: var(--gpm-accent-ink); }
.edit-section-tile.active { background: var(--gpm-accent); border-color: var(--gpm-accent); color: #fff; }
.edit-section-tile.active .mud-icon-root { color: #fff; }
.edit-section-tile .mud-icon-root { font-size: 18px; }

/* Uploaded-image tile: click to pick the main image (cover), drag to reorder. */
.wz-img { cursor: grab; transition: box-shadow 0.12s ease, opacity 0.12s ease; }
.wz-img:active { cursor: grabbing; }
.wz-img:hover { box-shadow: 0 0 0 3px var(--gpm-accent-soft); }
.wz-img.is-cover { box-shadow: 0 0 0 3px var(--gpm-accent); }
.wz-img.wz-dragging { opacity: 0.4; }
.wz-img-del {
    position: absolute; top: 4px; left: 4px;
    width: 22px; height: 22px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border: none; border-radius: 50%;
    background: rgba(0,0,0,0.5); color: #fff; cursor: pointer;
    transition: background 0.12s;
}
.wz-img-del:hover { background: var(--gpm-error, #C62828); }
.wz-img-del .mud-icon-root { font-size: 15px; }
.wz-img-badge {
    position: absolute; bottom: 4px; left: 4px;
    background: var(--gpm-accent); color: #fff;
    font-size: 0.6rem; padding: 2px 6px; border-radius: 10px;
    font-weight: 700; letter-spacing: .03em;
}
/* Touch-friendly reorder buttons (bottom-right of each tile) */
.wz-img-move { position: absolute; bottom: 4px; right: 4px; display: flex; gap: 3px; }
.wz-img-move-btn {
    width: 22px; height: 22px; padding: 0; border: none; border-radius: 4px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.5); color: #fff; cursor: pointer; transition: background 0.12s;
}
.wz-img-move-btn:hover:not(:disabled) { background: var(--gpm-accent); }
.wz-img-move-btn:disabled { opacity: 0.3; cursor: default; }
.wz-img-move-btn .mud-icon-root { font-size: 16px; }

/* ── Detail-page image slider / lightbox ─────────────────────────── */
.detail-gallery-badge {
    position: absolute; bottom: 12px; right: 12px;
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(0,0,0,0.55); color: #fff;
    font-size: 0.8rem; font-weight: 600; padding: 4px 10px; border-radius: 20px;
    pointer-events: none;
}
.detail-thumb-more {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.55); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem; font-weight: 700; pointer-events: none;
}
.lightbox-overlay {
    position: fixed; inset: 0; z-index: 3000;
    background: rgba(10,15,20,0.92);
    display: flex; align-items: center; justify-content: center;
    outline: none;
}
.lightbox-stage {
    max-width: 92vw; max-height: 82vh;
    display: flex; align-items: center; justify-content: center;
    touch-action: pan-y;   /* let horizontal swipes drive navigation, keep vertical scroll/zoom */
}
.lightbox-img {
    max-width: 92vw; max-height: 82vh;
    object-fit: contain; border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.lightbox-close, .lightbox-nav {
    position: absolute; border: none; cursor: pointer; color: #fff;
    background: rgba(255,255,255,0.12);
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: background 0.12s;
}
.lightbox-close { top: 16px; right: 20px; width: 44px; height: 44px; }
.lightbox-nav   { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox-prev  { left: 20px; }
.lightbox-next  { right: 20px; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,0.28); }
.lightbox-close .mud-icon-root, .lightbox-nav .mud-icon-root { font-size: 26px; }
.lightbox-counter {
    position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
    color: #fff; font-size: 0.9rem; font-weight: 600;
    background: rgba(0,0,0,0.35); padding: 4px 12px; border-radius: 20px;
}
.lightbox-strip {
    position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; max-width: 92vw; overflow-x: auto; padding: 6px;
}
.lightbox-thumb {
    width: 64px; height: 48px; object-fit: cover; border-radius: 4px;
    cursor: pointer; opacity: 0.55; border: 2px solid transparent;
    transition: opacity 0.12s, border-color 0.12s; flex: 0 0 auto;
}
.lightbox-thumb:hover { opacity: 0.85; }
.lightbox-thumb.active { opacity: 1; border-color: #fff; }

/* ── Group Chips (Filter + Search) ─────────── */
.is24-group-chip {
    padding: 7px 16px;
    border-radius: 20px;
    border: 1.5px solid var(--gpm-border);
    background: white;
    font-size: 0.82rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.14s;
    white-space: nowrap;
}
.is24-group-chip:hover {
    border-color: var(--gpm-primary);
    color: var(--gpm-primary);
    background: #F0F4FA;
}
.is24-group-chip-active {
    border-color: var(--gpm-accent);
    color: var(--gpm-accent);
    background: #FFF7ED;
    font-weight: 600;
}

/* Hover der Inseratzeilen im Dashboard — CSS statt onmouseover (CSP blockiert Inline-Handler). */
.dash-row-hover:hover { background: var(--gpm-surface-2); }

/* Zweite Chip-Reihe der Suche: Typen der gewählten Gruppe (statt Auswahlfeld „Immobilienart"). */
.search-type-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: -10px 0 20px; }
.is24-type-chip { padding: 5px 13px; font-size: 0.78rem; display: inline-flex; align-items: center; gap: 6px; }
.is24-type-chip-clear { font-size: 1rem; line-height: 1; }
/* Angebotsart: unter dem Standort, über den Gruppen-Chips, etwas kräftiger als diese */
.search-offer-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.search-offer-chip { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
/* Standort: oberste Zeile (Land · Region · PLZ); bricht auf schmalen Bildschirmen untereinander um */
.search-location-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; max-width: 760px; }
.search-location-field { flex: 1 1 200px; min-width: 0; }
.search-location-field .mud-input-control { margin: 0; }
/* Ortssuche (15.11.2026): breiter als die übrigen Felder, Vorschlag mit Region/Land und Trefferzahl */
.search-place-field { flex: 2 1 260px; }
.is24-place-search { margin: 0 0 14px; max-width: 520px; }
.search-place-item { display: flex; align-items: baseline; gap: 8px; width: 100%; }
.search-place-name { font-weight: 600; }
.search-place-meta { flex: 1; min-width: 0; font-size: .82rem; color: var(--gpm-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-place-count { font-size: .78rem; color: var(--gpm-muted); font-variant-numeric: tabular-nums; }
.search-coast-chip { flex: 0 0 auto; align-self: center; display: inline-flex; align-items: center; gap: 6px; }
/* Aufklappbare Bereiche: KI-Suche (Erstsuche) und manuelle Auswahl (13.11.2026) */
.search-section {
    border: 1px solid var(--gpm-border); border-radius: var(--gpm-radius, 12px);
    background: var(--gpm-surface, #fff); margin-bottom: 10px; overflow: hidden;
}
.search-section.is-open { box-shadow: var(--gpm-shadow); }
.search-section-head {
    width: 100%; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 12px 16px; border: 0; background: transparent; cursor: pointer;
    font: inherit; text-align: left; color: inherit;
}
.search-section-head:hover { background: rgba(15, 23, 42, 0.03); }
.search-section-title { font-weight: 700; font-size: 0.95rem; }
.search-section-sub { font-size: 0.8rem; color: var(--gpm-muted-2); flex: 1 1 160px; }
.search-section-chevron { margin-left: auto; color: var(--gpm-muted-2); }
.search-section-body { padding: 4px 16px 16px; }
.search-section-body > :last-child { margin-bottom: 0 !important; }
.search-ai-body { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.search-ai-body .mud-input-control { flex: 1 1 280px; margin: 0; }
.search-ai-submit { border-radius: 9px !important; font-weight: 600 !important; margin-top: 6px !important; }
[dir="rtl"] .search-section-head { text-align: right; }
[dir="rtl"] .search-section-chevron { margin-left: 0; margin-right: auto; }
.search-active-chip.is-manual { border-color: var(--gpm-primary); background: #F0F4FA; color: var(--gpm-primary); }
.search-active-chip.is-manual:hover { background: var(--gpm-primary); color: #fff; }

/* ── Filterleiste + Off-Canvas der Detailfilter (13.11.2026) ─────────────── */
.search-toolbar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    padding: 10px 0; margin-bottom: 14px;
    border-top: 1px solid var(--gpm-border); border-bottom: 1px solid var(--gpm-border);
}
.search-toolbar-end { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.search-filter-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 20px; cursor: pointer;
    border: 1.5px solid var(--gpm-border); background: var(--gpm-surface, #fff);
    font: inherit; font-size: 0.85rem; font-weight: 700; color: var(--gpm-primary);
}
.search-filter-btn:hover, .search-filter-btn.has-active { border-color: var(--gpm-accent); color: var(--gpm-accent-ink, var(--gpm-accent)); }
.search-filter-badge {
    min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
    background: var(--gpm-accent); color: #fff; font-size: 0.72rem; line-height: 20px; text-align: center;
}
.search-active-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 16px; cursor: pointer;
    border: 1px solid var(--gpm-accent); background: #FFF7ED; color: var(--gpm-accent-ink, var(--gpm-accent));
    font: inherit; font-size: 0.78rem; font-weight: 600;
}
.search-active-chip:hover { background: var(--gpm-accent); color: #fff; }
.search-active-chip-x { font-size: 1rem; line-height: 1; }

.search-drawer-backdrop {
    position: fixed; inset: 0; z-index: 1350; background: rgba(15, 23, 42, 0.45);
    animation: search-drawer-fade 0.2s ease-out;
}
.search-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1360;
    width: min(420px, 100vw); display: flex; flex-direction: column;
    background: var(--gpm-surface, #fff); box-shadow: -8px 0 32px rgba(15, 23, 42, 0.18);
    outline: none; animation: search-drawer-in 0.22s ease-out;
}
.search-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--gpm-border);
}
.search-drawer-head h2 { margin: 0; font-size: 1.05rem; font-weight: 700; }
.search-drawer-body { flex: 1; overflow-y: auto; padding: 18px 20px 8px; }
.search-drawer-hint { font-size: 0.82rem; color: var(--gpm-muted-2); margin: 4px 0 18px; }
.search-drawer-foot {
    display: flex; gap: 10px; align-items: center;
    padding: 12px 16px; border-top: 1px solid var(--gpm-border); background: var(--gpm-surface, #fff);
}
.search-drawer-apply { flex: 1; border-radius: 9px !important; font-weight: 600 !important; }
@keyframes search-drawer-in   { from { transform: translateX(100%); } to { transform: none; } }
@keyframes search-drawer-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .search-drawer, .search-drawer-backdrop { animation: none; } }

/* ── Sidebar (legacy, unused) ───────────────── */
.sidebar-brand { display: flex; align-items: center; gap: 12px; padding: 18px 16px 16px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.sidebar-logo-box { width: 36px; height: 36px; background: linear-gradient(135deg,var(--gpm-accent) 0%,var(--gpm-orange-light) 100%); border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-section-label { font-size: 0.65rem; font-weight: 700; color: rgba(255,255,255,0.32); text-transform: uppercase; letter-spacing: 1.2px; padding: 16px 20px 4px; }

/* ── RTL Support ────────────────────────────── */
[dir="rtl"] .is24-logo-wrap    { margin-right: 0; margin-left: 16px; }
[dir="rtl"] .is24-logo-text    { text-align: right; }

[dir="rtl"] .is24-hero-title,
[dir="rtl"] .is24-hero-sub,
[dir="rtl"] .is24-section-title,
[dir="rtl"] .is24-section-sub  { text-align: right; }

[dir="rtl"] .is24-cat-overlay  { align-items: flex-end; text-align: right; }

[dir="rtl"] .prop-price-tag    { left: auto; right: 12px; }
[dir="rtl"] .prop-status-badge { right: auto; left: 10px; }
[dir="rtl"] .prop-fav-btn      { left: auto; right: 10px; }

[dir="rtl"] .prop-location,
[dir="rtl"] .prop-spec          { flex-direction: row-reverse; }
[dir="rtl"] .prop-tags          { flex-direction: row-reverse; }

[dir="rtl"] .my-prop-actions   { border-left: none; border-right: 1px solid var(--gpm-border); }

@media (max-width: 600px) {
    [dir="rtl"] .my-prop-actions { border-right: none; border-top: 1px solid var(--gpm-border); }
}

[dir="rtl"] .sec-title,
[dir="rtl"] .sec-sub            { text-align: right; }

[dir="rtl"] .filter-section-label { text-align: right; }

[dir="rtl"] .is24-search-input  { text-align: right; direction: rtl; }
[dir="rtl"] .is24-search-input-wrap { flex-direction: row-reverse; }
[dir="rtl"] .is24-search-form   { flex-direction: row-reverse; }
[dir="rtl"] .is24-search-btn    { flex-direction: row-reverse; }

[dir="rtl"] .is24-mobile-link   { text-align: right; }
[dir="rtl"] .is24-feature-card  { direction: rtl; }
[dir="rtl"] .empty-state        { direction: rtl; }
[dir="rtl"] .hero-stats         { flex-direction: row-reverse; }

[dir="rtl"] .mud-input-root     { text-align: right; }
[dir="rtl"] .mud-list-item      { flex-direction: row-reverse; }
[dir="rtl"] .mud-nav-link       { flex-direction: row-reverse; }

/* (Quill Rich-Text-Editor entfernt 12.07.2026 — Inserats-Beschreibung nutzt jetzt MudTextField) */

/* ── Adriatica = Kante: rechtwinklige Ecken auch bei Inline-/MudBlazor-Radien ──
   (Kreise wie Avatare/Radios bleiben bewusst rund — nicht getroffen) */
:root[data-theme="adriatica"] .mud-button-root,
:root[data-theme="adriatica"] .mud-paper,
:root[data-theme="adriatica"] .mud-card,
:root[data-theme="adriatica"] .mud-alert,
:root[data-theme="adriatica"] .mud-chip,
:root[data-theme="adriatica"] .is24-search-widget,
:root[data-theme="adriatica"] .is24-search-input-wrap,
:root[data-theme="adriatica"] .is24-search-select,
:root[data-theme="adriatica"] .is24-logo-icon,
:root[data-theme="adriatica"] .is24-country-tile,
:root[data-theme="adriatica"] .is24-offer-check { border-radius: 0 !important; }

/* Adriatica: dekorative Tri-Color-Badges (Startseite „Why GlobalProperty") auf Theme-Akzent.
   Classic behält bewusst Blau/Orange/Grün — daher nur hier überschrieben. */
:root[data-theme="adriatica"] .is24-feature-icon { background: var(--gpm-accent-soft) !important; }
:root[data-theme="adriatica"] .is24-feature-icon .mud-icon-root,
:root[data-theme="adriatica"] .is24-feature-icon .material-icons { color: var(--gpm-accent) !important; }

/* Adriatica = Kante (umfassend): ALLE is24-/prop-Container rechtwinklig — auch bei
   fest kodierten Klassen-/Inline-Radien (Cards, Kacheln, Chips, Tags, Nav, Badges).
   Kreis-Avatare (.mud-avatar) sind hier bewusst NICHT getroffen und bleiben rund. */
:root[data-theme="adriatica"] [class*="is24-"],
:root[data-theme="adriatica"] [class*="prop-"],
:root[data-theme="adriatica"] .wz-amenity,
:root[data-theme="adriatica"] .mud-menu-activator > div { border-radius: 0 !important; }

/* ── Übersetzungs-Panel (Create/Edit): Auswahl + Fortschritt + Read-only-Review ─── */
.tr-panel {
    border: 1px solid var(--gpm-border, #e2e5ea);
    border-radius: 12px;
    padding: 16px;
    background: var(--gpm-surface, #fbfcfe);
}
.tr-head { display: flex; align-items: flex-start; gap: 10px; }
.tr-headicon { color: var(--gpm-secondary, #1B3464); font-size: 1.4rem; line-height: 1.2; }
.tr-title { font-weight: 700; color: var(--gpm-text, #1B3464); }
.tr-hint { font-size: 0.8rem; color: var(--gpm-muted, #6b7280); margin-top: 2px; }
.tr-subtitle { font-weight: 700; color: var(--gpm-text, #1B3464); }

.tr-selecttools { display: flex; gap: 4px; margin-top: 10px; }
.tr-langgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 2px 10px;
    margin: 4px 0 12px;
}
.tr-langitem { display: flex; align-items: center; gap: 4px; cursor: pointer; user-select: none; font-size: 0.88rem; color: var(--gpm-text, #1B3464); }
.tr-langname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-actions { display: flex; justify-content: flex-end; }

.tr-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 1px 6px;
    border-radius: 6px;
    background: var(--gpm-accent-soft, #eef2ff);
    color: var(--gpm-accent-ink, #1B3464);
    flex: 0 0 auto;
}

.tr-progresshead { display: flex; align-items: center; gap: 10px; margin: 12px 0 8px; font-weight: 600; color: var(--gpm-text, #1B3464); }
.tr-statuslist { display: flex; flex-direction: column; gap: 4px; }
.tr-statusrow { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid var(--gpm-border, #e2e5ea); border-radius: 8px; font-size: 0.85rem; }
.tr-statusrow .material-symbols-outlined { font-size: 1.15rem; }
.tr-ok { color: var(--gpm-ok, #16a34a); }
.tr-fail { color: var(--gpm-error, #dc2626); }
.tr-state { font-size: 0.75rem; color: var(--gpm-muted, #6b7280); flex: 0 0 auto; }

.tr-reviewbar { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 6px; }
.tr-review { background: transparent; }
.tr-paneltitle { display: flex; align-items: center; gap: 8px; }
.tr-field { margin: 6px 0; }
.tr-label { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--gpm-muted, #6b7280); }
.tr-val { color: var(--gpm-text, #1B3464); font-size: 0.9rem; }
.tr-pre { white-space: pre-wrap; }
.tr-paneltitle { width: 100%; }
.tr-preview {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gpm-secondary, #1B3464);
    text-decoration: none;
    padding: 2px 8px;
    border-radius: 6px;
}
.tr-preview:hover { background: var(--gpm-accent-soft, #eef2ff); text-decoration: none; }
.tr-preview .material-symbols-outlined { font-size: 1.05rem; line-height: 1; }
@media (max-width: 640px) { .tr-preview-txt { display: none; } }

/* Rechtstexte (Impressum, AGB) — schlichte Dokument-Typografie */
.legal-doc h2 { font-size: 1.05rem; font-weight: 700; color: var(--gpm-text, #1A2535); margin: 22px 0 6px; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p { font-size: 0.9rem; line-height: 1.6; color: var(--gpm-text, #1A2535); margin: 0 0 4px; }
.legal-doc a { color: var(--gpm-primary, #1B3464); }

/* ── Bauträger-Projekte (D1) ─────────────────────────────────────────────── */
.proj-metrics { display: flex; flex-wrap: wrap; gap: 28px; }
.proj-metric { display: flex; flex-direction: column; }
.proj-metric-val { font-size: 1.4rem; font-weight: 800; color: var(--gpm-ink, #1A2535); line-height: 1.1; }
.proj-metric-lbl { font-size: 0.75rem; color: var(--gpm-muted, #64748B); text-transform: uppercase; letter-spacing: 0.03em; }

.proj-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.proj-card { border: 1px solid var(--gpm-border, #E2E8F0); border-radius: 14px; padding: 16px 18px; background: var(--gpm-surface, #fff); }
.proj-card-val { display: block; font-size: 1.5rem; font-weight: 800; color: var(--gpm-ink, #1A2535); line-height: 1.15; }
.proj-card-lbl { display: block; font-size: 0.78rem; color: var(--gpm-muted, #64748B); margin-top: 2px; }

.proj-hero { display: flex; flex-wrap: wrap; }
.proj-hero-img { width: 320px; max-width: 100%; height: 220px; object-fit: cover; flex-shrink: 0; }
.proj-hero-body { flex: 1 1 300px; padding: 22px 26px; min-width: 260px; }

/* Verfügbarkeits-Badge in der öffentlichen Tabelle */
.avail-badge { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 700; }
.avail-1 { background: #ECFDF5; color: #059669; }   /* frei */
.avail-2 { background: #FFFBEB; color: #B45309; }   /* reserviert */
.avail-3 { background: #F1F5F9; color: #64748B; }   /* verkauft */

/* Verfügbarkeits-Matrix (Etagen × Positionen) */
.avail-legend { display: flex; gap: 8px; flex-wrap: wrap; }
.matrix-building { font-weight: 700; color: var(--gpm-ink, #1A2535); margin: 8px 0 6px; }
.matrix-scroll { overflow-x: auto; }
.avail-matrix { border-collapse: separate; border-spacing: 6px; }
.avail-matrix th { font-size: 0.72rem; font-weight: 600; color: var(--gpm-muted, #64748B); text-align: center; padding: 0 2px; }
.avail-matrix th.matrix-floor { text-align: right; white-space: nowrap; padding-right: 8px; }
.matrix-cell {
    display: flex; align-items: center; justify-content: center;
    min-width: 44px; height: 36px; padding: 0 8px;
    border-radius: 8px; font-size: 0.8rem; font-weight: 700;
    border: 1px solid rgba(0,0,0,0.05); text-decoration: none;
    cursor: pointer; appearance: none; width: 100%;
}
.matrix-cell:hover { filter: brightness(0.96); }
.matrix-empty { display: block; min-width: 44px; height: 36px; border-radius: 8px;
                border: 1px dashed var(--gpm-border, #E2E8F0); }

/* Video-Einbettung (YouTube/Vimeo) — responsives 16:9-iframe */
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; margin-bottom: 14px;
               border-radius: 12px; overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Benannte Merklisten (15.11.2026, ENTSCHEIDUNGEN §2.59) */
.fav-lists { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.fav-list-count { margin-left: 6px; font-size: .78em; opacity: .75; font-variant-numeric: tabular-nums; }
.fav-list-new { display: inline-flex; align-items: center; gap: 4px; border-style: dashed; }
.fav-list-edit { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; max-width: 520px; margin-bottom: 14px; }
.fav-list-edit .mud-input-control { flex: 1 1 220px; margin: 0; }
.fav-list-actions { display: flex; gap: 4px; margin-bottom: 10px; }
.fav-assign { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .85rem; color: var(--gpm-muted); }
.fav-assign-select { flex: 1; min-width: 0; margin: 0; }

/* Benachrichtigungszentrum (15.11.2026, ENTSCHEIDUNGEN §2.60) */
.notif-bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-right: 4px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.notif-bell:hover, .notif-bell:focus-visible { background: rgba(0,0,0,.06); }
.notif-badge { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gpm-accent, #F97316); color: #fff; font-size: .68rem; font-weight: 700; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.notif-popover { width: min(380px, calc(100vw - 32px)); }
.notif-panel { max-height: 70vh; overflow-y: auto; }
.notif-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-bottom: 1px solid rgba(0,0,0,.08); position: sticky; top: 0; background: inherit; }
.notif-head-title { font-weight: 700; }
.notif-markall { border: 0; background: none; color: var(--gpm-primary); font-size: .8rem; cursor: pointer; padding: 2px 4px; }
.notif-empty { padding: 18px 14px; margin: 0; color: var(--gpm-muted); font-size: .9rem; }
.notif-list { list-style: none; margin: 0; padding: 0; }
.notif-item { display: flex; gap: 10px; width: 100%; padding: 10px 14px; border: 0; border-bottom: 1px solid rgba(0,0,0,.05); background: none; text-align: left; cursor: pointer; color: inherit; }
.notif-item:hover, .notif-item:focus-visible { background: rgba(0,0,0,.04); }
.notif-item.is-unread { background: rgba(249,115,22,.07); }
.notif-item.is-unread .notif-item-title { font-weight: 700; }
.notif-item-icon { margin-top: 2px; color: var(--gpm-muted); }
.notif-item-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.notif-item-title { font-size: .9rem; }
.notif-item-body { font-size: .82rem; color: var(--gpm-muted); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.notif-item-time { font-size: .72rem; color: var(--gpm-muted-2); }

/* Ähnliche Inserate auf der Detailseite (15.11.2026, ENTSCHEIDUNGEN §2.61) */
.pd-similar { margin-top: 40px; }
.pd-similar .sec-title { margin-bottom: 14px; }

/* Liste beim Merken wählen (17.11.2026, ENTSCHEIDUNGEN §2.64) */
.fav-pick { position: absolute; top: 48px; left: 10px; z-index: 5; width: min(240px, calc(100% - 20px)); padding: 10px 12px;
            background: var(--gpm-surface, #fff); color: var(--gpm-ink, #1e293b); border-radius: 10px;
            box-shadow: 0 8px 24px rgba(15, 23, 42, .18); cursor: default; }
.fav-pick-inline { position: static; width: auto; margin-top: 8px; box-shadow: none; border: 1px solid rgba(0,0,0,.1); }
.fav-pick-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.fav-pick-title { font-size: .8rem; font-weight: 700; }
.fav-pick-close { border: 0; background: none; font-size: 1.1rem; line-height: 1; cursor: pointer; color: var(--gpm-muted); padding: 0 2px; }
.fav-pick-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fav-pick-chip { border: 1px solid rgba(0,0,0,.15); background: transparent; border-radius: 14px; padding: 3px 10px; font-size: .8rem; cursor: pointer; color: inherit; }
.fav-pick-chip:hover, .fav-pick-chip:focus-visible { border-color: var(--gpm-accent); color: var(--gpm-accent); }
.fav-pick-saved { font-size: .82rem; font-weight: 600; color: #15803d; }

/* Ortsvorschläge im KI-Suchfeld (17.11.2026, ENTSCHEIDUNGEN §2.64) */
.ai-place-wrap { position: relative; }
.search-ai-body .ai-place-wrap { flex: 1 1 280px; min-width: 0; }
.search-ai-body .ai-place-wrap .mud-input-control { margin: 0; }
.is24-ai-input-wrap { flex: 1; min-width: 0; display: flex; }
.is24-ai-input-wrap .is24-ai-input { flex: 1; }
.ai-place-list { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 20; list-style: none; margin: 0; padding: 4px;
                 background: var(--gpm-surface); border: 1px solid var(--gpm-border, rgba(0,0,0,.12)); border-radius: 8px;
                 box-shadow: 0 8px 24px rgba(15, 23, 42, .14); }
.ai-place-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 10px; border: 0; border-radius: 6px;
                 background: none; text-align: left; cursor: pointer; color: var(--gpm-text, inherit); font-size: .9rem; }
.ai-place-item:hover, .ai-place-item:focus-visible { background: rgba(0,0,0,.05); }
.ai-place-name { font-weight: 600; }
.ai-place-meta { color: var(--gpm-muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Fassungen der Rechtstexte bei Betreiber in Montenegro (18.11.2026, ENTSCHEIDUNGEN §2.65) */
.legal-versions { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; max-width: 820px; }
.legal-version { border: 1px solid var(--gpm-border, rgba(0,0,0,.15)); background: var(--gpm-surface); color: var(--gpm-text, inherit);
                 border-radius: 16px; padding: 4px 14px; font-size: .85rem; cursor: pointer; }
.legal-version.is-active { border-color: var(--gpm-primary); color: var(--gpm-primary); font-weight: 600; }
