/* ðŸ”¥ RESET */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f5f7;
}

/* ðŸ”¥ HEADER */
.main-header {
    position: absolute;
    top: 20px;
    left: 30px;
    z-index: 10;
}

.logo-global {
    width: 70px;
    cursor: pointer;
    opacity: 0.95;
}

/* ðŸ”¥ HERO */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url("/static/images/hero-bg.abeffad88af7.jpg") no-repeat center center;
    background-size: cover;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
}

.logo {
    width: 420px;
    margin-bottom: 20px;
}

/* ðŸ”¥ SEARCH */
.search-bar {
    display: flex;
    gap: 15px;
    padding: 12px;
    border-radius: 60px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    margin: 0 auto;
}

.search-bar input {
    padding: 14px 20px;
    border-radius: 30px;
    border: none;
    width: 200px;
    background: rgba(255,255,255,0.95);
}

.search-bar button {
    padding: 14px 28px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(45deg, #4e73df, #6f42c1);
    color: white;
    cursor: pointer;
}

/* ðŸ”¥ FILTER */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-bottom: 1px solid #eee;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 25px;
    background: #f1f1f1;
    text-decoration: none;
    color: #333;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(45deg, #4e73df, #6f42c1);
    color: white;
}

/* ðŸ”¥ MAP LAYOUT (FIXED) */
.map-layout {
    display: flex;
    height: calc(100vh - 120px);
}

.list-side {
    width: 50%;
    overflow-y: auto;
    padding: 20px;
}

#map {
    width: 50%;
    height: 100%;
    min-height: 500px;
}

/* ðŸ”¥ GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* ðŸ”¥ CARD */
.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: black;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* IMAGE */
.image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* CONTENT */
.content {
    padding: 15px;
}

.price {
    font-weight: bold;
    font-size: 18px;
}

/* TAG */
.tag {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(78,115,223,0.1);
    color: #4e73df;
}

/* EMPTY */
.empty-state {
    margin-top: 60px;
    text-align: center;
    color: #666;
}

/* CLUSTER */
.marker-cluster-small {
    background-color: rgba(78,115,223,0.6);
}
.marker-cluster-medium {
    background-color: rgba(78,115,223,0.7);
}
.marker-cluster-large {
    background-color: rgba(78,115,223,0.8);
}
/* HOME SEARCH */
.search-box {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 860px;
    margin: 0 auto 26px;
    padding: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    backdrop-filter: blur(14px);
}

.search-box input {
    width: 190px;
    padding: 14px 18px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.94);
    color: #172033;
    font-size: 15px;
    outline: none;
}

.search-box button {
    padding: 14px 26px;
    border: 0;
    border-radius: 999px;
    background: #172033;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

/* HOME CATEGORY BUTTONS */
.category-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin: 4px auto 0;
    max-width: 1180px;
    padding: 0 16px;
}

.category-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 132px;
    padding: 14px 28px;
    border-radius: 999px;
    background: #eeeeee;
    color: #172033;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset;
    transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.category-buttons a span {
    font-size: 20px;
    line-height: 1;
}

.category-buttons a:hover,
.category-buttons a:focus-visible {
    background: #e3e3e3;
    color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.16);
}

.properties-section {
    padding: 56px 24px;
    background: #f4f5f7;
}

.properties-section h2 {
    text-align: center;
    margin: 0 0 28px;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    max-width: 1120px;
    margin: 0 auto;
}

.property-card {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    color: #172033;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.property-card .info {
    padding: 16px;
}

@media (max-width: 720px) {
    .logo {
        width: min(320px, 82vw);
    }

    .search-box {
        border-radius: 28px;
    }

    .search-box input,
    .search-box button {
        width: 100%;
    }

    .category-buttons {
        gap: 12px;
    }

    .category-buttons a {
        min-width: 130px;
        padding: 13px 20px;
        font-size: 17px;
    }
}
/* ESTATE PAGES */
body:has(.estate-page) .main-header {
    display: none;
}

.estate-page {
    min-height: 100vh;
    background: #fff;
    color: #071527;
    font-family: "Segoe UI", Arial, sans-serif;
}

.estate-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 86px;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 max(24px, calc((100vw - 1140px) / 2));
    border-bottom: 1px solid #e7e7e7;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
}

.estate-brand-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.estate-home-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(25,155,255,0.14), rgba(37,30,145,0.10));
    text-decoration: none;
}

.estate-home-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.estate-brand {
    display: inline-flex;
    align-items: baseline;
    color: #1726a0;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.estate-brand span {
    color: #159bff;
}

.estate-brand strong {
    color: #211b86;
    font-weight: 900;
}

.estate-back {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f3f3f3;
    color: #111;
    text-decoration: none;
    font-size: 0;
}

.estate-back::first-letter {
    font-size: 26px;
}

.estate-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.estate-nav a {
    color: #111827;
    text-decoration: none;
    font-weight: 700;
}

.estate-results-hero {
    padding: 22px 24px 18px;
}

.estate-results-hero h1 {
    max-width: 1864px;
    margin: 0 auto 18px;
    font-size: 22px;
    font-weight: 500;
}

.estate-filter-form {
    max-width: 1864px;
    margin: 0 auto 16px;
    display: grid;
    grid-template-columns: 2fr 1.25fr repeat(3, 1fr) 185px;
    gap: 8px;
}

.estate-filter-form input,
.estate-filter-form select {
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    background: #fff;
    color: #172033;
    font-size: 15px;
}

.estate-filter-form button,
.estate-contact-card button {
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #159bff, #211b86);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.estate-chip-row {
    max-width: 1864px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.estate-chip {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 9px 14px;
    border: 1px solid #d6d6d6;
    border-radius: 999px;
    color: #101827;
    background: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

.estate-chip.active {
    border-color: #159bff;
    background: rgba(21,155,255,0.10);
    color: #1726a0;
}

.estate-results-layout {
    display: grid;
    grid-template-columns: minmax(620px, 60%) minmax(360px, 40%);
    height: calc(100vh - 210px);
    min-height: 650px;
    border-top: 1px solid #efefef;
}

.estate-results-list {
    overflow-y: auto;
    padding: 22px 24px 40px;
}

.estate-sort {
    margin: 0 0 28px;
    color: #4b5563;
}

.estate-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(210px, 1fr));
    gap: 34px 30px;
}

.estate-result-card {
    color: inherit;
    text-decoration: none;
}

.estate-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 0.95;
    border-radius: 14px;
    background: #e8e5df;
}

.estate-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.estate-badge,
.estate-heart {
    position: absolute;
    top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 5px 14px rgba(0,0,0,0.12);
}

.estate-badge {
    left: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.estate-heart {
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
}

.estate-card-body {
    padding-top: 12px;
}

.estate-card-body h2 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.25;
}

.estate-card-facts {
    display: flex;
    gap: 12px;
    margin-bottom: 6px;
    font-weight: 700;
}

.estate-card-body p,
.estate-card-body small {
    margin: 0;
    color: #53606f;
}

.estate-map-panel {
    position: sticky;
    top: 86px;
    height: calc(100vh - 86px);
    background: #e7e4df;
}

.estate-map-panel #map {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.estate-map-button {
    position: absolute;
    right: 38px;
    bottom: 38px;
    width: 78px;
    height: 78px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 8px rgba(255,225,0,0.35), 0 12px 28px rgba(0,0,0,0.18);
    color: #111;
    font-weight: 900;
}

.estate-expose {
    max-width: 1140px;
    margin: 24px auto 80px;
    padding: 0 24px;
}

.estate-gallery {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 4px;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
}

.estate-gallery img {
    width: 100%;
    height: 100%;
    min-height: 175px;
    object-fit: cover;
    display: block;
}

.estate-gallery-main img {
    min-height: 354px;
}

.estate-gallery-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.estate-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
    margin-top: 18px;
}

.estate-detail-main h1 {
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 22px;
}

.estate-location-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e1e1e1;
}

.estate-location-row h3 {
    margin: 0 0 12px;
    font-size: 14px;
}

.estate-location-row a,
.estate-internet-box a {
    color: #0057ff;
    text-decoration: none;
}

.estate-keyfacts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 16px 0 18px;
    border-bottom: 1px solid #e1e1e1;
}

.estate-keyfacts strong {
    display: block;
    font-size: 28px;
    line-height: 1.1;
}

.estate-keyfacts span {
    display: block;
    color: #657080;
    margin-top: 5px;
}

.estate-keyfacts .highlight strong {
    display: inline-block;
    background: #08e0bf;
    padding: 1px 5px;
}

.estate-section {
    padding: 28px 0;
    border-bottom: 1px solid #e1e1e1;
}

.estate-section h2 {
    margin: 0 0 20px;
    font-size: 26px;
}

.estate-section p {
    line-height: 1.55;
}

.estate-note {
    max-width: 720px;
    color: #667085;
    font-size: 13px;
}

.estate-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.estate-tags span {
    background: #e8e5e0;
    padding: 7px 10px;
    border-radius: 2px;
}

.estate-spec-grid,
.estate-cost-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 16px 46px;
    padding: 24px 0;
    border-bottom: 1px solid #e1e1e1;
}

.estate-spec-grid div,
.estate-cost-grid {
    font-size: 15px;
}

.estate-spec-grid span,
.estate-cost-grid span,
.estate-plus-box dt {
    color: #667085;
}

.estate-spec-grid strong,
.estate-cost-grid strong {
    font-weight: 600;
}

.estate-internet-box {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid #e1e1e1;
}

.estate-wifi {
    font-size: 52px;
    line-height: 1;
}

.estate-plus-box dl {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 14px 28px;
    max-width: 520px;
}

.estate-plus-box dd {
    margin: 0;
    filter: blur(4px);
}

.estate-plus-box button {
    width: min(300px, 100%);
    padding: 14px 18px;
    border: 0;
    border-radius: 7px;
    background: #333;
    color: #fff;
    font-weight: 800;
}

.estate-contact-card {
    position: sticky;
    top: 112px;
    padding: 26px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

.estate-contact-card button {
    width: 100%;
    min-height: 42px;
    margin: 18px 0;
}

.estate-contact-card hr {
    border: 0;
    border-top: 1px solid #d8d8d8;
    margin: 6px 0 22px;
}

@media (max-width: 1180px) {
    .estate-filter-form {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .estate-card-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 860px) {
    .estate-topbar {
        height: auto;
        min-height: 72px;
        flex-wrap: wrap;
        padding: 14px 18px;
    }

    .estate-nav {
        width: 100%;
        margin-left: 0;
        overflow-x: auto;
    }

    .estate-filter-form,
    .estate-results-layout,
    .estate-detail-layout,
    .estate-gallery,
    .estate-location-row,
    .estate-keyfacts,
    .estate-spec-grid,
    .estate-cost-grid {
        grid-template-columns: 1fr;
    }

    .estate-results-layout {
        height: auto;
    }

    .estate-map-panel {
        position: relative;
        top: auto;
        height: 360px;
    }

    .estate-card-grid {
        grid-template-columns: 1fr;
    }

    .estate-contact-card {
        position: static;
    }
}
/* YOP LOGO COLOR SYSTEM */
:root {
    --yop-blue: #159bff;
    --yop-blue-deep: #006ef5;
    --yop-indigo: #211b86;
    --yop-indigo-soft: #3128b8;
    --yop-sky: #eaf6ff;
    --yop-ink: #071527;
    --yop-muted: #5f6b7a;
    --yop-line: #dbe7f6;
    --yop-gradient: linear-gradient(135deg, var(--yop-blue), var(--yop-indigo));
    --yop-soft-gradient: linear-gradient(135deg, rgba(21,155,255,0.13), rgba(33,27,134,0.11));
}

body:has(.estate-page) {
    color: var(--yop-ink);
}

body:has(.estate-page) a {
    color: var(--yop-blue-deep);
}

.estate-page {
    color: var(--yop-ink);
}

.estate-topbar {
    border-bottom-color: var(--yop-line);
    box-shadow: 0 10px 30px rgba(21, 155, 255, 0.06);
}

.estate-home-icon {
    background: var(--yop-soft-gradient);
    box-shadow: 0 10px 24px rgba(21, 155, 255, 0.12);
}

.estate-brand {
    color: var(--yop-indigo);
}

.estate-brand span {
    color: var(--yop-blue);
}

.estate-brand strong {
    color: var(--yop-indigo);
}

.estate-nav a {
    color: var(--yop-ink);
}

.estate-nav a:hover {
    color: var(--yop-blue-deep);
}

.search-bar button,
.search-box button,
.filter-btn.active,
.filter-btn:hover,
.estate-filter-form button,
.estate-contact-card button,
.estate-plus-box button {
    background: var(--yop-gradient) !important;
    color: #fff !important;
}

.estate-filter-form input:focus,
.estate-filter-form select:focus,
.search-box input:focus,
.search-bar input:focus {
    border-color: var(--yop-blue) !important;
    box-shadow: 0 0 0 4px rgba(21, 155, 255, 0.14);
    outline: none;
}

.estate-chip.active,
.estate-chip:hover {
    border-color: var(--yop-blue);
    background: var(--yop-sky);
    color: var(--yop-indigo);
}

.estate-result-card:hover .estate-card-image,
.property-card:hover,
.card:hover {
    box-shadow: 0 18px 38px rgba(21, 155, 255, 0.18);
}

.estate-badge {
    background: var(--yop-sky);
    color: var(--yop-indigo);
}

.estate-heart {
    color: var(--yop-indigo);
}

.estate-card-facts strong,
.estate-section h2,
.estate-detail-main h1 {
    color: var(--yop-ink);
}

.estate-location-row a,
.estate-internet-box a {
    color: var(--yop-blue-deep);
}

.estate-keyfacts .highlight strong {
    background: var(--yop-gradient) !important;
    color: #fff;
    border-radius: 4px;
    padding: 3px 8px;
}

.estate-tags span {
    background: var(--yop-sky) !important;
    color: var(--yop-indigo);
    border: 1px solid rgba(21, 155, 255, 0.18);
}

.estate-wifi {
    color: var(--yop-blue-deep);
}

.estate-contact-card {
    border-color: var(--yop-line);
    box-shadow: 0 20px 44px rgba(33, 27, 134, 0.12);
}

.estate-contact-card strong,
.estate-spec-grid strong,
.estate-cost-grid strong {
    color: var(--yop-ink);
}

.estate-map-button {
    color: var(--yop-indigo);
    box-shadow: 0 0 0 8px rgba(21,155,255,0.18), 0 12px 28px rgba(33,27,134,0.22);
}

.category-buttons a:hover,
.category-buttons a:focus-visible {
    background: var(--yop-sky);
    color: var(--yop-indigo);
    box-shadow: 0 10px 22px rgba(21,155,255,0.16);
}
/* SEARCHERS PAGE */
.estate-searchers-page .estate-nav a.active {
    color: var(--yop-blue-deep);
}

.searchers-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 24px 64px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) 420px;
    gap: 44px;
    align-items: center;
}

.searchers-hero-copy {
    position: relative;
    padding: 42px;
    border-radius: 32px;
    background: radial-gradient(circle at top left, rgba(21,155,255,0.18), transparent 36%), linear-gradient(135deg, #f8fbff, #ffffff);
    box-shadow: 0 26px 70px rgba(33, 27, 134, 0.10);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--yop-blue-deep);
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 12px;
}

.searchers-hero h1 {
    margin: 0 0 18px;
    max-width: 720px;
    color: var(--yop-ink);
    font-size: clamp(38px, 5vw, 68px);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.searchers-hero p {
    max-width: 640px;
    color: var(--yop-muted);
    font-size: 18px;
    line-height: 1.55;
}

.searchers-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.primary-action,
.secondary-action,
.searchers-owner-strip a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
}

.primary-action,
.searchers-owner-strip a {
    background: var(--yop-gradient);
    color: #fff !important;
}

.secondary-action {
    border: 1px solid var(--yop-line);
    color: var(--yop-indigo) !important;
    background: #fff;
}

.searchers-search-card {
    padding: 28px;
    border: 1px solid var(--yop-line);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(21, 155, 255, 0.14);
}

.searchers-search-card h2 {
    margin: 0 0 18px;
    font-size: 26px;
}

.searchers-search-card input,
.searchers-search-card select {
    width: 100%;
    height: 48px;
    margin-bottom: 12px;
    padding: 0 14px;
    border: 1px solid var(--yop-line);
    border-radius: 12px;
    font-size: 15px;
}

.searchers-search-card input:focus,
.searchers-search-card select:focus {
    border-color: var(--yop-blue);
    box-shadow: 0 0 0 4px rgba(21,155,255,.12);
    outline: none;
}

.searchers-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.searchers-search-card button {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 14px;
    background: var(--yop-gradient);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.searchers-services,
.searchers-featured,
.searchers-owner-strip {
    max-width: 1200px;
    margin: 0 auto;
    padding: 54px 24px;
}

.section-heading {
    text-align: center;
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -0.04em;
}

.searchers-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.searchers-service-grid article,
.searchers-property-card {
    padding: 24px;
    border: 1px solid var(--yop-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(33, 27, 134, 0.07);
}

.searchers-service-grid article span {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--yop-soft-gradient);
    color: var(--yop-indigo);
    font-size: 24px;
    font-weight: 900;
}

.searchers-service-grid h3 {
    margin: 18px 0 8px;
}

.searchers-service-grid p {
    color: var(--yop-muted);
    line-height: 1.5;
}

.searchers-card-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.searchers-property-card {
    color: var(--yop-ink) !important;
    text-decoration: none;
}

.searchers-property-card .mini-image {
    overflow: hidden;
    aspect-ratio: 1.5 / 1;
    border-radius: 18px;
    margin-bottom: 16px;
    background: var(--yop-sky);
}

.searchers-property-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.searchers-property-card strong,
.searchers-property-card span,
.searchers-property-card em {
    display: block;
}

.searchers-property-card span {
    margin: 8px 0;
    color: var(--yop-muted);
}

.searchers-property-card em {
    color: var(--yop-blue-deep);
    font-style: normal;
    font-weight: 900;
}

.searchers-owner-strip {
    margin-bottom: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-radius: 32px;
    background: var(--yop-soft-gradient);
}

.searchers-owner-strip h2 {
    margin: 0 0 8px;
}

.searchers-owner-strip p:last-child {
    margin-bottom: 0;
    color: var(--yop-muted);
}

@media (max-width: 980px) {
    .searchers-hero,
    .searchers-service-grid,
    .searchers-card-row {
        grid-template-columns: 1fr;
    }

    .searchers-owner-strip {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Yop Control Room - Dark SaaS operations dashboard */
.control-room {
    --control-bg: #07111f;
    --control-panel: rgba(13, 28, 52, .82);
    --control-panel-strong: rgba(20, 43, 78, .92);
    --control-line: rgba(126, 194, 255, .22);
    --control-text: #f4f9ff;
    --control-muted: #9bb9d8;
    --control-blue: #159bff;
    --control-deep: #25299a;
    min-height: calc(100vh - 92px);
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    background:
        radial-gradient(circle at 10% 0%, rgba(21, 155, 255, .28), transparent 32%),
        radial-gradient(circle at 92% 8%, rgba(37, 41, 154, .36), transparent 36%),
        linear-gradient(135deg, #07111f 0%, #0d2440 48%, #081833 100%);
    color: var(--control-text);
}

.control-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 28px 22px;
    border-right: 1px solid var(--control-line);
    background: rgba(4, 12, 25, .74);
    backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.control-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 1000;
}

.control-brand img {
    width: 78px;
    height: auto;
}

.control-sidebar nav {
    display: grid;
    gap: 8px;
}

.control-sidebar nav a,
.control-panel-link,
.control-hero-actions a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #dff1ff;
    text-decoration: none;
    font-weight: 950;
    border: 1px solid rgba(169, 215, 255, .16);
    background: rgba(255, 255, 255, .06);
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.control-sidebar nav a {
    justify-content: flex-start;
    padding: 0 14px;
}

.control-sidebar nav a:hover,
.control-sidebar nav a.is-active,
.control-panel-link:hover,
.control-hero-actions a:hover {
    transform: translateY(-2px);
    border-color: rgba(89, 182, 255, .72);
    background: linear-gradient(135deg, rgba(21, 155, 255, .38), rgba(37, 41, 154, .52));
}

.control-sidebar-card {
    margin-top: auto;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid var(--control-line);
    background: rgba(255, 255, 255, .08);
    display: grid;
    gap: 6px;
}

.control-sidebar-card small,
.control-sidebar-card span,
.control-kicker,
.control-status-card small,
.control-area-card small,
.control-activity small,
.control-revenue-list small,
.control-kanban span {
    color: var(--control-muted);
}

.control-main {
    padding: 34px;
    display: grid;
    gap: 24px;
}

.control-hero,
.control-panel,
.control-status-card {
    border: 1px solid var(--control-line);
    background: var(--control-panel);
    box-shadow: 0 26px 80px rgba(0, 0, 0, .28);
    backdrop-filter: blur(18px);
}

.control-hero {
    min-height: 230px;
    border-radius: 34px;
    padding: 34px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    background:
        radial-gradient(circle at 82% 10%, rgba(21, 155, 255, .26), transparent 34%),
        linear-gradient(135deg, rgba(18, 46, 83, .92), rgba(10, 22, 44, .86));
}

.control-kicker {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .78rem;
    font-weight: 1000;
}

.control-hero h1,
.control-panel h2 {
    margin: 0;
}

.control-hero h1 {
    font-size: clamp(2.4rem, 6vw, 5.4rem);
    line-height: .92;
    letter-spacing: -.07em;
}

.control-hero p {
    max-width: 760px;
    color: #dceeff;
    font-size: 1.08rem;
    line-height: 1.65;
}

.control-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.control-hero-actions a {
    padding: 0 18px;
}

.control-status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 16px;
}

.control-status-card {
    min-height: 150px;
    border-radius: 28px;
    padding: 22px;
    display: grid;
    align-content: space-between;
    position: relative;
    overflow: hidden;
}

.control-status-card::after {
    content: "";
    position: absolute;
    inset: auto -26px -42px auto;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: rgba(21, 155, 255, .22);
}

.control-status-card strong {
    font-size: clamp(1.9rem, 4vw, 3.1rem);
    letter-spacing: -.05em;
}

.control-status-card.success::after { background: rgba(0, 217, 178, .22); }
.control-status-card.info::after { background: rgba(133, 197, 255, .22); }
.control-status-card.money::after { background: rgba(108, 82, 255, .30); }

.control-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 18px;
}

.control-grid:has(.control-panel:nth-child(3)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.control-panel {
    border-radius: 30px;
    padding: 24px;
}

.control-wide {
    min-width: 0;
}

.control-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.control-panel-head > span,
.control-panel-head > strong {
    color: #cfeaff;
    font-weight: 1000;
}

.control-area-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 12px;
}

.control-area-card {
    min-height: 138px;
    padding: 18px;
    border-radius: 24px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(169, 215, 255, .18);
    background: rgba(255, 255, 255, .075);
    display: grid;
    align-content: space-between;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.control-area-card:hover {
    transform: translateY(-4px);
    border-color: rgba(89, 182, 255, .78);
    background: rgba(255, 255, 255, .12);
}

.control-area-card strong {
    font-size: 2.35rem;
    letter-spacing: -.05em;
}

.control-kanban {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.control-kanban section {
    border-radius: 24px;
    padding: 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(169, 215, 255, .14);
}

.control-kanban h3 {
    margin: 0 0 12px;
}

.control-kanban article,
.control-activity div,
.control-revenue-list div {
    border-radius: 18px;
    padding: 14px;
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(169, 215, 255, .12);
}

.control-kanban article + article,
.control-activity div + div,
.control-revenue-list div + div {
    margin-top: 10px;
}

.control-kanban strong,
.control-kanban span,
.control-activity b,
.control-activity span,
.control-activity small,
.control-revenue-list span,
.control-revenue-list small,
.control-revenue-list strong {
    display: block;
}

.control-activity b {
    color: #7ec2ff;
}

.control-revenue-list strong {
    margin-top: 8px;
    color: #fff;
    font-size: 1.35rem;
}

.control-panel p {
    color: #d5e9ff;
    line-height: 1.65;
}

.control-panel-link {
    margin-top: 12px;
    padding: 0 18px;
}

.control-agents-panel {
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 0%, rgba(21, 155, 255, .18), transparent 32%),
        radial-gradient(circle at 88% 20%, rgba(96, 80, 255, .18), transparent 34%),
        var(--control-panel);
}

.control-agent-groups {
    display: grid;
    grid-template-columns: repeat(4, minmax(210px, 1fr));
    gap: 14px;
}

.control-agent-group {
    min-width: 0;
    border-radius: 28px;
    border: 1px solid rgba(169, 215, 255, .16);
    background: rgba(255, 255, 255, .055);
    padding: 14px;
    display: grid;
    gap: 12px;
}

.control-agent-group header {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 4px;
}

.control-agent-group header span {
    font-weight: 1000;
    color: #fff;
}

.control-agent-group header small {
    color: var(--control-muted);
    font-weight: 900;
}

.control-agent-group.strategy {
    background: linear-gradient(160deg, rgba(21, 155, 255, .16), rgba(255, 255, 255, .05));
}

.control-agent-group.marketing {
    background: linear-gradient(160deg, rgba(112, 86, 255, .18), rgba(255, 255, 255, .05));
}

.control-agent-group.business {
    background: linear-gradient(160deg, rgba(0, 217, 178, .14), rgba(255, 255, 255, .05));
}

.control-agent-group.operations {
    background: linear-gradient(160deg, rgba(255, 160, 67, .14), rgba(255, 255, 255, .05));
}

.control-agent-list {
    display: grid;
    gap: 10px;
}

.control-agent-card {
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(169, 215, 255, .14);
    background: rgba(3, 12, 27, .42);
}

.control-agent-card > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.control-agent-card strong {
    display: block;
    color: #fff;
    font-size: 1.02rem;
}

.control-agent-card em {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 5px 9px;
    background: rgba(21, 155, 255, .18);
    color: #bfe5ff;
    font-style: normal;
    font-size: .75rem;
    font-weight: 1000;
}

.control-agent-card p {
    margin: 12px 0;
    color: #d7ebff;
    font-size: .92rem;
}

.control-agent-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 7px;
}

.control-agent-card li {
    position: relative;
    padding-left: 18px;
    color: var(--control-muted);
    font-size: .86rem;
    line-height: 1.4;
}

.control-agent-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--control-blue), #6ee7ff);
}

.control-agent-card a {
    width: 100%;
    min-height: 44px;
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(21, 155, 255, .96), rgba(37, 41, 154, .96));
    color: #fff;
    text-decoration: none;
    font-weight: 1000;
}

.control-agent-workspace .agent-hero {
    min-height: 260px;
}

.control-agent-form {
    display: grid;
    gap: 16px;
}

.control-agent-form label {
    display: grid;
    gap: 8px;
    color: #dff1ff;
    font-weight: 1000;
}

.control-agent-form select,
.control-agent-form textarea {
    width: 100%;
    border: 1px solid rgba(169, 215, 255, .28);
    border-radius: 20px;
    background: rgba(255, 255, 255, .94);
    color: #07162d;
    padding: 14px 16px;
    font: inherit;
    font-weight: 850;
}

.control-agent-form textarea {
    min-height: 180px;
    resize: vertical;
}

.control-agent-form button {
    min-height: 56px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #159bff, #25299a);
    color: #fff;
    font: inherit;
    font-weight: 1000;
    cursor: pointer;
}

.control-agent-example {
    margin-top: 16px;
    border-radius: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(169, 215, 255, .14);
}

.control-agent-example span,
.control-agent-example strong {
    display: block;
}

.control-agent-example span {
    color: var(--control-muted);
    font-weight: 900;
    margin-bottom: 6px;
}

.control-agent-output {
    scroll-margin-top: 120px;
}

.control-output-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.control-output-grid article,
.control-next-actions {
    border-radius: 24px;
    padding: 18px;
    border: 1px solid rgba(169, 215, 255, .14);
    background: rgba(255, 255, 255, .065);
}

.control-output-grid h3,
.control-next-actions h3 {
    margin: 0 0 12px;
}

.control-output-grid ul {
    margin: 0;
    padding-left: 20px;
    color: #d8ecff;
    line-height: 1.7;
}

.control-next-actions {
    margin-top: 14px;
}

.control-next-actions span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin: 5px;
    padding: 0 13px;
    border-radius: 999px;
    background: rgba(21, 155, 255, .18);
    color: #dff1ff;
    font-weight: 900;
}

.control-run-toolbar,
.control-history-list article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-radius: 20px;
    padding: 14px;
    border: 1px solid rgba(169, 215, 255, .14);
    background: rgba(255, 255, 255, .07);
}

.control-run-toolbar {
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.control-run-toolbar span,
.control-history-list span {
    color: var(--control-muted);
    font-weight: 850;
}

.control-run-toolbar a,
.control-history-list a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 12px;
    background: rgba(21, 155, 255, .18);
    color: #e7f5ff;
    text-decoration: none;
    font-weight: 1000;
}

.control-history-list {
    display: grid;
    gap: 10px;
}

.control-history-list article > div:first-child {
    min-width: 0;
}

.control-history-list article > div:last-child {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.control-history-list strong,
.control-history-list span {
    display: block;
}

.control-framework-list,
.control-crew-grid {
    display: grid;
    gap: 10px;
    margin: 16px 0;
}

.control-framework-list div,
.control-crew-grid article {
    border-radius: 18px;
    padding: 14px;
    border: 1px solid rgba(169, 215, 255, .14);
    background: rgba(255, 255, 255, .06);
}

.control-framework-list div.is-active {
    border-color: rgba(34, 158, 247, .7);
    background: linear-gradient(135deg, rgba(34, 158, 247, .26), rgba(38, 40, 174, .22));
}

.control-framework-list strong,
.control-framework-list span,
.control-crew-grid strong,
.control-crew-grid em,
.control-crew-grid p {
    display: block;
}

.control-framework-list span,
.control-crew-grid em,
.control-crew-grid p {
    color: var(--control-muted);
    font-weight: 800;
}

.control-agent-crew {
    margin-top: 18px;
}

.control-crew-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.control-crew-grid article > span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    margin-bottom: 12px;
    color: #031b3d;
    background: linear-gradient(135deg, #9fdcff, #229ef7);
    font-weight: 1000;
}

@media (max-width: 1180px) {
    .control-room {
        grid-template-columns: 1fr;
    }

    .control-sidebar {
        position: static;
        height: auto;
    }

    .control-sidebar nav {
        grid-template-columns: repeat(4, minmax(120px, 1fr));
    }

    .control-status-grid,
    .control-area-grid,
    .control-agent-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .control-grid,
    .control-grid:has(.control-panel:nth-child(3)) {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {
    .control-crew-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .control-main,
    .control-hero {
        padding: 22px;
    }

    .control-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .control-sidebar nav,
    .control-status-grid,
    .control-area-grid,
    .control-agent-groups,
    .control-output-grid,
    .control-kanban {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .searchers-hero {
        padding-top: 36px;
    }

    .searchers-hero-copy,
    .searchers-search-card {
        padding: 22px;
        border-radius: 22px;
    }

    .searchers-form-row {
        grid-template-columns: 1fr;
    }
}
/* INSURANCE PAGE */
body:has(.insurance-page) .main-header { display: none; }
.insurance-page { --ins-blue:#159bff; --ins-deep:#211b86; --ins-ink:#071527; --ins-muted:#5f6b7a; --ins-line:#dbe7f6; --ins-sky:#eaf6ff; --ins-gradient:linear-gradient(135deg,var(--ins-blue),var(--ins-deep)); min-height:100vh; background:#fff; color:var(--ins-ink); font-family:"Segoe UI",Arial,sans-serif; }
.insurance-topbar { position:sticky; top:0; z-index:60; display:flex; align-items:center; gap:24px; min-height:92px; padding:14px max(24px,calc((100vw - 1180px)/2)); border-bottom:1px solid var(--ins-line); background:rgba(255,255,255,.96); backdrop-filter:blur(14px); }
.insurance-home { width:56px; height:56px; display:inline-flex; align-items:center; justify-content:center; border-radius:18px; background:linear-gradient(135deg,rgba(21,155,255,.14),rgba(33,27,134,.10)); }
.insurance-home img { width:44px; height:44px; object-fit:contain; }
.insurance-brand img { height:58px; width:auto; display:block; }
.insurance-topbar nav { margin-left:auto; display:flex; gap:24px; align-items:center; }
.insurance-topbar nav a { color:var(--ins-ink); text-decoration:none; font-weight:900; }
.insurance-topbar nav a:hover { color:var(--ins-blue); }
.insurance-hero { max-width:1180px; margin:0 auto; padding:76px 24px 64px; display:grid; grid-template-columns:minmax(0,1.08fr) 430px; gap:42px; align-items:center; }
.insurance-hero-copy { padding:46px; border-radius:34px; background:radial-gradient(circle at top left,rgba(21,155,255,.20),transparent 34%),linear-gradient(135deg,#f9fcff,#fff); box-shadow:0 26px 70px rgba(33,27,134,.10); }
.insurance-hero h1 { margin:0 0 18px; font-size:clamp(42px,5.4vw,76px); line-height:.94; letter-spacing:-.065em; }
.insurance-hero p { max-width:680px; color:var(--ins-muted); font-size:18px; line-height:1.55; }
.insurance-trust-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; }
.insurance-trust-row span,.insurance-product-card small { padding:8px 12px; border-radius:999px; background:var(--ins-sky); color:var(--ins-deep); font-weight:800; font-size:13px; }
.insurance-compare-card { padding:30px; border:1px solid var(--ins-line); border-radius:30px; background:#fff; box-shadow:0 24px 60px rgba(21,155,255,.15); }
.insurance-compare-card h2 { margin:0 0 22px; font-size:28px; }
.insurance-compare-card label { display:block; margin:14px 0 7px; font-weight:800; }
.insurance-compare-card input,.insurance-compare-card select { width:100%; height:50px; padding:0 14px; border:1px solid var(--ins-line); border-radius:14px; font-size:15px; }
.insurance-compare-card input:focus,.insurance-compare-card select:focus { border-color:var(--ins-blue); box-shadow:0 0 0 4px rgba(21,155,255,.13); outline:none; }
.insurance-compare-card button,.insurance-need-box a { width:100%; min-height:52px; margin-top:18px; border:0; border-radius:14px; background:var(--ins-gradient); color:#fff; font-weight:900; cursor:pointer; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; }
.insurance-compare-card small { display:block; margin-top:14px; color:var(--ins-muted); }
.insurance-need-box,.insurance-steps,.insurance-products,.insurance-life-stage,.insurance-overview,.insurance-guide { max-width:1180px; margin:0 auto; padding:56px 24px; }
.insurance-need-box { display:flex; align-items:center; justify-content:space-between; gap:24px; border-radius:34px; background:linear-gradient(135deg,rgba(21,155,255,.13),rgba(33,27,134,.10)); }
.insurance-need-box h2,.insurance-guide h2 { margin:0 0 10px; font-size:clamp(30px,4vw,48px); letter-spacing:-.04em; }
.insurance-need-box a { width:auto; min-width:240px; margin:0; padding:0 24px; }
.insurance-step-grid,.insurance-product-grid,.insurance-stage-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.insurance-product-grid { grid-template-columns:repeat(6,1fr); }
.insurance-stage-grid { grid-template-columns:repeat(3,1fr); }
.insurance-step-grid article,.insurance-product-card,.insurance-stage-grid article,.insurance-columns article { padding:24px; border:1px solid var(--ins-line); border-radius:24px; background:#fff; box-shadow:0 14px 36px rgba(33,27,134,.07); }
.insurance-step-grid span,.insurance-product-card span { display:inline-flex; width:48px; height:48px; align-items:center; justify-content:center; border-radius:16px; background:var(--ins-gradient); color:#fff; font-weight:900; font-size:22px; }
.insurance-product-card { min-height:170px; display:flex; flex-direction:column; gap:14px; color:var(--ins-ink); text-decoration:none; }
.insurance-product-card strong { font-size:17px; }
.insurance-product-card small { margin-top:auto; text-align:center; }
.insurance-stage-grid article p,.insurance-step-grid article p,.insurance-guide li { color:var(--ins-muted); line-height:1.55; }
.insurance-columns { display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.insurance-columns h3 { margin-top:0; color:var(--ins-deep); }
.insurance-columns a { display:block; padding:7px 0; color:var(--ins-muted); }
.insurance-guide { display:grid; grid-template-columns:.9fr 1.1fr; gap:40px; margin-bottom:70px; border-top:1px solid var(--ins-line); }
.insurance-guide ol { margin:0; padding-left:22px; }
.insurance-guide li + li { margin-top:16px; }
@media (max-width:1100px) { .insurance-product-grid,.insurance-columns { grid-template-columns:repeat(3,1fr); } }
@media (max-width:860px) { .insurance-topbar { flex-wrap:wrap; } .insurance-topbar nav { width:100%; margin-left:0; overflow-x:auto; } .insurance-hero,.insurance-step-grid,.insurance-product-grid,.insurance-stage-grid,.insurance-columns,.insurance-guide { grid-template-columns:1fr; } .insurance-need-box { align-items:flex-start; flex-direction:column; } }
@media (max-width:560px) { .insurance-hero { padding-top:36px; } .insurance-hero-copy,.insurance-compare-card { padding:22px; border-radius:22px; } .insurance-brand img { height:44px; } }
/* KFZ INSURANCE FORM */
body:has(.kfz-page) .main-header { display: none; }
.kfz-page { --kfz-orange:#ff5a1f; --kfz-blue:#159bff; --kfz-deep:#211b86; --kfz-ink:#4a4a4a; --kfz-line:#aaa; min-height:100vh; background:#fff; color:var(--kfz-ink); font-family:"Segoe UI",Arial,sans-serif; }
.kfz-topbar { height:78px; display:flex; align-items:center; gap:30px; padding:0 max(24px,calc((100vw - 1280px)/2)); border-bottom:1px solid #ddd; box-shadow:0 2px 8px rgba(0,0,0,.08); background:#fff; position:sticky; top:0; z-index:50; }
.kfz-menu { display:flex; flex-direction:column; align-items:center; gap:2px; color:#555; text-decoration:none; font-size:12px; }
.kfz-menu img { width:42px; height:42px; object-fit:contain; }
.kfz-brand img { height:54px; width:auto; display:block; }
.kfz-contact { margin-left:auto; display:grid; gap:2px; font-size:13px; }
.kfz-contact strong { font-size:16px; }
.kfz-login { color:#444; text-decoration:none; font-weight:800; }
.kfz-shell { max-width:1280px; margin:0 auto; padding:42px 24px 80px; position:relative; }
.kfz-note { display:inline-block; border:1px solid var(--kfz-line); padding:7px 10px; font-size:12px; margin-bottom:8px; }
.kfz-save { float:right; border:1px solid var(--kfz-line); background:#fff; padding:9px 16px; color:#555; }
.kfz-form-frame { clear:both; border:1px solid #888; min-height:760px; position:relative; }
.kfz-progress { height:5px; background:#eee; }
.kfz-progress span { display:block; width:25%; height:100%; background:linear-gradient(135deg,var(--kfz-blue),var(--kfz-deep)); }
.kfz-step-title { text-align:center; padding:18px 0 8px; font-size:16px; }
.kfz-form { width:min(760px,100%); margin:0 auto; padding:18px 0 70px; position:relative; }
.kfz-form h1 { text-align:center; font-size:28px; margin:14px 0 28px; color:#555; }
.kfz-choice-row { display:flex; justify-content:center; gap:18px; }
.kfz-choice-card { width:150px; height:150px; border:1px solid #999; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; text-align:center; color:#888; cursor:pointer; position:relative; }
.kfz-choice-card.active, .kfz-choice-card:has(input:checked) { border-color:#333; color:var(--kfz-deep); }
.kfz-choice-card input { order:3; accent-color:var(--kfz-blue); }
.kfz-icon { font-size:34px; }
.kfz-info-box { position:absolute; top:96px; left:calc(50% + 250px); width:330px; background:#e9e9e9; padding:22px; font-size:13px; line-height:1.5; }
.kfz-required-title { text-align:center; margin:28px 0 20px; font-weight:800; }
.kfz-field-row { display:grid; grid-template-columns:220px 320px 24px; align-items:center; gap:12px; margin:14px 0; }
.kfz-field-row label { text-align:right; font-size:13px; }
.kfz-field-row input { height:34px; border:1px solid #777; padding:0 8px; }
.kfz-help { width:18px; height:18px; border-radius:50%; background:#ccc; color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:12px; }
.kfz-checkbox { display:block; margin-left:232px; font-size:13px; color:#777; }
.kfz-radio-group { border:1px solid #777; display:grid; }
.kfz-radio-group label { text-align:left; padding:11px 12px; border-bottom:1px solid #ddd; }
.kfz-radio-group label:last-child { border-bottom:0; }
.kfz-radio-group input { accent-color:var(--kfz-blue); margin-right:8px; }
.kfz-vehicle-card { margin-left:232px; width:320px; padding:12px 0; }
.kfz-license-preview { background:#dfe6d1; border:1px solid #aaa; padding:8px; font-size:12px; }
.kfz-license-preview div { display:flex; align-items:center; gap:6px; margin:4px 0; }
.kfz-license-preview b { min-width:54px; height:10px; background:#777; display:inline-block; }
.kfz-license-preview em { background:#f45a22; color:#fff; padding:2px 4px; font-style:normal; font-weight:800; }
.kfz-brand-select { display:grid; grid-template-columns:220px 320px 330px; gap:12px; align-items:start; margin:18px 0; }
.kfz-brand-select label { text-align:right; font-size:13px; padding-top:10px; }
.kfz-brand-select select { height:180px; border:1px solid #777; padding:6px; }
.kfz-side-hint { background:#e9e9e9; padding:20px; font-size:13px; line-height:1.5; }
.kfz-legal { margin:34px 0 0; font-size:12px; color:#666; }
.kfz-next-row { display:flex; flex-direction:column; align-items:flex-end; gap:8px; margin-top:18px; }
.kfz-next-row button { border:0; background:#e5e5e5; padding:13px 24px; font-weight:800; color:#444; }
.kfz-next-row span { font-size:12px; color:#888; }
.kfz-resume { border-top:1px solid #888; padding:18px 22px; color:#999; font-size:18px; display:flex; justify-content:space-between; }
.kfz-trust-strip { margin-top:44px; border:1px solid #bbb; display:grid; grid-template-columns:repeat(3,1fr); gap:20px; padding:22px; color:#555; }
.kfz-trust-strip strong { color:var(--kfz-blue); }
@media (max-width:1180px) { .kfz-info-box,.kfz-side-hint { position:static; width:auto; } .kfz-form { padding:18px 24px 70px; } .kfz-field-row,.kfz-brand-select { grid-template-columns:1fr; } .kfz-field-row label,.kfz-brand-select label { text-align:left; } .kfz-checkbox,.kfz-vehicle-card { margin-left:0; width:100%; } .kfz-brand-select select { width:100%; } }
@media (max-width:720px) { .kfz-topbar { height:auto; flex-wrap:wrap; padding:12px 18px; } .kfz-contact { margin-left:0; } .kfz-choice-row,.kfz-trust-strip { grid-template-columns:1fr; display:grid; } .kfz-choice-card { width:100%; } }
/* KFZ MODEL DATABASE */
.kfz-model-db {
    width: min(720px, 100%);
    margin: 26px auto 10px;
    padding: 18px;
    border: 1px solid #dbe7f6;
    border-radius: 16px;
    background: #f8fbff;
}

.kfz-model-db h2 {
    margin: 0 0 14px;
    font-size: 20px;
    color: #211b86;
}

.kfz-model-db details {
    margin: 10px 0;
    border: 1px solid #dbe7f6;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.kfz-model-db summary {
    cursor: pointer;
    padding: 12px 14px;
    font-weight: 900;
    color: #071527;
}

.kfz-model-db summary span {
    margin-left: 8px;
    color: #159bff;
    font-size: 12px;
}

.kfz-model-row {
    padding: 12px 16px;
    border-top: 1px solid #eef4fb;
}

.kfz-model-row strong {
    color: #211b86;
}

.kfz-model-row ul {
    margin: 8px 0 0;
    padding-left: 20px;
    color: #5f6b7a;
}

/* KFZ BRAND DROPDOWN */
.kfz-brand-select .kfz-select {
    width: 320px;
    height: 38px;
    border: 1px solid #777;
    border-radius: 0;
    padding: 0 10px;
    background: #fff;
    color: #4a4a4a;
    font-size: 14px;
}

.kfz-brand-select .kfz-select:focus {
    border-color: var(--kfz-blue);
    box-shadow: 0 0 0 3px rgba(21,155,255,.14);
    outline: none;
}

@media (max-width:1180px) {
    .kfz-brand-select .kfz-select {
        width: 100%;
    }
}

/* INSURANCE FUNCTIONAL STATES */
.insurance-error,
.kfz-errors {
    border: 1px solid #e94b4b;
    border-radius: 14px;
    background: #fff4f4;
    color: #b00020;
    font-weight: 800;
}

.insurance-error {
    margin: 10px 0 0;
    padding: 10px 12px;
}

.kfz-errors {
    margin: 0 auto 22px;
    padding: 12px 16px;
    max-width: 520px;
}

.kfz-errors p {
    margin: 4px 0;
}

.insurance-result-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 54px 24px 90px;
}

.insurance-result-hero,
.insurance-summary-card,
.insurance-result-form,
.insurance-result-benefits,
.insurance-offers {
    border: 1px solid var(--ins-line);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(33,27,134,.08);
}

.insurance-result-hero {
    padding: 42px;
    background: radial-gradient(circle at top right, rgba(21,155,255,.18), transparent 36%), linear-gradient(135deg, #ffffff, #f7fbff);
}

.insurance-result-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1;
    letter-spacing: -.05em;
}

.insurance-result-hero p {
    max-width: 760px;
    color: var(--ins-muted);
    font-size: 18px;
    line-height: 1.55;
}

.insurance-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin: 24px 0;
}

.insurance-result-form,
.insurance-result-benefits,
.insurance-summary-card,
.insurance-offers {
    padding: 28px;
}

.insurance-result-form form {
    display: grid;
    gap: 12px;
}

.insurance-result-form input,
.insurance-result-form select {
    height: 48px;
    border: 1px solid var(--ins-line);
    border-radius: 14px;
    padding: 0 14px;
}

.insurance-result-form button,
.insurance-offer-grid a {
    min-height: 48px;
    border: 0;
    border-radius: 14px;
    background: var(--ins-gradient);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    text-decoration: none;
    font-weight: 900;
}

.insurance-offers {
    margin-top: 24px;
}

.insurance-offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.insurance-offer-grid article {
    border: 1px solid var(--ins-line);
    border-radius: 22px;
    padding: 24px;
    background: linear-gradient(180deg, #fff, #f8fbff);
}

.insurance-offer-grid span {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--ins-sky);
    color: var(--ins-deep);
    font-weight: 900;
    font-size: 12px;
}

.insurance-offer-grid strong {
    display: block;
    margin: 16px 0;
    font-size: 26px;
    color: var(--ins-deep);
}

.insurance-summary-card {
    margin-top: 24px;
}

@media (max-width: 860px) {
    .insurance-result-grid,
    .insurance-offer-grid {
        grid-template-columns: 1fr;
    }
}

/* YOP AGRI */
body:has(.agri-page) .main-header {
    display: none;
}

.agri-page {
    --agri-green: #159bff;
    --agri-leaf: #211b86;
    --agri-blue: #159bff;
    --agri-deep: #10285f;
    --agri-ink: #071527;
    --agri-muted: #5d6c7b;
    --agri-line: #d8eadf;
    --agri-soft: #f2fbf6;
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 8%, rgba(33,27,134,.18), transparent 28%),
        radial-gradient(circle at 90% 5%, rgba(21,155,255,.16), transparent 30%),
        linear-gradient(180deg, #ffffff, #f7fcf9 58%, #ffffff);
    color: var(--agri-ink);
    font-family: "Segoe UI", Arial, sans-serif;
}

.agri-header {
    position: sticky;
    top: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 88px;
    padding: 12px max(24px, calc((100vw - 1180px) / 2));
    border-bottom: 1px solid var(--agri-line);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
}

.agri-home-link {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(33,27,134,.16), rgba(21,155,255,.12));
}

.agri-home-link img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.agri-brand {
    font-size: 30px;
    font-weight: 950;
    letter-spacing: -.05em;
    color: var(--agri-deep);
    text-decoration: none;
}

.agri-brand::first-letter {
    color: var(--agri-green);
}

.agri-header nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.agri-header nav a {
    color: var(--agri-ink);
    text-decoration: none;
    font-weight: 900;
}

.agri-header nav a:hover {
    color: var(--agri-leaf);
}

.agri-hero,
.agri-categories,
.agri-examples {
    max-width: 1180px;
    margin: 0 auto;
    padding: 58px 24px;
}

.agri-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) 420px;
    gap: 34px;
    align-items: stretch;
}

.agri-hero-copy,
.agri-search-card,
.agri-category-card,
.agri-example-card {
    border: 1px solid var(--agri-line);
    background: rgba(255,255,255,.9);
    box-shadow: 0 24px 70px rgba(16,40,95,.08);
}

.agri-hero-copy {
    min-height: 430px;
    padding: 52px;
    border-radius: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(33,27,134,.20), rgba(21,155,255,.12)),
        linear-gradient(135deg, #ffffff, #f6fff9);
}

.agri-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(54px, 8vw, 110px);
    line-height: .86;
    letter-spacing: -.08em;
    color: var(--agri-deep);
}

.agri-hero-copy p:not(.eyebrow) {
    max-width: 680px;
    color: var(--agri-muted);
    font-size: 19px;
    line-height: 1.6;
}

.agri-search-card {
    padding: 32px;
    border-radius: 32px;
}

.agri-search-card h2 {
    margin: 0 0 22px;
    font-size: 30px;
    letter-spacing: -.04em;
}

.agri-search-card label {
    display: block;
    margin: 14px 0 7px;
    font-weight: 900;
}

.agri-search-card input,
.agri-search-card select {
    width: 100%;
    height: 50px;
    border: 1px solid var(--agri-line);
    border-radius: 16px;
    padding: 0 14px;
    background: #fff;
    font-size: 15px;
}

.agri-search-card input:focus,
.agri-search-card select:focus {
    border-color: var(--agri-green);
    box-shadow: 0 0 0 4px rgba(33,27,134,.14);
    outline: none;
}

.agri-search-card button {
    width: 100%;
    min-height: 54px;
    margin-top: 20px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--agri-green), var(--agri-blue));
    color: #fff;
    font-weight: 950;
    cursor: pointer;
}

.agri-category-grid,
.agri-example-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.agri-example-grid {
    grid-template-columns: repeat(2, 1fr);
}

.agri-category-card,
.agri-example-card {
    border-radius: 28px;
    padding: 26px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.agri-category-card:hover,
.agri-example-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(16,40,95,.13);
}

.agri-category-card span {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: var(--agri-soft);
    font-size: 30px;
}

.agri-category-card h3,
.agri-example-card h3 {
    margin: 18px 0 10px;
    font-size: 24px;
    letter-spacing: -.035em;
}

.agri-category-card p,
.agri-example-card p {
    color: var(--agri-muted);
    line-height: 1.55;
}

.agri-category-card strong,
.agri-example-card strong {
    color: var(--agri-leaf);
}

.agri-example-card small {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(21,155,255,.11);
    color: var(--agri-deep);
    font-weight: 900;
}

.agri-example-card div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--agri-line);
}

.agri-example-card div span {
    color: var(--agri-muted);
}

@media (max-width: 980px) {
    .agri-hero,
    .agri-category-grid,
    .agri-example-grid {
        grid-template-columns: 1fr 1fr;
    }

    .agri-hero-copy,
    .agri-search-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .agri-header {
        flex-wrap: wrap;
    }

    .agri-header nav {
        width: 100%;
        margin-left: 0;
        overflow-x: auto;
    }

    .agri-hero,
    .agri-category-grid,
    .agri-example-grid {
        grid-template-columns: 1fr;
    }

    .agri-hero-copy,
    .agri-search-card,
    .agri-category-card,
    .agri-example-card {
        border-radius: 24px;
        padding: 24px;
    }
}

/* YOP ANZEIGE */
.ads-page {
    --ads-blue: #159bff;
    --ads-deep: #211b86;
    --ads-ink: #071527;
    --ads-muted: #5d6c7b;
    --ads-line: rgba(21,155,255,.22);
    --ads-soft: rgba(21,155,255,.10);
    min-height: 100vh;
    color: var(--ads-ink);
    background:
        radial-gradient(circle at 12% 6%, rgba(21,155,255,.18), transparent 28%),
        radial-gradient(circle at 90% 12%, rgba(33,27,134,.16), transparent 30%),
        linear-gradient(180deg, #eef7ff, #ffffff 42%, #f7fbff);
}

.ads-hero,
.ads-category-section,
.ads-results-section,
.ads-quick-actions {
    max-width: 1180px;
    margin: 0 auto;
    padding-inline: 24px;
}

.ads-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) 410px;
    gap: 26px;
    padding-top: 64px;
    padding-bottom: 26px;
    align-items: stretch;
}

.ads-hero-copy,
.ads-search-card,
.ads-category-card,
.ads-filter-card,
.ads-listing-card,
.ads-empty {
    border: 1px solid var(--ads-line);
    background: rgba(255,255,255,.86);
    box-shadow: 0 26px 70px rgba(16,40,95,.10);
    backdrop-filter: blur(16px);
}

.ads-hero-copy {
    min-height: 420px;
    padding: 48px;
    border-radius: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.ads-hero-copy::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -70px;
    bottom: -90px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(21,155,255,.22), rgba(33,27,134,.18));
}

.ads-hero-copy img {
    width: min(250px, 70%);
    max-height: 90px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.ads-hero-copy h1 {
    max-width: 760px;
    margin: 0 0 18px;
    font-size: clamp(44px, 6vw, 82px);
    line-height: .92;
    letter-spacing: -.07em;
    color: var(--ads-ink);
    position: relative;
    z-index: 1;
}

.ads-hero-copy p:not(.eyebrow) {
    max-width: 720px;
    color: var(--ads-muted);
    font-size: 18px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.ads-trust-row,
.ads-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ads-trust-row span,
.ads-quick-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--ads-soft);
    color: var(--ads-deep);
    font-weight: 900;
    text-decoration: none;
}

.ads-search-card {
    padding: 30px;
    border-radius: 32px;
}

.ads-search-card h2 {
    margin: 0 0 20px;
    font-size: 30px;
    letter-spacing: -.04em;
}

.ads-search-card label {
    display: block;
    margin: 14px 0 8px;
    font-weight: 900;
}

.ads-search-card input,
.ads-search-card select {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border: 1px solid var(--ads-line);
    border-radius: 16px;
    background: #fff;
    color: var(--ads-ink);
    font-size: 15px;
}

.ads-search-card input:focus,
.ads-search-card select:focus {
    outline: none;
    border-color: var(--ads-blue);
    box-shadow: 0 0 0 4px rgba(21,155,255,.16);
}

.ads-search-card button,
.ads-listing-card a {
    width: 100%;
    min-height: 54px;
    margin-top: 20px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--ads-blue), var(--ads-deep));
    color: #fff;
    font-weight: 950;
    cursor: pointer;
    text-decoration: none;
}

.ads-search-card button {
    display: block;
}

.ads-search-card small {
    display: block;
    margin-top: 12px;
    color: var(--ads-muted);
    line-height: 1.4;
}

.ads-quick-actions {
    padding-top: 18px;
    padding-bottom: 38px;
}

.ads-category-section {
    padding-top: 20px;
    padding-bottom: 56px;
}

.ads-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ads-category-card {
    display: block;
    min-height: 230px;
    padding: 26px;
    border-radius: 28px;
    color: var(--ads-ink);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ads-category-card:hover,
.ads-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(16,40,95,.15);
}

.ads-category-card span,
.ads-listing-thumb {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(21,155,255,.17), rgba(33,27,134,.12));
    color: var(--ads-deep);
    font-size: 30px;
    font-weight: 950;
}

.ads-category-card h3 {
    margin: 18px 0 10px;
    font-size: 24px;
    letter-spacing: -.035em;
}

.ads-category-card p,
.ads-listing-body p,
.ads-empty p {
    color: var(--ads-muted);
    line-height: 1.55;
}

.ads-category-card strong {
    color: var(--ads-deep);
}

.ads-results-section {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 22px;
    padding-bottom: 80px;
}

.ads-filter-card {
    align-self: start;
    position: sticky;
    top: 120px;
    padding: 24px;
    border-radius: 26px;
}

.ads-filter-card h2 {
    margin: 0 0 16px;
}

.ads-filter-card label {
    display: flex;
    gap: 10px;
    margin: 13px 0;
    color: var(--ads-muted);
    font-weight: 800;
}

.ads-results-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-bottom: 16px;
}

.ads-results-head h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -.05em;
}

.ads-results-head span {
    color: var(--ads-muted);
    font-weight: 800;
}

.ads-listing-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 140px 150px;
    gap: 18px;
    align-items: center;
    margin-bottom: 14px;
    padding: 18px;
    border-radius: 24px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ads-listing-body small {
    color: var(--ads-deep);
    font-weight: 900;
}

.ads-listing-body h3 {
    margin: 6px 0;
    font-size: 21px;
}

.ads-listing-card > strong {
    font-size: 22px;
    color: var(--ads-ink);
}

.ads-listing-card a {
    display: inline-flex;
    width: auto;
    min-height: 46px;
    margin: 0;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
}

.ads-empty {
    padding: 28px;
    border-radius: 24px;
}

.ads-empty h3 {
    margin: 0 0 8px;
}

@media (max-width: 980px) {
    .ads-hero,
    .ads-results-section {
        grid-template-columns: 1fr;
    }

    .ads-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ads-filter-card {
        position: static;
    }
}

@media (max-width: 680px) {
    .ads-hero {
        padding-top: 34px;
    }

    .ads-hero-copy,
    .ads-search-card,
    .ads-category-card {
        border-radius: 24px;
        padding: 24px;
    }

    .ads-category-grid,
    .ads-listing-card {
        grid-template-columns: 1fr;
    }
}

/* YOP AGRI SEARCH */
.agri-form-note {
    margin: -8px 0 16px;
    color: var(--agri-muted);
    font-size: 14px;
    line-height: 1.45;
}

.agri-errors,
.agri-empty-state {
    border: 1px solid rgba(176,0,32,.25);
    border-radius: 18px;
    background: #fff6f6;
    color: #9f1239;
}

.agri-errors {
    padding: 12px 14px;
    margin-bottom: 16px;
    font-weight: 800;
}

.agri-errors p {
    margin: 4px 0;
}

.agri-results {
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 24px 58px;
}

.agri-results .section-heading p {
    color: var(--agri-muted);
}

.agri-empty-state {
    padding: 26px;
    background: linear-gradient(135deg, #fff6f6, #ffffff);
}

.agri-empty-state h3 {
    margin: 0 0 8px;
}

.agri-empty-state p {
    margin: 0;
    color: var(--agri-muted);
}

.agri-search-card input:invalid,
.agri-search-card select:invalid {
    border-color: rgba(176,0,32,.35);
}

.agri-search-card input:focus:invalid,
.agri-search-card select:focus:invalid {
    box-shadow: 0 0 0 4px rgba(176,0,32,.10);
}

/* YOP AGRI DETAIL SEARCH */
.agri-filter-page {
    background: #f1f3f4;
}

.agri-filter-topbar {
    height: 44px;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0 max(18px, calc((100vw - 980px) / 2));
    background: #2f2f2f;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 80;
}

.agri-mini-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
}

.agri-mini-logo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.agri-mini-logo strong {
    color: #159bff;
}

.agri-filter-topbar nav {
    margin-left: auto;
    display: flex;
    gap: 18px;
}

.agri-filter-topbar nav a {
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    font-weight: 800;
}

.agri-filter-shell {
    max-width: 980px;
    margin: 0 auto;
    padding: 18px 18px 70px;
}

.agri-filter-panel {
    background: #fff;
    border: 1px solid #d4d7dc;
    box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.agri-filter-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    border-bottom: 1px solid #d4d7dc;
}

.agri-filter-title-row h1 {
    margin: 4px 0 0;
    font-size: 22px;
}

.agri-back-link,
.agri-save-search {
    color: #0b65d8;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
}

.agri-detail-form fieldset {
    margin: 0;
    padding: 16px 18px 18px;
    border: 0;
    border-bottom: 1px solid #d4d7dc;
}

.agri-detail-form legend {
    width: 100%;
    padding-bottom: 10px;
    color: #252a31;
    font-size: 14px;
    font-weight: 950;
}

.agri-form-grid {
    display: grid;
    gap: 12px;
}

.agri-form-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.agri-form-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.agri-form-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.agri-detail-form label {
    display: grid;
    gap: 5px;
    color: #3f4852;
    font-size: 12px;
    font-weight: 800;
}

.agri-detail-form input,
.agri-detail-form select {
    height: 34px;
    border: 1px solid #aeb5bf;
    border-radius: 2px;
    background: #fff;
    padding: 0 8px;
    color: #111827;
    font-size: 13px;
}

.agri-detail-form input:focus,
.agri-detail-form select:focus {
    border-color: #0b65d8;
    outline: 2px solid rgba(11,101,216,.12);
}

.agri-check-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px 18px;
}

.agri-check-grid label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
}

.agri-check-grid input {
    width: 14px;
    height: 14px;
    accent-color: #159bff;
}

.agri-search-submit {
    display: block;
    min-width: 260px;
    min-height: 42px;
    margin: 34px auto 24px;
    border: 0;
    border-radius: 4px;
    background: #0b65d8;
    color: #fff;
    font-weight: 950;
    cursor: pointer;
}

.agri-filter-results {
    padding: 34px 0 0;
}

.agri-result-list {
    display: grid;
    gap: 12px;
}

.agri-result-row {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) 160px;
    gap: 16px;
    align-items: center;
    border: 1px solid #d4d7dc;
    background: #fff;
    padding: 14px;
}

.agri-result-thumb {
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: linear-gradient(135deg, #159bff, #211b86);
    color: #fff;
    font-size: 30px;
    font-weight: 950;
}

.agri-result-row small {
    color: #607080;
    font-weight: 800;
}

.agri-result-row h3 {
    margin: 5px 0;
    font-size: 18px;
}

.agri-result-row p {
    margin: 0;
    color: #5d6c7b;
}

.agri-result-row strong {
    justify-self: end;
    color: #0b8f4d;
    font-size: 18px;
}

@media (max-width: 780px) {
    .agri-form-grid.two,
    .agri-form-grid.three,
    .agri-form-grid.four,
    .agri-check-grid,
    .agri-result-row {
        grid-template-columns: 1fr;
    }

    .agri-filter-title-row,
    .agri-filter-topbar {
        align-items: flex-start;
        flex-direction: column;
        height: auto;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .agri-filter-topbar nav {
        margin-left: 0;
    }

    .agri-result-row strong {
        justify-self: start;
    }
}

/* YOP AGRI IMMO-LIKE DESIGN */
.agri-estate-style {
    --agri-green: #159bff;
    --agri-blue: #159bff;
    --agri-deep: #211b86;
    --agri-ink: #071527;
    --agri-muted: #607080;
    --agri-line: #dbe7f6;
    background: #fff;
    color: var(--agri-ink);
}

.agri-estate-style .agri-estate-topbar {
    position: sticky;
    top: 0;
    z-index: 80;
    min-height: 108px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px max(24px, calc((100vw - 1424px) / 2));
    border-bottom: 1px solid var(--agri-line);
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);
}

.agri-brand-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.agri-home-icon {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(21,155,255,.14), rgba(33,27,134,.14));
    text-decoration: none;
}

.agri-home-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.agri-estate-brand {
    color: var(--agri-ink);
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -.055em;
    text-decoration: none;
}

.agri-estate-brand span {
    color: var(--agri-blue);
}

.agri-estate-brand strong {
    color: var(--agri-deep);
}

.agri-estate-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.agri-estate-nav a {
    color: var(--agri-ink);
    text-decoration: none;
    font-weight: 900;
    font-size: 18px;
}

.agri-estate-nav a:hover {
    color: var(--agri-green);
}

.agri-estate-hero {
    max-width: 1424px;
    margin: 0 auto;
    padding: 58px 24px 34px;
}

.agri-hero-panel {
    min-height: 270px;
    border-radius: 32px;
    padding: 42px;
    background:
        linear-gradient(90deg, rgba(7,21,39,.72), rgba(7,21,39,.25)),
        radial-gradient(circle at 18% 20%, rgba(33,27,134,.45), transparent 28%),
        linear-gradient(135deg, #0d2f24, #17436c 54%, #f7fbff);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.agri-hero-panel .eyebrow {
    color: #b8ffe0;
}

.agri-hero-panel h1 {
    max-width: 860px;
    margin: 0 0 14px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: .96;
    letter-spacing: -.07em;
}

.agri-hero-panel p:not(.eyebrow) {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.55;
}

.agri-estate-filter-form {
    margin: -44px auto 0;
    width: min(1120px, calc(100% - 48px));
    display: grid;
    grid-template-columns: 1.4fr 1fr .8fr .8fr 180px;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--agri-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(33,27,134,.14);
    position: relative;
    z-index: 2;
}

.agri-estate-filter-form .estate-like-error {
    grid-column: 1 / -1;
    margin: 0;
}

.agri-estate-filter-form input,
.agri-estate-filter-form select {
    width: 100%;
    height: 52px;
    border: 1px solid var(--agri-line);
    border-radius: 14px;
    padding: 0 14px;
    background: #fff;
    color: var(--agri-ink);
    font-size: 15px;
}

.agri-estate-filter-form input:focus,
.agri-estate-filter-form select:focus {
    border-color: var(--agri-blue);
    box-shadow: 0 0 0 4px rgba(21,155,255,.12);
    outline: none;
}

.agri-estate-filter-form button {
    height: 52px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--agri-blue), var(--agri-deep));
    color: #fff;
    font-weight: 950;
    cursor: pointer;
}

.agri-chip-row {
    width: min(1120px, calc(100% - 48px));
    margin: 18px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.agri-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--agri-line);
    border-radius: 999px;
    background: #fff;
    color: var(--agri-ink);
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
}

.agri-chip.active,
.agri-chip:hover {
    border-color: var(--agri-blue);
    color: var(--agri-blue);
    background: rgba(21,155,255,.08);
}

.agri-estate-layout {
    max-width: 1424px;
    margin: 0 auto;
    padding: 34px 24px 70px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 28px;
}

.agri-results-list h2 {
    margin: 0 0 6px;
    font-size: 30px;
    letter-spacing: -.04em;
}

.agri-sort,
.agri-result-meta {
    color: var(--agri-muted);
}

.agri-estate-card-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.agri-estate-card {
    overflow: hidden;
    border: 1px solid var(--agri-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(33,27,134,.07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.agri-estate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(21,155,255,.16);
}

.agri-card-image {
    position: relative;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 24% 20%, rgba(33,27,134,.45), transparent 26%),
        linear-gradient(135deg, #122d24, #175985);
    color: #fff;
}

.agri-card-image span {
    font-size: 74px;
    font-weight: 950;
    opacity: .9;
}

.agri-card-image em {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #fff;
    color: var(--agri-ink);
    font-style: normal;
    font-weight: 900;
    font-size: 12px;
}

.agri-card-body {
    padding: 20px;
}

.agri-card-body small {
    color: var(--agri-blue);
    font-weight: 900;
}

.agri-card-body h3 {
    margin: 8px 0 12px;
    color: var(--agri-ink);
    font-size: 19px;
    line-height: 1.25;
}

.agri-card-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.agri-card-facts strong {
    color: var(--agri-ink);
    font-size: 18px;
}

.agri-card-facts span,
.agri-card-body p,
.agri-address {
    color: var(--agri-muted);
}

.agri-card-body p {
    margin: 0 0 12px;
    line-height: 1.45;
}

.agri-map-panel {
    position: sticky;
    top: 132px;
    height: calc(100vh - 150px);
    min-height: 420px;
    border-radius: 24px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agri-map-card {
    width: min(280px, 80%);
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    text-align: center;
    box-shadow: 0 22px 60px rgba(33,27,134,.13);
}

.agri-map-card span {
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--agri-green), var(--agri-blue));
    color: #fff;
    font-size: 26px;
}

.agri-start-box {
    padding: 38px;
    border: 1px solid var(--agri-line);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(21,155,255,.08), rgba(33,27,134,.08));
}

.agri-start-box h2 {
    margin: 0 0 8px;
    font-size: 32px;
    letter-spacing: -.04em;
}

.agri-category-section {
    max-width: 1424px;
    margin: 0 auto;
    padding: 20px 24px 80px;
}

.estate-like-categories .agri-category-card {
    border-color: var(--agri-line);
    box-shadow: 0 14px 34px rgba(33,27,134,.07);
}

@media (max-width: 1180px) {
    .agri-estate-filter-form,
    .agri-estate-layout,
    .agri-estate-card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .agri-estate-filter-form button,
    .agri-map-panel {
        grid-column: 1 / -1;
    }

    .agri-map-panel {
        position: static;
        height: auto;
        min-height: 260px;
    }
}

@media (max-width: 720px) {
    .agri-estate-style .agri-estate-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .agri-estate-nav {
        width: 100%;
        overflow-x: auto;
    }

    .agri-estate-filter-form,
    .agri-estate-layout,
    .agri-estate-card-grid {
        grid-template-columns: 1fr;
    }

    .agri-estate-filter-form {
        width: calc(100% - 24px);
        margin-top: -24px;
    }

    .agri-hero-panel {
        padding: 28px;
        border-radius: 24px;
    }
}

/* YOP AGRI PRICE COMPARISON */
.agri-compare-layout {
    max-width: 1424px;
    margin: 0 auto;
    padding: 34px 24px 70px;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.agri-top-products {
    border-radius: 16px;
    background: #dcebf8;
    padding: 16px;
}

.agri-top-products h2 {
    margin: 0;
    color: #073f70;
    font-size: 24px;
}

.agri-top-products > p {
    margin: 2px 0 12px;
    color: #073f70;
    font-weight: 800;
}

.agri-top-products article {
    display: grid;
    grid-template-columns: 26px 54px 1fr;
    gap: 10px;
    align-items: center;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #c8d7e4;
    border-radius: 10px;
    background: #fff;
}

.agri-top-products article > strong {
    color: #071527;
    text-align: center;
}

.agri-top-thumb {
    width: 54px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #159bff, #211b86);
    color: #fff;
    font-weight: 950;
    font-size: 22px;
}

.agri-top-products span,
.agri-top-products b {
    display: block;
}

.agri-top-products span {
    color: #071527;
    font-size: 14px;
    line-height: 1.2;
}

.agri-top-products b {
    margin-top: 3px;
    color: #071527;
    font-size: 14px;
}

.agri-price-compare {
    min-width: 0;
}

.agri-offer-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.agri-offer-tabs button {
    min-width: 150px;
    min-height: 58px;
    border: 1px solid #b7c2cf;
    border-radius: 6px;
    background: #fff;
    color: #071527;
    text-align: left;
    padding: 8px 12px;
    cursor: pointer;
}

.agri-offer-tabs button.active {
    border-color: #0b65d8;
    box-shadow: inset 4px 0 0 #0b65d8;
}

.agri-compare-header {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto auto auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid #cbd3dc;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    background: #f1f1f1;
}

.agri-compare-header h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -.04em;
}

.agri-compare-header label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-weight: 700;
}

.agri-compare-header input {
    width: 28px;
    height: 28px;
}

.agri-compare-header div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.agri-compare-header button {
    height: 40px;
    border: 1px solid #9aa5b1;
    background: #fff;
    border-radius: 4px;
    padding: 0 14px;
    font-weight: 800;
}

.agri-compare-table {
    border: 1px solid #cbd3dc;
    border-top: 0;
    background: #fff;
}

.agri-compare-table-head,
.agri-compare-row {
    display: grid;
    grid-template-columns: 1.2fr .85fr .8fr .9fr .9fr 150px;
    gap: 18px;
    align-items: center;
}

.agri-compare-table-head {
    padding: 12px 16px;
    border-top: 1px solid #d7dde4;
    border-bottom: 1px solid #d7dde4;
    color: #6b7280;
    font-size: 14px;
}

.agri-compare-row {
    padding: 24px 16px;
    border-bottom: 1px solid #d7dde4;
}

.agri-compare-row:last-child {
    border-bottom: 0;
}

.agri-offer-name a {
    color: #071527;
    font-weight: 950;
    text-decoration: underline;
    line-height: 1.3;
}

.agri-offer-name small,
.agri-delivery small,
.agri-shop-rating small,
.agri-offer-price span {
    display: block;
    margin-top: 6px;
    color: #5d6c7b;
}

.agri-offer-price strong {
    display: block;
    color: #071527;
    font-size: 30px;
    letter-spacing: -.04em;
}

.agri-offer-price em {
    display: inline-flex;
    margin-top: 8px;
    padding: 7px 9px;
    border: 1px solid #ff6b2d;
    border-radius: 5px;
    color: #ff4f00;
    font-style: normal;
    font-size: 13px;
}

.agri-payment-tags span {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #073f70;
    font-weight: 800;
    font-size: 13px;
}

.agri-delivery b {
    color: #159bff;
}

.agri-shop-rating strong {
    display: block;
    font-size: 18px;
    color: #073f70;
}

.agri-shop-rating span {
    display: inline-block;
    margin-top: 8px;
    color: #ff7a00;
    font-weight: 950;
}

.agri-shop-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: #28bd74;
    color: #fff !important;
    text-decoration: none;
    font-weight: 950;
}

@media (max-width: 1180px) {
    .agri-compare-layout {
        grid-template-columns: 1fr;
    }

    .agri-compare-table-head {
        display: none;
    }

    .agri-compare-row {
        grid-template-columns: 1fr 1fr;
    }

    .agri-shop-button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .agri-compare-header,
    .agri-compare-row {
        grid-template-columns: 1fr;
    }

    .agri-compare-header div,
    .agri-offer-tabs {
        align-items: stretch;
        flex-direction: column;
    }
}

/* YOP MULTI PORTAL */
.portal-home-hero {
    min-height: 76vh;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 36px;
    align-items: center;
    padding: 72px max(24px, calc((100vw - 1280px) / 2));
    background: radial-gradient(circle at 12% 15%, rgba(21,155,255,.18), transparent 32%), radial-gradient(circle at 90% 8%, rgba(33,27,134,.14), transparent 30%), #fff;
}
.portal-main-logo { width: min(300px, 70vw); display:block; margin-bottom: 18px; }
.portal-home-copy h1 { margin: 0 0 14px; font-size: clamp(48px, 7vw, 92px); line-height: .9; letter-spacing: -.08em; color:#071527; }
.portal-home-copy p:not(.eyebrow) { max-width: 620px; color:#607080; font-size: 19px; line-height: 1.55; }
.portal-home-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.portal-home-card { min-height: 178px; padding: 20px; border:1px solid #dbe7f6; border-radius: 28px; background:#fff; box-shadow:0 18px 45px rgba(33,27,134,.08); color:#071527; text-decoration:none; display:flex; flex-direction:column; justify-content:space-between; transition:.2s ease; }
.portal-home-card:hover { transform: translateY(-5px); box-shadow:0 24px 60px rgba(21,155,255,.18); }
.portal-home-card img { max-width: 76px; max-height: 62px; object-fit:contain; }
.portal-home-card strong { font-size: 21px; color:#071527; }
.portal-home-card span:last-child { color:#607080; font-weight:800; }
.portal-agri-icon { font-size: 52px; }
.portal-topbar { min-height: 92px; display:flex; align-items:center; gap:22px; padding:14px max(24px, calc((100vw - 1180px)/2)); border-bottom:1px solid #dbe7f6; background:rgba(255,255,255,.95); position:sticky; top:0; z-index:70; backdrop-filter:blur(14px); }
.portal-home { width:56px; height:56px; border-radius:18px; background:linear-gradient(135deg,rgba(21,155,255,.13),rgba(33,27,134,.10)); display:flex; align-items:center; justify-content:center; }
.portal-home img { width:42px; height:42px; object-fit:contain; }
.portal-brand { display:flex; align-items:center; gap:12px; color:#071527; text-decoration:none; font-size:24px; font-weight:950; }
.portal-brand img { max-width:74px; max-height:54px; object-fit:contain; }
.portal-topbar nav { margin-left:auto; display:flex; gap:22px; }
.portal-topbar nav a { color:#071527; text-decoration:none; font-weight:900; }
.portal-shell, .jobs-shell { max-width:1180px; margin:0 auto; padding:54px 24px 84px; }
.portal-hero-card, .portal-filter-card, .portal-offers, .jobs-hero, .job-card, .job-detail-panel { border:1px solid #dbe7f6; border-radius:30px; background:#fff; box-shadow:0 20px 55px rgba(33,27,134,.08); }
.portal-hero-card { padding:42px; background:linear-gradient(135deg,rgba(21,155,255,.12),rgba(33,27,134,.06)); }
.portal-hero-card h1, .jobs-hero h1 { margin:0 0 12px; font-size: clamp(38px, 5vw, 68px); letter-spacing:-.06em; }
.portal-search, .jobs-search { display:grid; grid-template-columns: 1fr 1fr 210px; gap:12px; margin-top:26px; }
.portal-search label { font-weight:900; color:#071527; }
.portal-search input, .jobs-search input { width:100%; height:52px; border:1px solid #dbe7f6; border-radius:14px; padding:0 14px; margin-top:6px; }
.portal-search button, .jobs-search button, .portal-offer-row a, .job-card button, .job-detail-panel a { border:0; border-radius:14px; background:linear-gradient(135deg,#159bff,#211b86); color:#fff; font-weight:950; text-decoration:none; display:flex; align-items:center; justify-content:center; min-height:52px; padding:0 18px; }
.portal-compare-grid { display:grid; grid-template-columns: 260px 1fr; gap:22px; margin-top:26px; }
.portal-filter-card { padding:24px; display:grid; gap:14px; align-content:start; }
.portal-filter-card label { display:flex; gap:8px; color:#607080; font-weight:800; }
.portal-offers { overflow:hidden; }
.portal-offers-head { display:flex; justify-content:space-between; align-items:center; padding:20px 24px; background:#f7fbff; border-bottom:1px solid #dbe7f6; }
.portal-offers-head h2 { margin:0; }
.portal-offer-row { display:grid; grid-template-columns: 1fr 180px 150px 150px; gap:18px; align-items:center; padding:22px 24px; border-bottom:1px solid #dbe7f6; }
.portal-offer-row:last-child { border-bottom:0; }
.portal-offer-row span { color:#159bff; font-weight:900; }
.portal-offer-row h3 { margin:6px 0; }
.portal-offer-row strong { font-size:24px; color:#071527; }
.portal-rating { color:#ff8a00; font-weight:950; }
.jobs-hero { padding:42px; text-align:center; }
.jobs-layout { display:grid; grid-template-columns: minmax(0,1fr) 380px; gap:22px; margin-top:24px; align-items:start; }
.jobs-list { display:grid; gap:14px; }
.job-card { padding:24px; }
.job-card h2 { margin:0 0 8px; color:#071527; }
.job-card strong, .job-card span, .job-card p { display:block; margin:6px 0; color:#607080; }
.job-card button { width:180px; margin-top:14px; }
.job-detail-panel { position:sticky; top:112px; padding:28px; }
.job-detail-panel a { margin-top:20px; }
@media (max-width: 980px) { .portal-home-hero, .portal-home-grid, .portal-compare-grid, .jobs-layout { grid-template-columns:1fr; } .portal-search, .jobs-search, .portal-offer-row { grid-template-columns:1fr; } .portal-topbar { flex-wrap:wrap; } .portal-topbar nav { width:100%; margin-left:0; overflow-x:auto; } }
@media (max-width: 640px) { .portal-home-grid { grid-template-columns:1fr; } .portal-home-hero { padding-top:36px; } .portal-hero-card, .jobs-hero { padding:24px; border-radius:22px; } }

/* NEXT-GEN YOP HOME */
body:has(.next-home) .main-header {
    display: none;
}

.next-home {
    --next-blue: #159bff;
    --next-deep: #211b86;
    --next-ink: #071527;
    --next-muted: #64748b;
    --next-line: rgba(21,155,255,.18);
    --next-green: #159bff;
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 8%, rgba(21,155,255,.22), transparent 30%),
        radial-gradient(circle at 88% 5%, rgba(33,27,134,.20), transparent 28%),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 46%, #f8fbff 100%);
    color: var(--next-ink);
    font-family: "Segoe UI", Arial, sans-serif;
}

.next-hero {
    position: relative;
    overflow: hidden;
    min-height: 760px;
    padding: 22px max(24px, calc((100vw - 1320px) / 2)) 68px;
}

.next-hero-bg {
    position: absolute;
    inset: 90px 4vw auto auto;
    width: 42vw;
    height: 42vw;
    max-width: 620px;
    max-height: 620px;
    border-radius: 46% 54% 60% 40%;
    background:
        linear-gradient(135deg, rgba(21,155,255,.22), rgba(33,27,134,.18)),
        radial-gradient(circle at 35% 28%, rgba(255,255,255,.9), transparent 22%);
    filter: blur(.2px);
    opacity: .9;
    animation: nextFloat 9s ease-in-out infinite;
}

@keyframes nextFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(18px) rotate(4deg); }
}

.next-home-nav {
    position: relative;
    z-index: 2;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
}

.next-brand img {
    width: 122px;
    height: auto;
    display: block;
}

.next-home-nav nav {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.70);
    border-radius: 999px;
    background: rgba(255,255,255,.68);
    box-shadow: 0 18px 55px rgba(33,27,134,.10);
    backdrop-filter: blur(18px);
}

.next-home-nav nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--next-ink);
    text-decoration: none;
    font-weight: 900;
}

.next-home-nav nav a:hover {
    background: #fff;
    color: var(--next-blue);
}

.next-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) 430px;
    gap: 54px;
    align-items: center;
    padding-top: 68px;
}

.next-kicker {
    margin: 0 0 14px;
    color: var(--next-blue);
    font-weight: 950;
    letter-spacing: .03em;
    text-transform: uppercase;
    font-size: 13px;
}

.next-hero-copy h1 {
    max-width: 880px;
    margin: 0 0 22px;
    color: var(--next-ink);
    font-size: clamp(54px, 8vw, 118px);
    line-height: .86;
    letter-spacing: -.09em;
}

.next-hero-copy > p:not(.next-kicker) {
    max-width: 710px;
    margin: 0;
    color: var(--next-muted);
    font-size: 20px;
    line-height: 1.62;
}

.next-search {
    width: min(820px, 100%);
    margin-top: 34px;
    display: grid;
    grid-template-columns: 1fr .7fr 190px;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.82);
    border-radius: 24px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 28px 80px rgba(33,27,134,.14);
    backdrop-filter: blur(18px);
}

.next-search input {
    height: 54px;
    border: 1px solid var(--next-line);
    border-radius: 16px;
    padding: 0 16px;
    background: rgba(255,255,255,.86);
    color: var(--next-ink);
    font-size: 15px;
}

.next-search input:focus {
    outline: none;
    border-color: var(--next-blue);
    box-shadow: 0 0 0 4px rgba(21,155,255,.12);
}

.next-search button {
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--next-blue), var(--next-deep));
    color: #fff;
    font-weight: 950;
    cursor: pointer;
}

.next-orbit-card {
    position: relative;
    min-height: 430px;
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 44px;
    background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,255,255,.35));
    box-shadow: 0 38px 100px rgba(33,27,134,.18);
    backdrop-filter: blur(22px);
}

.next-orbit-logo {
    position: absolute;
    inset: 50%;
    width: 138px;
    height: 138px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(21,155,255,.20);
}

.next-orbit-logo img {
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.orbit-chip {
    position: absolute;
    min-height: 48px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #fff;
    color: var(--next-ink);
    text-decoration: none;
    font-weight: 950;
    box-shadow: 0 18px 42px rgba(33,27,134,.12);
}

.chip-immo { top: 52px; left: 42px; }
.chip-insurance { top: 92px; right: 30px; }
.chip-agri { bottom: 82px; left: 38px; }
.chip-jobs { bottom: 48px; right: 54px; }

.next-bento,
.next-properties {
    max-width: 1320px;
    margin: 0 auto;
    padding: 36px 24px 82px;
}

.next-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    gap: 18px;
}

.next-tile {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border: 1px solid var(--next-line);
    border-radius: 32px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 18px 55px rgba(33,27,134,.08);
    color: var(--next-ink);
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease;
}

.next-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 75px rgba(21,155,255,.18);
}

.next-tile h2,
.next-tile h3 {
    margin: 10px 0 8px;
    letter-spacing: -.045em;
}

.next-tile h2 { font-size: 38px; line-height: 1; max-width: 520px; }
.next-tile h3 { font-size: 24px; }
.next-tile p { color: var(--next-muted); line-height: 1.5; max-width: 520px; }
.next-tile > span { color: var(--next-blue); font-weight: 950; }
.next-tile img { max-width: 92px; max-height: 72px; object-fit: contain; }

.tile-large {
    grid-column: span 2;
    grid-row: span 2;
    background:
        radial-gradient(circle at 84% 18%, rgba(21,155,255,.26), transparent 34%),
        linear-gradient(135deg, #fff, #f2f8ff);
}

.tile-large img {
    position: absolute;
    right: 24px;
    bottom: 20px;
    max-width: 180px;
    max-height: 180px;
    opacity: .95;
}

.tile-wide {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(33,27,134,.16), rgba(21,155,255,.12));
}

.tile-internet span {
    display: block;
    font-size: 48px;
}

.next-section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.next-section-title h2 {
    margin: 0;
    font-size: 44px;
    letter-spacing: -.06em;
}

.next-property-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.next-property-card,
.next-empty-card {
    overflow: hidden;
    border: 1px solid var(--next-line);
    border-radius: 28px;
    background: #fff;
    color: var(--next-ink);
    text-decoration: none;
    box-shadow: 0 18px 45px rgba(33,27,134,.08);
}

.next-property-image {
    position: relative;
    aspect-ratio: 1.55 / 1;
    overflow: hidden;
}

.next-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.next-property-card:hover img {
    transform: scale(1.04);
}

.next-property-image strong {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--next-blue), var(--next-deep));
    color: #fff;
}

.next-property-card h3,
.next-property-card p {
    margin-left: 18px;
    margin-right: 18px;
}

.next-property-card h3 {
    margin-top: 18px;
    margin-bottom: 6px;
}

.next-property-card p {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--next-muted);
}

.next-empty-card {
    padding: 24px;
}

@media (max-width: 1080px) {
    .next-hero-grid,
    .next-bento,
    .next-property-row {
        grid-template-columns: 1fr 1fr;
    }

    .next-orbit-card,
    .tile-large,
    .tile-wide {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .next-hero {
        min-height: auto;
        padding-top: 14px;
    }

    .next-home-nav,
    .next-home-nav nav {
        align-items: flex-start;
        flex-direction: column;
        border-radius: 24px;
    }

    .next-home-nav nav {
        width: 100%;
    }

    .next-hero-grid,
    .next-search,
    .next-bento,
    .next-property-row {
        grid-template-columns: 1fr;
    }

    .next-hero-copy h1 {
        font-size: 56px;
    }

    .next-orbit-card {
        min-height: 360px;
    }

    .orbit-chip {
        position: static;
        margin: 10px;
    }

    .next-orbit-card {
        display: flex;
        flex-wrap: wrap;
        align-content: end;
        justify-content: center;
        padding: 170px 12px 20px;
    }

    .next-tile,
    .next-hero-copy {
        border-radius: 24px;
    }
}

/* CHECK24-INSPIRED YOP HOME */
body:has(.check-home) .main-header { display: none; }
.check-home { --c-blue:#159bff; --c-deep:#211b86; --c-ink:#071527; --c-muted:#64748b; --c-line:#dbe7f6; min-height:100vh; background:#f4f7fb; color:var(--c-ink); font-family:"Segoe UI",Arial,sans-serif; }
.check-home-topbar { min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:10px max(24px,calc((100vw - 1240px)/2)); background:#fff; border-bottom:1px solid var(--c-line); position:sticky; top:0; z-index:80; box-shadow:0 6px 24px rgba(33,27,134,.06); }
.check-logo img { width:108px; display:block; }
.check-home-topbar nav { display:flex; align-items:center; gap:20px; }
.check-home-topbar nav a { color:var(--c-ink); text-decoration:none; font-weight:900; }
.check-home-topbar nav a:hover { color:var(--c-blue); }
.check-hero { max-width:1240px; margin:0 auto; padding:42px 24px 20px; display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:24px; align-items:stretch; }
.check-hero-copy { padding:44px; border-radius:28px; background:linear-gradient(135deg,#fff, #eef7ff); border:1px solid var(--c-line); box-shadow:0 20px 55px rgba(33,27,134,.08); }
.check-eyebrow { margin:0 0 10px; color:var(--c-blue); font-weight:950; text-transform:uppercase; letter-spacing:.04em; font-size:12px; }
.check-hero h1 { margin:0 0 14px; font-size:clamp(44px,6vw,78px); line-height:.94; letter-spacing:-.075em; }
.check-hero p:not(.check-eyebrow) { max-width:720px; color:var(--c-muted); font-size:18px; line-height:1.55; }
.check-quick-search { padding:26px; border-radius:28px; background:#fff; border:1px solid var(--c-line); box-shadow:0 20px 55px rgba(21,155,255,.12); display:grid; gap:12px; }
.check-quick-search h2 { margin:0 0 6px; font-size:26px; }
.check-quick-search input,.check-quick-search select { height:50px; border:1px solid var(--c-line); border-radius:14px; padding:0 14px; font-size:15px; background:#fff; }
.check-quick-search input:focus,.check-quick-search select:focus { outline:none; border-color:var(--c-blue); box-shadow:0 0 0 4px rgba(21,155,255,.12); }
.check-quick-search button { height:52px; border:0; border-radius:14px; background:linear-gradient(135deg,var(--c-blue),var(--c-deep)); color:#fff; font-weight:950; cursor:pointer; }
.check-main-products { max-width:1240px; margin:0 auto; padding:20px 24px; display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.check-product-card { min-height:190px; padding:20px; border:1px solid var(--c-line); border-radius:22px; background:#fff; color:var(--c-ink); text-decoration:none; box-shadow:0 12px 34px rgba(33,27,134,.07); display:flex; flex-direction:column; gap:8px; transition:.2s ease; }
.check-product-card:hover { transform:translateY(-4px); box-shadow:0 20px 48px rgba(21,155,255,.16); }
.check-product-card.primary { grid-column:span 2; background:radial-gradient(circle at 80% 10%,rgba(21,155,255,.18),transparent 34%),#fff; }
.check-product-card img { width:70px; height:52px; object-fit:contain; }
.check-product-card .check-icon { font-size:46px; line-height:1; }
.check-product-card span:not(.check-icon) { color:var(--c-blue); font-weight:950; }
.check-product-card strong { font-size:22px; letter-spacing:-.035em; }
.check-product-card em { margin-top:auto; color:var(--c-muted); font-style:normal; font-weight:800; }
.check-product-card.agri { background:linear-gradient(135deg,rgba(33,27,134,.12),#fff); }
.check-product-card.muted { opacity:.82; }
.check-deals-strip { max-width:1240px; margin:10px auto 0; padding:0 24px; display:flex; gap:12px; overflow-x:auto; }
.check-deals-strip a { flex:0 0 auto; padding:11px 16px; border-radius:999px; background:#fff; border:1px solid var(--c-line); color:var(--c-ink); text-decoration:none; font-weight:900; box-shadow:0 8px 22px rgba(33,27,134,.06); }
.check-deals-strip a:hover { color:var(--c-blue); border-color:var(--c-blue); }
.check-trust-grid { max-width:1240px; margin:28px auto 0; padding:0 24px; display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.check-trust-grid article { padding:22px; border-radius:22px; background:#fff; border:1px solid var(--c-line); box-shadow:0 10px 28px rgba(33,27,134,.06); }
.check-trust-grid span { display:block; margin-bottom:8px; color:var(--c-deep); font-size:20px; font-weight:950; }
.check-trust-grid p { margin:0; color:var(--c-muted); line-height:1.5; }
.check-immo-preview { max-width:1240px; margin:0 auto; padding:52px 24px 86px; }
.check-section-head { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:18px; }
.check-section-head h2 { margin:0; font-size:38px; letter-spacing:-.055em; }
.check-immo-row { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.check-immo-card { overflow:hidden; border:1px solid var(--c-line); border-radius:22px; background:#fff; color:var(--c-ink); text-decoration:none; box-shadow:0 14px 34px rgba(33,27,134,.07); }
.check-immo-card div { position:relative; aspect-ratio:1.55/1; overflow:hidden; }
.check-immo-card img { width:100%; height:100%; object-fit:cover; transition:transform .3s ease; }
.check-immo-card:hover img { transform:scale(1.04); }
.check-immo-card div strong { position:absolute; left:12px; bottom:12px; padding:8px 11px; border-radius:999px; background:linear-gradient(135deg,var(--c-blue),var(--c-deep)); color:#fff; }
.check-immo-card h3,.check-immo-card p { margin-left:16px; margin-right:16px; }
.check-immo-card h3 { margin-top:16px; margin-bottom:6px; }
.check-immo-card p { margin-top:0; margin-bottom:18px; color:var(--c-muted); }
@media (max-width:980px){ .check-hero,.check-main-products,.check-trust-grid,.check-immo-row{grid-template-columns:1fr 1fr;} .check-hero-copy,.check-quick-search,.check-product-card.primary{grid-column:1/-1;} .check-home-topbar{flex-wrap:wrap;} .check-home-topbar nav{width:100%; overflow-x:auto;} }
@media (max-width:620px){ .check-hero,.check-main-products,.check-trust-grid,.check-immo-row{grid-template-columns:1fr;} .check-hero-copy{padding:26px;} .check-hero h1{font-size:48px;} .check-home-topbar nav{gap:12px;} }

/* HOME NAV BUTTONS */
.check-home-topbar nav {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.check-home-topbar nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid #dbe7f6;
    border-radius: 999px;
    background: #fff;
    color: #071527;
    box-shadow: 0 8px 22px rgba(33,27,134,.06);
    transition: transform .18s ease, box-shadow .18s ease, color .18s ease, background .18s ease, border-color .18s ease;
}

.check-home-topbar nav a:hover,
.check-home-topbar nav a:focus-visible {
    border-color: transparent;
    background: linear-gradient(135deg, #159bff, #211b86);
    color: #fff;
    box-shadow: 0 14px 34px rgba(21,155,255,.26);
    transform: translateY(-2px);
    outline: none;
}

/* GLOBAL YOP NAVBAR */
.yop-global-nav {
    position: sticky;
    top: 0;
    z-index: 9999;
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 10px max(18px, calc((100vw - 1320px) / 2));
    border-bottom: 1px solid #dbe7f6;
    background: rgba(255,255,255,.96);
    box-shadow: 0 10px 32px rgba(33,27,134,.08);
    backdrop-filter: blur(16px);
}

.yop-global-logo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    text-decoration: none;
}

.yop-global-logo img {
    width: 108px;
    max-height: 54px;
    object-fit: contain;
    display: block;
}

.yop-global-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.yop-global-links a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid #dbe7f6;
    border-radius: 999px;
    background: #fff;
    color: #071527;
    text-decoration: none;
    font-weight: 950;
    box-shadow: 0 8px 22px rgba(33,27,134,.06);
    transition: transform .18s ease, box-shadow .18s ease, color .18s ease, background .18s ease, border-color .18s ease;
}

.yop-global-links a:hover,
.yop-global-links a:focus-visible {
    border-color: transparent;
    background: linear-gradient(135deg, #159bff, #211b86);
    color: #fff;
    box-shadow: 0 14px 34px rgba(21,155,255,.26);
    transform: translateY(-2px);
    outline: none;
}

.main-header {
    display: none !important;
}

.yop-page-main {
    min-height: calc(100vh - 74px);
}

.check-home .check-home-topbar,
.estate-topbar,
.insurance-topbar,
.kfz-topbar,
.agri-estate-topbar,
.portal-topbar,
.jobs-topbar,
.agri-filter-topbar,
.agri-header {
    top: 74px;
}

@media (max-width: 980px) {
    .yop-global-nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .yop-global-links {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .yop-global-links a {
        flex: 0 0 auto;
    }

    .check-home .check-home-topbar,
    .estate-topbar,
    .insurance-topbar,
    .kfz-topbar,
    .agri-estate-topbar,
    .portal-topbar,
    .jobs-topbar,
    .agri-filter-topbar,
    .agri-header {
        top: 124px;
    }
}

/* AGRI LOGO */
.agri-logo-image {
    height: 62px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    display: block;
}

.agri-estate-brand:has(.agri-logo-image) {
    display: inline-flex;
    align-items: center;
}

/* SECTION HEADER LOGO CLEANUP */
.portal-brand.logo-only,
.insurance-brand,
.agri-estate-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 78px;
}

.portal-brand.logo-only img {
    max-width: 190px;
    max-height: 86px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.jobs-topbar .portal-brand.logo-only img {
    max-width: 220px;
    max-height: 96px;
}

.insurance-brand img {
    height: 82px;
    max-width: 230px;
    object-fit: contain;
}

.agri-logo-image {
    height: 86px;
    max-width: 240px;
}

.portal-topbar,
.jobs-topbar,
.insurance-topbar,
.agri-estate-topbar {
    min-height: 118px;
}

.portal-home,
.insurance-home,
.agri-home-icon {
    display: none !important;
}

@media (max-width: 720px) {
    .portal-brand.logo-only,
    .insurance-brand,
    .agri-estate-brand {
        min-width: 140px;
        min-height: 62px;
    }

    .portal-brand.logo-only img,
    .jobs-topbar .portal-brand.logo-only img,
    .insurance-brand img,
    .agri-logo-image {
        max-width: 170px;
        max-height: 70px;
        height: auto;
    }
}

/* NEO AD-FOCUSED HOME */
body:has(.neo-home) {
    background: #08111f;
}

.neo-home {
    --neo-bg: #08111f;
    --neo-panel: #101c31;
    --neo-card: #14233c;
    --neo-blue: #159bff;
    --neo-deep: #211b86;
    --neo-green: #159bff;
    --neo-gold: #211b86;
    --neo-text: #f7fbff;
    --neo-muted: #aebbd0;
    min-height: 100vh;
    padding-bottom: 80px;
    color: var(--neo-text);
    background:
        radial-gradient(circle at 12% 8%, rgba(21,155,255,.35), transparent 28%),
        radial-gradient(circle at 88% 0%, rgba(33,27,134,.20), transparent 26%),
        linear-gradient(180deg, #08111f 0%, #101b2d 48%, #08111f 100%);
    font-family: "Segoe UI", Arial, sans-serif;
}

.neo-hero,
.neo-ad-row,
.neo-portal-grid,
.neo-content-band,
.neo-immo-preview {
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.neo-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: stretch;
    padding-top: 58px;
}

.neo-hero-copy,
.neo-spotlight-ad,
.neo-trust-panel,
.neo-side-ad {
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
    box-shadow: 0 28px 80px rgba(0,0,0,.28);
    backdrop-filter: blur(18px);
}

.neo-hero-copy {
    padding: clamp(34px, 5vw, 64px);
}

.neo-kicker {
    margin: 0 0 12px;
    color: #79c9ff;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 12px;
}

.neo-hero h1 {
    max-width: 860px;
    margin: 0 0 18px;
    font-size: clamp(50px, 7vw, 104px);
    line-height: .88;
    letter-spacing: -.085em;
}

.neo-hero-copy > p:not(.neo-kicker) {
    max-width: 720px;
    color: var(--neo-muted);
    font-size: 19px;
    line-height: 1.6;
}

.neo-search {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 230px 190px;
    gap: 10px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.12);
}

.neo-search input,
.neo-search select {
    height: 54px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 15px;
    padding: 0 14px;
    background: rgba(255,255,255,.92);
    color: #071527;
    font-size: 15px;
}

.neo-search button,
.neo-spotlight-ad a {
    min-height: 54px;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--neo-blue), var(--neo-deep));
    color: #fff;
    font-weight: 950;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
}

.neo-spotlight-ad {
    padding: 30px;
    background:
        radial-gradient(circle at 90% 0%, rgba(255,178,31,.35), transparent 34%),
        linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
}

.neo-spotlight-ad span,
.neo-side-ad small,
.neo-ad-card small {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-weight: 900;
}

.neo-spotlight-ad h2 {
    margin: 24px 0 12px;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -.05em;
}

.neo-spotlight-ad p {
    color: var(--neo-muted);
    line-height: 1.55;
}

.neo-ad-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding-top: 24px;
}

.neo-ad-card,
.neo-service-card,
.neo-immo-card {
    color: var(--neo-text);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.neo-ad-card {
    min-height: 150px;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 20px 55px rgba(0,0,0,.22);
}

.neo-ad-card.blue { background: linear-gradient(135deg, #0e4f91, #14233c); }
.neo-ad-card.gold { background: linear-gradient(135deg, #876018, #14233c); }
.neo-ad-card.green { background: linear-gradient(135deg, #0b7b4a, #14233c); }

.neo-ad-card strong,
.neo-ad-card span {
    display: block;
}

.neo-ad-card strong {
    margin: 22px 0 8px;
    font-size: 24px;
    letter-spacing: -.04em;
}

.neo-ad-card span {
    color: rgba(255,255,255,.78);
}

.neo-portal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 190px;
    gap: 18px;
    padding-top: 28px;
}

.neo-service-card {
    overflow: hidden;
    padding: 22px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.10);
    background: var(--neo-card);
    box-shadow: 0 20px 55px rgba(0,0,0,.20);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.neo-service-card.large {
    grid-column: span 2;
    grid-row: span 2;
    flex-direction: row;
    align-items: flex-end;
    background:
        radial-gradient(circle at 80% 10%, rgba(21,155,255,.28), transparent 34%),
        linear-gradient(135deg, #15294a, #101c31);
}

.neo-service-card:hover,
.neo-ad-card:hover,
.neo-immo-card:hover {
    transform: translateY(-5px);
    border-color: rgba(21,155,255,.45);
    box-shadow: 0 28px 75px rgba(21,155,255,.16);
}

.neo-service-card img {
    max-width: 120px;
    max-height: 86px;
    object-fit: contain;
}

.neo-service-card.large img {
    max-width: 220px;
    max-height: 220px;
}

.neo-service-card span,
.neo-service-card b {
    color: #79c9ff;
    font-weight: 950;
}

.neo-service-card b {
    font-size: 52px;
}

.neo-service-card strong,
.neo-service-card h2 {
    margin: 0;
    color: #fff;
    letter-spacing: -.04em;
}

.neo-service-card h2 {
    font-size: 40px;
    line-height: 1;
}

.neo-service-card p {
    color: var(--neo-muted);
}

.neo-content-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 18px;
    padding-top: 28px;
}

.neo-trust-panel,
.neo-side-ad {
    padding: 30px;
}

.neo-trust-panel h2 {
    margin: 0 0 20px;
    font-size: 38px;
    letter-spacing: -.05em;
}

.neo-trust-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.neo-trust-list span {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.08);
    color: var(--neo-muted);
    font-weight: 900;
}

.neo-side-ad {
    background: linear-gradient(135deg, rgba(21,155,255,.24), rgba(33,27,134,.18));
}

.neo-side-ad strong,
.neo-side-ad span {
    display: block;
}

.neo-side-ad strong {
    margin: 28px 0 8px;
    font-size: 26px;
    letter-spacing: -.04em;
}

.neo-side-ad span {
    color: var(--neo-muted);
}

.neo-immo-preview {
    padding-top: 52px;
}

.neo-section-head h2 {
    margin: 0 0 20px;
    font-size: 42px;
    letter-spacing: -.06em;
}

.neo-immo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.neo-immo-card {
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.10);
    background: var(--neo-card);
    box-shadow: 0 20px 55px rgba(0,0,0,.18);
}

.neo-immo-card div {
    position: relative;
    aspect-ratio: 1.55 / 1;
    overflow: hidden;
}

.neo-immo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.neo-immo-card:hover img {
    transform: scale(1.04);
}

.neo-immo-card div strong {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--neo-blue), var(--neo-deep));
    color: #fff;
}

.neo-immo-card h3,
.neo-immo-card p {
    margin-left: 18px;
    margin-right: 18px;
}

.neo-immo-card h3 {
    margin-top: 18px;
    margin-bottom: 6px;
}

.neo-immo-card p {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--neo-muted);
}

@media (max-width: 1080px) {
    .neo-hero,
    .neo-ad-row,
    .neo-portal-grid,
    .neo-content-band,
    .neo-immo-grid {
        grid-template-columns: 1fr 1fr;
    }

    .neo-service-card.large,
    .neo-trust-panel {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .neo-hero,
    .neo-search,
    .neo-ad-row,
    .neo-portal-grid,
    .neo-content-band,
    .neo-immo-grid,
    .neo-trust-list {
        grid-template-columns: 1fr;
    }

    .neo-hero {
        padding-top: 32px;
    }

    .neo-hero-copy,
    .neo-spotlight-ad,
    .neo-trust-panel,
    .neo-side-ad {
        border-radius: 24px;
        padding: 24px;
    }

    .neo-hero h1 {
        font-size: 52px;
    }

    .neo-service-card.large {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* HOME REFRESH - MODERN COMPARISON PORTAL */
body:has(.neo-home) {
    background: #06101d;
}

.neo-home {
    --neo-bg: #06101d;
    --neo-panel: rgba(12, 26, 47, .78);
    --neo-card: rgba(16, 32, 58, .86);
    --neo-blue: #159bff;
    --neo-deep: #211b86;
    --neo-green: #159bff;
    --neo-gold: #211b86;
    --neo-cyan: #159bff;
    --neo-text: #f8fbff;
    --neo-muted: #b9c7db;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(6,16,29,.92), rgba(8,18,34,.72)),
        radial-gradient(circle at 14% 12%, rgba(21,155,255,.42), transparent 30%),
        radial-gradient(circle at 78% 6%, rgba(33,27,134,.24), transparent 28%),
        radial-gradient(circle at 58% 62%, rgba(33,27,134,.45), transparent 38%),
        #06101d;
}

.neo-home::before,
.neo-home::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.neo-home::before {
    inset: 0;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.neo-home::after {
    width: 520px;
    height: 520px;
    right: -170px;
    top: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(21,155,255,.32), rgba(33,27,134,.08), transparent 68%);
    filter: blur(4px);
}

.neo-hero {
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 26px;
    padding-top: 46px;
}

.neo-hero-copy,
.neo-spotlight-ad,
.neo-trust-panel,
.neo-side-ad {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(154, 211, 255, .18);
    background:
        linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.045)),
        rgba(8, 18, 34, .74);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255,255,255,.10);
}

.neo-hero-copy::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--neo-blue), var(--neo-cyan), var(--neo-green));
}

.neo-kicker {
    width: fit-content;
    padding: 8px 12px;
    border: 1px solid rgba(121,201,255,.22);
    border-radius: 999px;
    background: rgba(21,155,255,.10);
    color: #9ddeff;
}

.neo-hero h1 {
    max-width: 930px;
    background: linear-gradient(135deg, #ffffff 10%, #98dcff 52%, #ffffff 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 24px 70px rgba(21,155,255,.24);
}

.neo-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.neo-hero-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #e9f6ff;
    font-weight: 900;
    font-size: 13px;
}

.neo-search {
    grid-template-columns: minmax(230px, 1fr) minmax(220px, 260px) 200px;
    gap: 10px;
    padding: 11px;
    border-radius: 28px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(175, 218, 255, .25);
    box-shadow: 0 24px 70px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.12);
}

.neo-search input,
.neo-search select {
    height: 62px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 20px;
    background: rgba(248,251,255,.96);
    color: #071527;
    font-size: 16px;
    font-weight: 700;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.neo-search input:focus,
.neo-search select:focus {
    border-color: var(--neo-blue);
    box-shadow: 0 0 0 4px rgba(21,155,255,.18), inset 0 1px 0 rgba(255,255,255,.85);
    transform: translateY(-1px);
}

.neo-search select {
    cursor: pointer;
    appearance: auto;
    background-color: #f8fbff;
}

.neo-search button,
.neo-spotlight-ad a {
    min-height: 62px;
    border-radius: 20px;
    background: linear-gradient(135deg, #159bff 0%, #246ce8 45%, #211b86 100%);
    box-shadow: 0 16px 34px rgba(21,155,255,.30);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.neo-search button:hover,
.neo-search button:focus-visible,
.neo-spotlight-ad a:hover,
.neo-spotlight-ad a:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(21,155,255,.42);
    filter: saturate(1.12);
    outline: none;
}

.neo-spotlight-ad {
    background:
        radial-gradient(circle at 88% 2%, rgba(255,178,31,.44), transparent 36%),
        radial-gradient(circle at 0% 92%, rgba(21,155,255,.20), transparent 42%),
        rgba(12, 26, 47, .82);
}

.neo-ad-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(255,255,255,.14);
}

.neo-ad-card::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -54px;
    top: -54px;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
}

.neo-ad-card.blue { background: linear-gradient(135deg, #116ed0, #14233c 74%); }
.neo-ad-card.gold { background: linear-gradient(135deg, #b0710a, #17243b 74%); }
.neo-ad-card.green { background: linear-gradient(135deg, #0b9560, #14233c 74%); }

.neo-service-card {
    border-color: rgba(154, 211, 255, .14);
    background:
        linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
        rgba(16, 32, 58, .88);
}

.neo-service-card.large {
    background:
        radial-gradient(circle at 84% 8%, rgba(21,155,255,.34), transparent 34%),
        radial-gradient(circle at 8% 92%, rgba(33,27,134,.18), transparent 35%),
        linear-gradient(135deg, #173158, #0d1c33);
}

.neo-service-card:hover,
.neo-ad-card:hover,
.neo-immo-card:hover {
    transform: translateY(-7px);
    border-color: rgba(88,190,255,.62);
    box-shadow: 0 32px 82px rgba(21,155,255,.20);
}

.neo-trust-list span {
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.075);
}

.neo-immo-card {
    border-color: rgba(154, 211, 255, .14);
    background: rgba(16, 32, 58, .90);
}

@media (max-width: 720px) {
    .neo-search {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .neo-search input,
    .neo-search select,
    .neo-search button {
        width: 100%;
    }

    .neo-hero-badges span {
        flex: 1 1 auto;
        justify-content: center;
    }
}

/* UNIFIED DARK YOP PORTAL DESIGN FOR ALL SECTIONS */
body:has(.estate-page),
body:has(.insurance-page),
body:has(.kfz-page),
body:has(.portal-shell),
body:has(.jobs-shell),
body:has(.agri-estate-style) {
    background: #06101d;
}

.estate-page,
.insurance-page,
.kfz-page,
.agri-estate-style,
.portal-shell,
.jobs-shell {
    --yop-dark-bg: #06101d;
    --yop-dark-panel: rgba(12, 26, 47, .82);
    --yop-dark-card: rgba(16, 32, 58, .90);
    --yop-dark-line: rgba(154, 211, 255, .18);
    --yop-dark-text: #f8fbff;
    --yop-dark-muted: #b9c7db;
    --yop-dark-blue: #159bff;
    --yop-dark-deep: #211b86;
    color: var(--yop-dark-text);
}

.estate-page,
.insurance-page,
.kfz-page,
.agri-estate-style {
    background:
        linear-gradient(115deg, rgba(6,16,29,.95), rgba(8,18,34,.78)),
        radial-gradient(circle at 12% 8%, rgba(21,155,255,.34), transparent 30%),
        radial-gradient(circle at 88% 0%, rgba(33,27,134,.20), transparent 28%),
        radial-gradient(circle at 58% 58%, rgba(33,27,134,.42), transparent 40%),
        #06101d !important;
}

.portal-shell,
.jobs-shell {
    position: relative;
    max-width: 1240px;
    margin-top: 0;
    color: var(--yop-dark-text);
}

.portal-shell::before,
.jobs-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(115deg, rgba(6,16,29,.95), rgba(8,18,34,.78)),
        radial-gradient(circle at 12% 8%, rgba(21,155,255,.34), transparent 30%),
        radial-gradient(circle at 88% 0%, rgba(33,27,134,.20), transparent 28%),
        #06101d;
}

.estate-page::before,
.insurance-page::before,
.kfz-page::before,
.agri-estate-style::before {
    content: "";
    position: fixed;
    inset: 74px 0 0;
    pointer-events: none;
    opacity: .14;
    background-image:
        linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, #000, transparent 76%);
}

.estate-topbar,
.insurance-topbar,
.kfz-topbar,
.agri-estate-topbar,
.portal-topbar,
.jobs-topbar,
.agri-filter-topbar,
.agri-header {
    border-bottom: 1px solid rgba(154,211,255,.18) !important;
    background: rgba(6,16,29,.86) !important;
    box-shadow: 0 18px 50px rgba(0,0,0,.24) !important;
    backdrop-filter: blur(18px);
}

.estate-nav a,
.insurance-topbar nav a,
.portal-topbar nav a,
.jobs-topbar nav a,
.agri-estate-nav a,
.kfz-topbar nav a {
    color: #f8fbff !important;
}

.estate-nav a:hover,
.insurance-topbar nav a:hover,
.portal-topbar nav a:hover,
.jobs-topbar nav a:hover,
.agri-estate-nav a:hover,
.kfz-topbar nav a:hover {
    color: #79c9ff !important;
}

.estate-results-hero,
.estate-expose,
.insurance-hero,
.insurance-section,
.kfz-shell,
.agri-estate-shell,
.portal-shell,
.jobs-shell {
    position: relative;
    z-index: 1;
}

.estate-results-hero h1,
.estate-detail-main h1,
.estate-section h2,
.insurance-hero h1,
.insurance-section h2,
.kfz-page h1,
.kfz-page h2,
.agri-estate-style h1,
.agri-estate-style h2,
.portal-hero-card h1,
.jobs-hero h1,
.job-card h2 {
    color: #f8fbff !important;
}

.estate-sort,
.estate-card-body p,
.estate-card-body small,
.estate-keyfacts span,
.estate-section p,
.estate-note,
.estate-spec-grid span,
.estate-cost-grid span,
.insurance-page p,
.insurance-page li,
.kfz-page p,
.agri-estate-style p,
.portal-hero-card p,
.portal-filter-card label,
.jobs-hero p,
.job-card p,
.job-detail-panel p {
    color: var(--yop-dark-muted) !important;
}

.estate-filter-form,
.estate-contact-card,
.estate-result-card,
.estate-map-panel,
.estate-section,
.estate-gallery,
.insurance-hero-copy,
.insurance-quote-card,
.insurance-card,
.insurance-step,
.kfz-form-panel,
.kfz-trust-panel,
.kfz-result-card,
.agri-hero-panel,
.agri-estate-filter-form,
.agri-estate-card,
.agri-map-panel,
.portal-hero-card,
.portal-filter-card,
.portal-offers,
.jobs-hero,
.job-card,
.job-detail-panel,
.agri-top-products,
.agri-price-compare,
.agri-compare-header,
.agri-compare-table,
.agri-compare-row {
    border: 1px solid var(--yop-dark-line) !important;
    background:
        linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.035)),
        var(--yop-dark-card) !important;
    box-shadow: 0 28px 80px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08) !important;
    color: var(--yop-dark-text) !important;
}

.estate-filter-form,
.agri-estate-filter-form,
.portal-search,
.jobs-search {
    border-radius: 28px;
    padding: 12px;
    background: rgba(255,255,255,.13) !important;
}

.estate-filter-form input,
.estate-filter-form select,
.insurance-page input,
.insurance-page select,
.kfz-page input,
.kfz-page select,
.agri-estate-filter-form input,
.agri-estate-filter-form select,
.portal-search input,
.jobs-search input,
.portal-filter-card input,
.portal-filter-card select {
    min-height: 54px;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 16px !important;
    background: rgba(248,251,255,.96) !important;
    color: #071527 !important;
    font-weight: 750;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

.estate-filter-form button,
.estate-contact-card button,
.estate-plus-box button,
.insurance-page button,
.insurance-page .insurance-primary,
.kfz-page button,
.agri-estate-filter-form button,
.agri-shop-button,
.portal-search button,
.jobs-search button,
.portal-offer-row a,
.job-card button,
.job-detail-panel a {
    border: 0 !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #159bff 0%, #246ce8 45%, #211b86 100%) !important;
    color: #fff !important;
    box-shadow: 0 16px 34px rgba(21,155,255,.30) !important;
    font-weight: 950 !important;
}

.estate-filter-form button:hover,
.estate-contact-card button:hover,
.insurance-page button:hover,
.kfz-page button:hover,
.agri-estate-filter-form button:hover,
.portal-search button:hover,
.jobs-search button:hover,
.portal-offer-row a:hover,
.job-card button:hover,
.job-detail-panel a:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(21,155,255,.42) !important;
}

.estate-result-card,
.agri-estate-card,
.job-card,
.portal-offer-row,
.kfz-result-card,
.agri-compare-row {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.estate-result-card:hover,
.agri-estate-card:hover,
.job-card:hover,
.kfz-result-card:hover,
.agri-compare-row:hover {
    transform: translateY(-5px);
    border-color: rgba(88,190,255,.62) !important;
    box-shadow: 0 32px 82px rgba(21,155,255,.20) !important;
}

.estate-card-image,
.estate-gallery,
.agri-estate-image,
.kfz-result-image {
    border-radius: 24px;
    overflow: hidden;
}

.estate-badge,
.estate-chip,
.estate-tags span,
.agri-estate-chip,
.insurance-badge,
.portal-rating,
.agri-offer-price em,
.agri-payment-tags span {
    border: 1px solid rgba(121,201,255,.20) !important;
    background: rgba(21,155,255,.12) !important;
    color: #dff4ff !important;
}

.estate-chip.active,
.estate-chip:hover,
.agri-estate-chip.active,
.agri-estate-chip:hover {
    border-color: rgba(88,190,255,.62) !important;
    background: linear-gradient(135deg, rgba(21,155,255,.26), rgba(33,27,134,.22)) !important;
    color: #fff !important;
}

.estate-keyfacts .highlight strong,
.estate-keyfacts strong,
.estate-card-facts strong,
.estate-spec-grid strong,
.estate-cost-grid strong,
.estate-contact-card strong,
.portal-offer-row strong,
.agri-offer-price strong,
.agri-shop-rating strong,
.agri-top-products b,
.job-card strong,
.job-detail-panel strong {
    color: #f8fbff !important;
}

.estate-keyfacts .highlight strong,
.agri-offer-price strong:first-child {
    background: linear-gradient(135deg, #159bff, #211b86) !important;
    color: #fff !important;
    border-radius: 8px;
    padding: 3px 8px;
}

.estate-section,
.estate-contact-card hr,
.estate-plus-box,
.portal-offers-head,
.portal-offer-row,
.agri-compare-table-head,
.agri-compare-row {
    border-color: rgba(154, 211, 255, .16) !important;
}

.portal-offers-head,
.agri-compare-table-head {
    background: rgba(255,255,255,.07) !important;
    color: #f8fbff !important;
}

.estate-map-panel {
    background: rgba(16, 32, 58, .70) !important;
}

.estate-map-button {
    background: rgba(255,255,255,.95) !important;
    color: #211b86 !important;
}

.estate-page a,
.insurance-page a,
.kfz-page a,
.agri-estate-style a,
.portal-shell a,
.jobs-shell a {
    color: #79c9ff;
}

@media (max-width: 720px) {
    .estate-filter-form,
    .agri-estate-filter-form,
    .portal-search,
    .jobs-search {
        border-radius: 24px;
    }
}

/* LIGHTER YOP PORTAL BACKGROUND FOR BETTER LOGO VISIBILITY */
body:has(.neo-home),
body:has(.estate-page),
body:has(.insurance-page),
body:has(.kfz-page),
body:has(.portal-shell),
body:has(.jobs-shell),
body:has(.agri-estate-style) {
    background: #eef6ff;
}

.neo-home,
.estate-page,
.insurance-page,
.kfz-page,
.agri-estate-style {
    background:
        radial-gradient(circle at 12% 8%, rgba(21,155,255,.18), transparent 30%),
        radial-gradient(circle at 88% 0%, rgba(33,27,134,.13), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #eef6ff 48%, #e9f2ff 100%) !important;
    color: #071527;
}

.portal-shell::before,
.jobs-shell::before {
    background:
        radial-gradient(circle at 12% 8%, rgba(21,155,255,.18), transparent 30%),
        radial-gradient(circle at 88% 0%, rgba(33,27,134,.13), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #eef6ff 48%, #e9f2ff 100%) !important;
}

.yop-global-nav,
.estate-topbar,
.insurance-topbar,
.kfz-topbar,
.agri-estate-topbar,
.portal-topbar,
.jobs-topbar,
.agri-filter-topbar,
.agri-header {
    background: rgba(255,255,255,.94) !important;
    border-bottom: 1px solid #dbe7f6 !important;
    box-shadow: 0 12px 34px rgba(33,27,134,.08) !important;
}

.yop-global-nav a,
.estate-nav a,
.insurance-topbar nav a,
.portal-topbar nav a,
.jobs-topbar nav a,
.agri-estate-nav a,
.kfz-topbar nav a {
    color: #071527 !important;
}

.yop-global-nav a:hover,
.estate-nav a:hover,
.insurance-topbar nav a:hover,
.portal-topbar nav a:hover,
.jobs-topbar nav a:hover,
.agri-estate-nav a:hover,
.kfz-topbar nav a:hover {
    color: #159bff !important;
}

.estate-page::before,
.insurance-page::before,
.kfz-page::before,
.agri-estate-style::before {
    opacity: .10;
    background-image:
        linear-gradient(rgba(21,155,255,.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21,155,255,.16) 1px, transparent 1px);
}

.neo-hero-copy,
.neo-spotlight-ad,
.neo-trust-panel,
.neo-side-ad,
.estate-filter-form,
.estate-contact-card,
.estate-result-card,
.estate-map-panel,
.estate-section,
.estate-gallery,
.insurance-hero-copy,
.insurance-quote-card,
.insurance-card,
.insurance-step,
.kfz-form-panel,
.kfz-trust-panel,
.kfz-result-card,
.agri-hero-panel,
.agri-estate-filter-form,
.agri-estate-card,
.agri-map-panel,
.portal-hero-card,
.portal-filter-card,
.portal-offers,
.jobs-hero,
.job-card,
.job-detail-panel,
.agri-top-products,
.agri-price-compare,
.agri-compare-header,
.agri-compare-table,
.agri-compare-row {
    border-color: #dbe7f6 !important;
    background:
        linear-gradient(145deg, rgba(255,255,255,.98), rgba(245,250,255,.92)) !important;
    color: #071527 !important;
    box-shadow: 0 22px 55px rgba(33,27,134,.10), inset 0 1px 0 rgba(255,255,255,.85) !important;
}

.neo-hero h1 {
    background: linear-gradient(135deg, #071527 8%, #159bff 50%, #211b86 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.neo-hero-copy > p:not(.neo-kicker),
.neo-ad-card span,
.neo-service-card p,
.neo-trust-list span,
.neo-side-ad span,
.neo-immo-card p,
.estate-sort,
.estate-card-body p,
.estate-card-body small,
.estate-keyfacts span,
.estate-section p,
.estate-note,
.estate-spec-grid span,
.estate-cost-grid span,
.insurance-page p,
.insurance-page li,
.kfz-page p,
.agri-estate-style p,
.portal-hero-card p,
.portal-filter-card label,
.jobs-hero p,
.job-card p,
.job-detail-panel p {
    color: #5f6f84 !important;
}

.neo-hero h1,
.neo-service-card strong,
.neo-service-card h2,
.neo-section-head h2,
.neo-trust-panel h2,
.neo-spotlight-ad h2,
.neo-side-ad strong,
.neo-immo-card h3,
.estate-results-hero h1,
.estate-detail-main h1,
.estate-section h2,
.insurance-hero h1,
.insurance-section h2,
.kfz-page h1,
.kfz-page h2,
.agri-estate-style h1,
.agri-estate-style h2,
.portal-hero-card h1,
.jobs-hero h1,
.job-card h2,
.estate-keyfacts strong,
.estate-card-facts strong,
.estate-spec-grid strong,
.estate-cost-grid strong,
.estate-contact-card strong,
.portal-offer-row strong,
.agri-offer-price strong,
.agri-shop-rating strong,
.agri-top-products b,
.job-card strong,
.job-detail-panel strong {
    color: #071527 !important;
}

.neo-kicker,
.estate-page a,
.insurance-page a,
.kfz-page a,
.agri-estate-style a,
.portal-shell a,
.jobs-shell a {
    color: #0b72d9 !important;
}

.neo-search,
.estate-filter-form,
.agri-estate-filter-form,
.portal-search,
.jobs-search {
    background: rgba(255,255,255,.72) !important;
    border-color: #dbe7f6 !important;
}

.neo-service-card,
.neo-immo-card {
    background: linear-gradient(145deg, #ffffff, #f4f9ff) !important;
    border-color: #dbe7f6 !important;
}

.neo-ad-card.blue { background: linear-gradient(135deg, #eaf6ff, #ffffff) !important; }
.neo-ad-card.gold { background: linear-gradient(135deg, #fff6df, #ffffff) !important; }
.neo-ad-card.green { background: linear-gradient(135deg, #e9fff4, #ffffff) !important; }
.neo-ad-card strong { color: #071527 !important; }
.neo-ad-card small { background: rgba(21,155,255,.10); color: #0b72d9; }

.neo-spotlight-ad span,
.neo-side-ad small {
    background: rgba(21,155,255,.10);
    color: #0b72d9;
}

/* BALANCED YOP PORTAL BACKGROUND - BETWEEN DARK AND LIGHT */
body:has(.neo-home),
body:has(.estate-page),
body:has(.insurance-page),
body:has(.kfz-page),
body:has(.portal-shell),
body:has(.jobs-shell),
body:has(.agri-estate-style) {
    background: #162b46;
}

.neo-home,
.estate-page,
.insurance-page,
.kfz-page,
.agri-estate-style {
    background:
        radial-gradient(circle at 12% 8%, rgba(21,155,255,.26), transparent 30%),
        radial-gradient(circle at 88% 0%, rgba(33,27,134,.16), transparent 28%),
        radial-gradient(circle at 52% 64%, rgba(33,27,134,.24), transparent 42%),
        linear-gradient(180deg, #1f3e61 0%, #17304f 46%, #132841 100%) !important;
    color: #f8fbff;
}

.portal-shell::before,
.jobs-shell::before {
    background:
        radial-gradient(circle at 12% 8%, rgba(21,155,255,.26), transparent 30%),
        radial-gradient(circle at 88% 0%, rgba(33,27,134,.16), transparent 28%),
        radial-gradient(circle at 52% 64%, rgba(33,27,134,.24), transparent 42%),
        linear-gradient(180deg, #1f3e61 0%, #17304f 46%, #132841 100%) !important;
}

.yop-global-nav,
.estate-topbar,
.insurance-topbar,
.kfz-topbar,
.agri-estate-topbar,
.portal-topbar,
.jobs-topbar,
.agri-filter-topbar,
.agri-header {
    background: rgba(232, 243, 255, .88) !important;
    border-bottom: 1px solid rgba(154,211,255,.42) !important;
    box-shadow: 0 16px 44px rgba(8,18,34,.18) !important;
    backdrop-filter: blur(18px);
}

.neo-hero-copy,
.neo-spotlight-ad,
.neo-trust-panel,
.neo-side-ad,
.estate-filter-form,
.estate-contact-card,
.estate-result-card,
.estate-map-panel,
.estate-section,
.estate-gallery,
.insurance-hero-copy,
.insurance-quote-card,
.insurance-card,
.insurance-step,
.kfz-form-panel,
.kfz-trust-panel,
.kfz-result-card,
.agri-hero-panel,
.agri-estate-filter-form,
.agri-estate-card,
.agri-map-panel,
.portal-hero-card,
.portal-filter-card,
.portal-offers,
.jobs-hero,
.job-card,
.job-detail-panel,
.agri-top-products,
.agri-price-compare,
.agri-compare-header,
.agri-compare-table,
.agri-compare-row {
    border-color: rgba(154,211,255,.26) !important;
    background:
        linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.075)),
        rgba(20, 39, 66, .82) !important;
    color: #f8fbff !important;
    box-shadow: 0 28px 74px rgba(4,10,20,.24), inset 0 1px 0 rgba(255,255,255,.10) !important;
}

.neo-search,
.estate-filter-form,
.agri-estate-filter-form,
.portal-search,
.jobs-search {
    background: rgba(255,255,255,.16) !important;
    border-color: rgba(154,211,255,.28) !important;
}

.neo-service-card,
.neo-immo-card {
    background:
        linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.07)),
        rgba(20, 39, 66, .84) !important;
    border-color: rgba(154,211,255,.24) !important;
}

.neo-ad-card.blue { background: linear-gradient(135deg, #1b73bd, #183553 76%) !important; }
.neo-ad-card.gold { background: linear-gradient(135deg, #9a6b1d, #183553 76%) !important; }
.neo-ad-card.green { background: linear-gradient(135deg, #15764e, #183553 76%) !important; }

.neo-hero h1 {
    background: linear-gradient(135deg, #ffffff 8%, #a7ddff 48%, #d8e9ff 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

.neo-hero-copy > p:not(.neo-kicker),
.neo-ad-card span,
.neo-service-card p,
.neo-trust-list span,
.neo-side-ad span,
.neo-immo-card p,
.estate-sort,
.estate-card-body p,
.estate-card-body small,
.estate-keyfacts span,
.estate-section p,
.estate-note,
.estate-spec-grid span,
.estate-cost-grid span,
.insurance-page p,
.insurance-page li,
.kfz-page p,
.agri-estate-style p,
.portal-hero-card p,
.portal-filter-card label,
.jobs-hero p,
.job-card p,
.job-detail-panel p {
    color: #c7d5e6 !important;
}

.neo-service-card strong,
.neo-service-card h2,
.neo-section-head h2,
.neo-trust-panel h2,
.neo-spotlight-ad h2,
.neo-side-ad strong,
.neo-immo-card h3,
.estate-results-hero h1,
.estate-detail-main h1,
.estate-section h2,
.insurance-hero h1,
.insurance-section h2,
.kfz-page h1,
.kfz-page h2,
.agri-estate-style h1,
.agri-estate-style h2,
.portal-hero-card h1,
.jobs-hero h1,
.job-card h2,
.estate-keyfacts strong,
.estate-card-facts strong,
.estate-spec-grid strong,
.estate-cost-grid strong,
.estate-contact-card strong,
.portal-offer-row strong,
.agri-offer-price strong,
.agri-shop-rating strong,
.agri-top-products b,
.job-card strong,
.job-detail-panel strong {
    color: #f8fbff !important;
}

.neo-ad-card strong {
    color: #ffffff !important;
}

.neo-kicker,
.estate-page a,
.insurance-page a,
.kfz-page a,
.agri-estate-style a,
.portal-shell a,
.jobs-shell a {
    color: #9ddeff !important;
}

.estate-page::before,
.insurance-page::before,
.kfz-page::before,
.agri-estate-style::before {
    opacity: .13;
    background-image:
        linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
}

/* DARKER TEXT FOR PILLS AND SECTION NAV LINKS */
.agri-estate-chip,
.estate-chip,
.neo-hero-badges span,
.neo-ad-card small,
.neo-spotlight-ad span,
.neo-side-ad small,
.agri-estate-nav a,
.estate-nav a,
.insurance-topbar nav a,
.portal-topbar nav a,
.jobs-topbar nav a,
.kfz-topbar nav a,
.agri-filter-topbar a,
.agri-header a {
    color: #071527 !important;
    text-shadow: none !important;
}

.agri-estate-chip strong,
.agri-estate-chip span,
.estate-chip strong,
.estate-chip span {
    color: #071527 !important;
}

.agri-estate-chip:hover,
.agri-estate-chip.active,
.estate-chip:hover,
.estate-chip.active {
    color: #071527 !important;
}

.agri-estate-chip:hover *,
.agri-estate-chip.active *,
.estate-chip:hover *,
.estate-chip.active * {
    color: #071527 !important;
}

.agri-estate-nav a:hover,
.estate-nav a:hover,
.insurance-topbar nav a:hover,
.portal-topbar nav a:hover,
.jobs-topbar nav a:hover,
.kfz-topbar nav a:hover,
.agri-filter-topbar a:hover,
.agri-header a:hover {
    color: #0b72d9 !important;
}

/* FORCE AGRI CHIP TEXT TO DARK */
.agri-chip-row .agri-chip,
.agri-chip-row a.agri-chip,
.agri-chip-row span.agri-chip,
.agri-chip-row .agri-chip:visited,
.agri-chip-row .agri-chip.active,
.agri-chip-row .agri-chip:hover,
.agri-chip-row .agri-chip:focus-visible {
    color: #071527 !important;
    background: rgba(255,255,255,.94) !important;
    border-color: rgba(7,21,39,.18) !important;
    text-shadow: none !important;
}

.agri-chip-row .agri-chip *,
.agri-chip-row .agri-chip.active *,
.agri-chip-row .agri-chip:hover * {
    color: #071527 !important;
    text-shadow: none !important;
}

.agri-chip-row .agri-chip:hover,
.agri-chip-row .agri-chip.active {
    box-shadow: 0 12px 28px rgba(21,155,255,.18) !important;
}

/* YOP AUTOS BRANCH */
body:has(.auto-page) {
    background: #162b46;
}

.auto-page {
    --auto-bg: #17304f;
    --auto-panel: rgba(20, 39, 66, .84);
    --auto-line: rgba(154,211,255,.28);
    --auto-text: #f8fbff;
    --auto-muted: #c7d5e6;
    --auto-blue: #159bff;
    --auto-deep: #211b86;
    min-height: 100vh;
    padding: 42px 24px 90px;
    color: var(--auto-text);
    background:
        radial-gradient(circle at 12% 8%, rgba(21,155,255,.26), transparent 30%),
        radial-gradient(circle at 88% 0%, rgba(33,27,134,.16), transparent 28%),
        linear-gradient(180deg, #1f3e61 0%, #17304f 46%, #132841 100%);
    font-family: "Segoe UI", Arial, sans-serif;
}

.auto-hero,
.auto-search-panel,
.auto-quick-row,
.auto-layout,
.auto-services {
    width: min(1320px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.auto-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: stretch;
}

.auto-hero-copy,
.auto-sell-card,
.auto-search-panel,
.auto-side-box,
.auto-card,
.auto-empty,
.auto-services article {
    border: 1px solid var(--auto-line);
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.075)), var(--auto-panel);
    box-shadow: 0 28px 74px rgba(4,10,20,.24), inset 0 1px 0 rgba(255,255,255,.10);
}

.auto-hero-copy {
    padding: clamp(34px, 5vw, 60px);
}

.auto-logo-link img {
    width: min(210px, 56vw);
    max-height: 100px;
    object-fit: contain;
    display: block;
    margin-bottom: 22px;
}

.auto-eyebrow {
    width: fit-content;
    margin: 0 0 12px;
    padding: 8px 12px;
    border: 1px solid rgba(121,201,255,.24);
    border-radius: 999px;
    background: rgba(21,155,255,.12);
    color: #9ddeff;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.auto-hero h1 {
    max-width: 820px;
    margin: 0 0 18px;
    font-size: clamp(48px, 7vw, 92px);
    line-height: .9;
    letter-spacing: -.08em;
    background: linear-gradient(135deg, #fff 8%, #a7ddff 48%, #d8e9ff 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.auto-hero p,
.auto-sell-card p,
.auto-side-box a,
.auto-card p,
.auto-price-box span,
.auto-services p,
.auto-results-head span {
    color: var(--auto-muted);
}

.auto-sell-card {
    padding: 30px;
    background:
        radial-gradient(circle at 90% 0%, rgba(255,178,31,.30), transparent 36%),
        linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.07)),
        var(--auto-panel);
}

.auto-sell-card span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-weight: 950;
}

.auto-sell-card h2 {
    margin: 24px 0 12px;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -.05em;
}

.auto-sell-card a,
.auto-price-box a,
.auto-search-form button {
    min-height: 54px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #159bff 0%, #246ce8 45%, #211b86 100%);
    color: #fff !important;
    box-shadow: 0 16px 34px rgba(21,155,255,.30);
    font-weight: 950;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
}

.auto-search-panel {
    margin-top: 24px;
    padding: 12px;
}

.auto-search-form {
    display: grid;
    grid-template-columns: repeat(5, minmax(130px, 1fr)) 190px;
    gap: 10px;
}

.auto-search-form label {
    color: #e8f4ff;
    font-weight: 900;
    font-size: 13px;
}

.auto-search-form input,
.auto-search-form select {
    width: 100%;
    height: 54px;
    margin-top: 7px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    background: rgba(248,251,255,.96);
    color: #071527;
    padding: 0 13px;
    font-weight: 750;
}

.auto-search-form button {
    align-self: end;
    cursor: pointer;
}

.auto-search-form-pro {
    grid-template-columns: repeat(5, minmax(160px, 1fr));
    gap: 16px;
    align-items: end;
}

.auto-search-form-pro button {
    min-width: 190px;
}

.auto-hero-stats,
.auto-sell-actions,
.auto-provider-line,
.auto-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.auto-hero-stats {
    margin-top: 24px;
}

.auto-hero-stats span,
.auto-active-filters strong,
.auto-active-filters a,
.auto-provider-line span,
.auto-trust-box li {
    border: 1px solid rgba(121,201,255,.24);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: #e8f4ff;
    font-weight: 850;
}

.auto-hero-stats span {
    padding: 10px 13px;
}

.auto-hero-stats strong {
    color: #fff;
}

.auto-sell-actions {
    margin-top: 20px;
}

.auto-sell-actions a:last-child {
    background: rgba(255,255,255,.96);
    color: #071527 !important;
    box-shadow: none;
}

.auto-active-filters {
    margin-top: 16px;
    padding: 0 4px 2px;
}

.auto-active-filters span {
    color: #cfe4f5;
    font-weight: 900;
}

.auto-active-filters strong,
.auto-active-filters a {
    min-height: 34px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.auto-active-filters a {
    background: rgba(255,255,255,.95);
    color: #071527 !important;
}

.auto-trust-box p {
    color: var(--auto-muted);
}

.auto-trust-box ul {
    list-style: none;
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
}

.auto-trust-box li {
    padding: 9px 11px;
    border-radius: 14px;
}

.auto-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.auto-card-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(7,21,39,.12), rgba(7,21,39,.68));
}

.auto-card-image::after {
    z-index: 1;
}

.auto-card-image span,
.auto-card-image strong {
    z-index: 2;
}

.auto-provider-line {
    margin-top: 14px;
}

.auto-provider-line span {
    min-height: 32px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
}

.auto-empty a {
    min-height: 46px;
    margin-top: 12px;
    padding: 0 16px;
    border-radius: 14px;
    background: rgba(255,255,255,.95);
    color: #071527 !important;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: 950;
}

.auto-quick-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.auto-pill {
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(7,21,39,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: #071527 !important;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: 950;
}

.auto-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    margin-top: 26px;
}

.auto-sidebar,
.auto-results {
    display: grid;
    gap: 16px;
    align-content: start;
}

.auto-side-box {
    padding: 22px;
}

.auto-side-box h2,
.auto-results-head h2,
.auto-card h3,
.auto-services h2 {
    margin: 0;
    color: #fff;
}

.auto-brand-list,
.auto-side-box {
    display: grid;
    gap: 10px;
}

.auto-side-box a {
    text-decoration: none;
    font-weight: 850;
}

.auto-results-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
}

.auto-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 190px;
    gap: 20px;
    padding: 16px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.auto-card:hover {
    transform: translateY(-5px);
    border-color: rgba(88,190,255,.62);
    box-shadow: 0 32px 82px rgba(21,155,255,.20);
}

.auto-card-image {
    min-height: 150px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(21,155,255,.38), rgba(33,27,134,.18)),
        linear-gradient(145deg, #dcecff, #ffffff);
    position: relative;
    overflow: hidden;
}

.auto-card-image::after {
    content: "AUTO";
    position: absolute;
    right: 16px;
    bottom: 12px;
    color: rgba(7,21,39,.18);
    font-size: 44px;
    font-weight: 950;
    letter-spacing: -.08em;
}

.auto-card-image span,
.auto-card-image strong {
    position: absolute;
    z-index: 1;
    left: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #071527;
    font-weight: 950;
}

.auto-card-image span { top: 14px; }
.auto-card-image strong { bottom: 14px; }
.auto-card-main {
    align-self: center;
}

.auto-card-main h3 {
    font-size: 24px;
    letter-spacing: -.04em;
}

.auto-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.auto-facts span {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #e8f4ff;
    font-weight: 850;
}

.auto-price-box {
    align-self: center;
    display: grid;
    gap: 10px;
    justify-items: end;
    text-align: right;
}

.auto-price-box strong {
    color: #fff;
    font-size: 28px;
    letter-spacing: -.04em;
}

.auto-empty {
    padding: 28px;
}

.auto-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.auto-services article {
    padding: 24px;
}

.auto-services span {
    color: #9ddeff;
    font-weight: 950;
}

@media (max-width: 1100px) {
    .auto-hero,
    .auto-layout,
    .auto-services {
        grid-template-columns: 1fr 1fr;
    }
    .auto-hero-copy,
    .auto-search-panel,
    .auto-results {
        grid-column: 1 / -1;
    }
    .auto-search-form,
    .auto-card {
        grid-template-columns: 1fr 1fr;
    }
    .auto-price-box {
        justify-items: start;
        text-align: left;
    }
}

@media (max-width: 720px) {
    .auto-page {
        padding: 26px 14px 70px;
    }
    .auto-hero,
    .auto-search-form,
    .auto-layout,
    .auto-card,
    .auto-services {
        grid-template-columns: 1fr;
    }
    .auto-hero h1 {
        font-size: 48px;
    }
}

/* SLIGHTLY LIGHTER CARDS - KEEP MID-DARK YOP LOOK */
.neo-hero-copy,
.neo-spotlight-ad,
.neo-trust-panel,
.neo-side-ad,
.neo-service-card,
.neo-immo-card,
.estate-filter-form,
.estate-contact-card,
.estate-result-card,
.estate-map-panel,
.estate-section,
.estate-gallery,
.insurance-hero-copy,
.insurance-quote-card,
.insurance-card,
.insurance-step,
.kfz-form-panel,
.kfz-trust-panel,
.kfz-result-card,
.agri-hero-panel,
.agri-estate-filter-form,
.agri-estate-card,
.agri-map-panel,
.portal-hero-card,
.portal-filter-card,
.portal-offers,
.jobs-hero,
.job-card,
.job-detail-panel,
.agri-top-products,
.agri-price-compare,
.agri-compare-header,
.agri-compare-table,
.agri-compare-row,
.auto-hero-copy,
.auto-sell-card,
.auto-search-panel,
.auto-side-box,
.auto-card,
.auto-empty,
.auto-services article {
    background:
        linear-gradient(145deg, rgba(255,255,255,.25), rgba(255,255,255,.12)),
        rgba(44, 68, 98, .88) !important;
    border-color: rgba(184, 224, 255, .34) !important;
    box-shadow: 0 24px 64px rgba(4,10,20,.20), inset 0 1px 0 rgba(255,255,255,.16) !important;
}

.neo-service-card.large,
.auto-sell-card,
.neo-spotlight-ad {
    background:
        radial-gradient(circle at 86% 6%, rgba(21,155,255,.24), transparent 34%),
        linear-gradient(145deg, rgba(255,255,255,.26), rgba(255,255,255,.13)),
        rgba(48, 74, 106, .90) !important;
}

.neo-ad-card.blue,
.neo-ad-card.gold,
.neo-ad-card.green {
    filter: brightness(1.08) saturate(1.03);
}

.neo-trust-list span,
.auto-facts span {
    background: rgba(255,255,255,.16) !important;
}

/* YOP-IMMO ACCOUNTS */
.estate-account-shell,
.estate-dashboard-shell,
.estate-editor-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 56px 24px 90px;
}

.estate-account-shell {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 28px;
    align-items: start;
}

.estate-account-shell-narrow {
    max-width: 560px;
    display: block;
}

.estate-account-card,
.estate-dashboard-card,
.estate-editor-card,
.estate-dashboard-hero,
.estate-editor-hero {
    border: 1px solid var(--yop-line);
    border-radius: 28px;
    background: linear-gradient(145deg, #ffffff, #f6fbff);
    box-shadow: 0 22px 60px rgba(33, 27, 134, 0.10);
}

.estate-account-card,
.estate-dashboard-card,
.estate-editor-card {
    padding: 28px;
}

.estate-account-intro {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: radial-gradient(circle at 18% 15%, rgba(21,155,255,0.26), transparent 34%), linear-gradient(135deg, #071527, #193b65 62%, #211b86);
    color: #fff;
}

.estate-account-intro h1,
.estate-account-intro p,
.estate-account-intro .eyebrow {
    color: #fff;
}

.estate-account-card h1,
.estate-dashboard-hero h1,
.estate-editor-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.estate-account-card h2,
.estate-dashboard-card h2,
.estate-editor-card h2 {
    margin: 0 0 18px;
    color: var(--yop-ink);
}

.estate-role-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 24px;
}

.estate-role-grid span {
    padding: 12px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.24);
    font-weight: 800;
}

.estate-form,
.estate-editor-form {
    display: grid;
    gap: 16px;
}

.estate-form label,
.estate-form-grid label,
.estate-upload-box {
    display: grid;
    gap: 7px;
    color: var(--yop-ink);
    font-weight: 800;
}

.estate-form input,
.estate-form select,
.estate-form textarea,
.estate-form-grid input,
.estate-form-grid select,
.estate-form-grid textarea,
.estate-upload-box input {
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    border: 1px solid var(--yop-line);
    border-radius: 14px;
    padding: 12px 14px;
    background: #fff;
    color: var(--yop-ink);
    font: inherit;
}

.estate-form textarea,
.estate-form-grid textarea {
    min-height: 110px;
    resize: vertical;
}

.estate-form button,
.estate-primary-link,
.estate-editor-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: 14px;
    background: var(--yop-gradient);
    color: #fff !important;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.estate-form-error {
    color: #c62828;
    font-weight: 700;
}

.estate-account-switch {
    margin: 18px 0 0;
    color: var(--yop-muted);
}

.estate-dashboard-hero,
.estate-editor-hero {
    padding: 34px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.estate-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 22px;
}

.estate-messages {
    margin-bottom: 18px;
}

.estate-messages p {
    margin: 0 0 8px;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--yop-sky);
    color: var(--yop-indigo);
    font-weight: 800;
}

.estate-table {
    display: grid;
    gap: 8px;
}

.estate-table > a,
.estate-table-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 100px auto;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--yop-line);
    text-decoration: none;
    color: var(--yop-ink) !important;
}

.estate-table-row > a:first-child,
.estate-inline-action {
    color: var(--yop-blue) !important;
    font-weight: 800;
    text-decoration: none;
}

.estate-inline-action {
    justify-self: end;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(34, 146, 231, .12);
}

.estate-existing-images,
.auto-existing-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.estate-existing-images img,
.auto-existing-images img {
    width: 100%;
    height: 96px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(184,224,255,.34);
}

.estate-editor-card {
    margin-bottom: 20px;
}

.estate-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.estate-form-grid .wide {
    grid-column: span 3;
}

.estate-check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.estate-check-grid label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 999px;
    background: var(--yop-sky);
    color: var(--yop-indigo);
    font-weight: 900;
}

.estate-upload-box {
    padding: 18px;
    border: 1px dashed var(--yop-blue);
    border-radius: 20px;
    background: #fff;
}

.estate-editor-actions {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    align-items: center;
}

.estate-editor-actions a {
    color: var(--yop-muted);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 900px) {
    .estate-account-shell,
    .estate-dashboard-grid,
    .estate-dashboard-hero,
    .estate-editor-hero,
    .estate-form-grid,
    .estate-check-grid,
    .estate-table > a,
    .estate-table-row {
        grid-template-columns: 1fr;
    }

    .estate-dashboard-hero,
    .estate-editor-hero {
        align-items: stretch;
    }

    .estate-form-grid .wide {
        grid-column: span 1;
    }
}

/* PROFESSIONAL GLOBAL FOOTER */
.yop-global-footer {
    position: relative;
    z-index: 5;
    margin-top: 0;
    padding: 52px max(24px, calc((100vw - 1180px) / 2)) 24px;
    background:
        radial-gradient(circle at 12% 8%, rgba(21,155,255,.20), transparent 34%),
        linear-gradient(135deg, #eef7ff 0%, #f8fbff 44%, #eef1ff 100%);
    border-top: 1px solid rgba(21,155,255,.20);
    color: #071527;
}

.yop-footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 760px;
    margin-bottom: 34px;
}

.yop-footer-brand img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    border-radius: 24px;
    background: rgba(255,255,255,.68);
    box-shadow: 0 16px 40px rgba(21,155,255,.14);
}

.yop-footer-brand strong {
    display: block;
    font-size: clamp(26px, 4vw, 42px);
    letter-spacing: -.05em;
    color: #071527;
}

.yop-footer-brand p,
.yop-footer-columns span,
.yop-footer-bottom {
    color: #526174;
}

.yop-footer-columns {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 22px;
}

.yop-footer-columns section {
    min-height: 160px;
    padding: 24px;
    border: 1px solid rgba(21,155,255,.20);
    border-radius: 26px;
    background: rgba(255,255,255,.62);
    box-shadow: 0 18px 48px rgba(33,27,134,.08);
}

.yop-footer-columns h2 {
    margin: 0 0 14px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #211b86;
}

.yop-footer-columns a,
.yop-footer-bottom a {
    display: block;
    margin: 9px 0;
    color: #006ef5;
    font-weight: 800;
    text-decoration: none;
}

.yop-footer-columns a:hover,
.yop-footer-bottom a:hover {
    color: #211b86;
}

.yop-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(21,155,255,.16);
    font-size: 14px;
}

.yop-footer-bottom a {
    display: inline;
}

.neo-contact-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    max-width: 1320px;
    margin: 28px auto 0;
    padding: 28px 32px;
    border: 1px solid rgba(184,224,255,.34);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.28), rgba(255,255,255,.14)),
        rgba(48,74,106,.90);
    box-shadow: 0 24px 64px rgba(4,10,20,.20);
    color: #fff;
}

.neo-contact-strip span {
    color: #9edcff;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

.neo-contact-strip strong {
    display: block;
    margin-top: 6px;
    font-size: clamp(24px, 4vw, 42px);
    letter-spacing: -.04em;
}

.neo-contact-strip p {
    margin: 6px 0 0;
    color: rgba(255,255,255,.78);
}

.neo-contact-strip a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #159bff, #211b86);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(21,155,255,.24);
}

@media (max-width: 820px) {
    .yop-footer-brand,
    .neo-contact-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .yop-footer-columns {
        grid-template-columns: 1fr;
    }

    .neo-contact-strip a {
        width: 100%;
    }
}

/* YOP-AUTO ACCOUNTS AND LISTINGS */
.auto-account-page,
.auto-dashboard-page,
.auto-editor-page,
.auto-detail-page {
    padding: 46px 24px 90px;
}

.auto-account-shell {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 28px;
    align-items: start;
}

.auto-account-shell.narrow {
    max-width: 560px;
    display: block;
}

.auto-account-intro,
.auto-account-card,
.auto-dashboard-hero,
.auto-dashboard-grid article,
.auto-dashboard-list,
.auto-editor-hero,
.auto-editor-card,
.auto-detail-gallery,
.auto-detail-title aside,
.auto-detail-layout article,
.auto-detail-layout aside {
    border: 1px solid rgba(184,224,255,.34);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255,255,255,.26), rgba(255,255,255,.13)), rgba(44,68,98,.90);
    box-shadow: 0 24px 64px rgba(4,10,20,.20), inset 0 1px 0 rgba(255,255,255,.16);
    color: #fff;
}

.auto-account-intro,
.auto-account-card,
.auto-dashboard-hero,
.auto-dashboard-grid article,
.auto-dashboard-list,
.auto-editor-hero,
.auto-editor-card,
.auto-detail-title aside,
.auto-detail-layout article,
.auto-detail-layout aside {
    padding: 30px;
}

.auto-account-intro img,
.auto-dashboard-hero img,
.auto-form-logo {
    width: 142px;
    height: auto;
    margin-bottom: 22px;
}

.auto-account-intro h1,
.auto-account-card h1,
.auto-dashboard-hero h1,
.auto-editor-hero h1,
.auto-detail-title h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -.05em;
}

.auto-account-card h2,
.auto-dashboard-grid h2,
.auto-dashboard-list h2,
.auto-editor-card h2,
.auto-detail-layout h2 {
    margin-top: 0;
    color: #fff;
}

.auto-role-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.auto-role-row span,
.auto-detail-facts span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: #d8f0ff;
    font-weight: 900;
}

.auto-pro-form,
.auto-editor-form {
    display: grid;
    gap: 16px;
}

.auto-editor-hint {
    margin: -4px 0 18px;
    color: #cfe7fb;
    font-weight: 800;
}

.auto-pro-form label,
.auto-form-grid label,
.auto-upload-box {
    display: grid;
    gap: 7px;
    color: #d8f0ff;
    font-weight: 900;
}

.auto-pro-form input,
.auto-pro-form select,
.auto-form-grid input,
.auto-form-grid select,
.auto-form-grid textarea,
.auto-upload-box input {
    width: 100%;
    box-sizing: border-box;
    min-height: 50px;
    border: 1px solid rgba(184,224,255,.34);
    border-radius: 15px;
    padding: 12px 14px;
    background: rgba(255,255,255,.95);
    color: #071527;
    font: inherit;
}

.auto-pro-form textarea,
.auto-form-grid textarea {
    min-height: 120px;
    resize: vertical;
}

.auto-pro-form button,
.auto-dashboard-hero a,
.auto-dashboard-list a,
.auto-editor-actions button,
.auto-editor-hero a,
.auto-detail-title aside a,
.auto-detail-layout aside a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #159bff, #211b86);
    color: #fff !important;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.auto-pro-form small,
.auto-form-error {
    color: #ffd6d6;
    font-weight: 800;
}

.auto-dashboard-hero,
.auto-editor-hero,
.auto-detail-title {
    max-width: 1180px;
    margin: 0 auto 24px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.auto-dashboard-grid,
.auto-detail-layout {
    max-width: 1180px;
    margin: 0 auto 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.auto-dashboard-list,
.auto-editor-form,
.auto-detail-hero {
    max-width: 1180px;
    margin: 0 auto;
}

.auto-dashboard-list > a,
.auto-dashboard-list > p + a {
    margin-top: 10px;
}

.auto-dashboard-list > a:not(:last-child) {
    display: grid;
    grid-template-columns: 1fr 150px 120px;
    gap: 12px;
    justify-content: stretch;
    border-radius: 18px;
    background: rgba(255,255,255,.12);
    margin-bottom: 10px;
}

.auto-dashboard-row {
    display: grid;
    grid-template-columns: 1fr 150px 120px auto;
    gap: 12px;
    align-items: center;
    border-radius: 18px;
    background: rgba(255,255,255,.12);
    margin-bottom: 10px;
    padding: 12px;
}

.auto-dashboard-row > a:first-child,
.auto-inline-action,
.auto-owner-edit {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.auto-dashboard-row > a:first-child {
    display: block;
    min-height: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    justify-content: flex-start;
}

.auto-inline-action,
.auto-owner-edit {
    justify-self: end;
    padding: 10px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--yop-blue), var(--yop-navy));
}

.auto-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.auto-form-grid .wide {
    grid-column: span 3;
}

.auto-editor-card {
    margin-bottom: 20px;
}

.auto-upload-box {
    padding: 18px;
    border: 1px dashed #9edcff;
    border-radius: 20px;
}

.auto-editor-actions {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    align-items: center;
}

.auto-editor-actions a,
.auto-detail-hero > a {
    color: #9edcff;
    font-weight: 900;
    text-decoration: none;
}

.auto-detail-gallery {
    overflow: hidden;
    min-height: 360px;
    display: grid;
    place-items: center;
}

.auto-detail-gallery img {
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: cover;
}

.auto-detail-placeholder {
    display: grid;
    place-items: center;
    gap: 14px;
    color: #d8f0ff;
    font-weight: 900;
}

.auto-detail-placeholder img {
    width: 180px;
    height: auto;
}

.auto-detail-title aside {
    min-width: 280px;
    display: grid;
    gap: 12px;
}

.auto-detail-title aside strong {
    font-size: 34px;
}

.auto-detail-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 28px;
}

.auto-messages {
    max-width: 1180px;
    margin: 0 auto 18px;
}

.auto-messages p {
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(21,155,255,.18);
    color: #fff;
    font-weight: 900;
}

@media (max-width: 900px) {
    .auto-account-shell,
    .auto-dashboard-hero,
    .auto-editor-hero,
    .auto-dashboard-grid,
    .auto-detail-layout,
    .auto-detail-title,
    .auto-form-grid,
    .auto-dashboard-list > a:not(:last-child),
    .auto-dashboard-row {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .auto-form-grid .wide {
        grid-column: span 1;
    }
}

/* PWA OFFLINE PAGE */
.pwa-offline-page {
    min-height: 72vh;
    display: grid;
    place-items: center;
    padding: 64px 24px;
    background:
        radial-gradient(circle at 20% 18%, rgba(21,155,255,.24), transparent 34%),
        linear-gradient(135deg, #102f4a, #1b3658 54%, #20206f);
}

.pwa-offline-card {
    width: min(560px, 100%);
    padding: 42px;
    border: 1px solid rgba(184,224,255,.34);
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(255,255,255,.24), rgba(255,255,255,.12)), rgba(44,68,98,.88);
    box-shadow: 0 28px 80px rgba(4,10,20,.28);
    color: #fff;
    text-align: center;
}

.pwa-offline-card img {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    margin-bottom: 20px;
}

.pwa-offline-card h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1;
    letter-spacing: -.05em;
}

.pwa-offline-card p {
    color: rgba(255,255,255,.78);
}

.pwa-offline-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-top: 16px;
    padding: 0 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #159bff, #211b86);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
}

/* Immo detail: keep content directly on the blue background, not inside grey cards. */
.estate-detail-page .estate-section,
.estate-detail-page .estate-plus-box {
    background: transparent !important;
    border-width: 0 0 1px !important;
    border-style: solid !important;
    border-color: rgba(184, 224, 255, .42) !important;
    box-shadow: none !important;
    color: #f8fbff !important;
    padding: 30px 0 !important;
}

.estate-detail-page .estate-section h2,
.estate-detail-page .estate-section p,
.estate-detail-page .estate-note,
.estate-detail-page .estate-plus-box dt,
.estate-detail-page .estate-cost-grid span,
.estate-detail-page .estate-spec-grid span {
    color: rgba(248, 251, 255, .82) !important;
}

.estate-detail-page .estate-section h2,
.estate-detail-page .estate-cost-grid strong,
.estate-detail-page .estate-spec-grid strong {
    color: #fff !important;
}

.estate-detail-page .estate-cost-grid,
.estate-detail-page .estate-spec-grid,
.estate-detail-page .estate-internet-box {
    background: transparent !important;
    border-color: rgba(184, 224, 255, .42) !important;
    box-shadow: none !important;
}

.estate-detail-page .estate-tags span {
    background: rgba(121, 201, 255, .16) !important;
    border-color: rgba(184, 224, 255, .35) !important;
    color: #e9f7ff !important;
}

/* Immo detail hard reset: no grey cards, text sits directly on the blue page background. */
.estate-detail-page .estate-detail-main > .estate-section,
.estate-detail-page .estate-detail-main > .estate-plus-box,
.estate-detail-page .estate-detail-main > .estate-spec-grid,
.estate-detail-page .estate-detail-main > .estate-cost-grid,
.estate-detail-page .estate-detail-main > .estate-internet-box {
    background: none !important;
    background-color: transparent !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(184, 224, 255, .42) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.estate-detail-page .estate-detail-main > .estate-section {
    margin: 0 !important;
    padding: 30px 0 !important;
}

.estate-detail-page .estate-detail-main > .estate-plus-box {
    margin: 0 !important;
    padding: 30px 0 !important;
}

.estate-detail-page .estate-detail-main h2,
.estate-detail-page .estate-detail-main p,
.estate-detail-page .estate-detail-main span,
.estate-detail-page .estate-detail-main dt,
.estate-detail-page .estate-detail-main dd,
.estate-detail-page .estate-detail-main strong {
    text-shadow: none !important;
}

/* Yop-Immo contact flow */
.estate-contact-flow-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(42, 154, 246, .24), transparent 34rem),
        linear-gradient(135deg, #0d2c49 0%, #112f58 45%, #14216c 100%);
    color: #071427;
}

.estate-contact-flow-shell,
.estate-contact-success-shell,
.estate-inbox-shell {
    width: min(1060px, calc(100% - 32px));
    margin: 0 auto;
    padding: 56px 0 80px;
}

.estate-contact-flow-card,
.estate-contact-success-card {
    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(190, 214, 235, .8);
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(1, 15, 43, .26);
    padding: 34px;
}

.estate-contact-flow-head {
    border-bottom: 1px solid rgba(18, 47, 88, .14);
    padding-bottom: 26px;
    margin-bottom: 26px;
}

.estate-contact-flow-head h1,
.estate-contact-success-card h1 {
    margin: 8px 0 22px;
    color: #071427;
    font-size: clamp(2rem, 4vw, 3.4rem);
    letter-spacing: -.05em;
}

.estate-provider-box {
    display: grid;
    gap: 6px;
    background: var(--yop-soft-gradient);
    border: 1px solid rgba(21, 155, 255, .24);
    border-radius: 20px;
    padding: 20px;
}

.estate-provider-box span,
.estate-required-note,
.estate-contact-legal,
.estate-login-hint,
.estate-field small {
    color: #506178;
}

.estate-provider-box strong {
    color: #071427;
    font-size: 1.18rem;
}

.estate-provider-box em {
    width: fit-content;
    border-radius: 999px;
    background: var(--yop-gradient);
    color: #fff;
    font-style: normal;
    font-weight: 900;
    padding: 6px 10px;
}

.estate-login-hint a,
.estate-inbox-card a {
    color: #0672ff;
    font-weight: 900;
    text-decoration: none;
}

.estate-contact-section {
    border-bottom: 1px solid rgba(18, 47, 88, .14);
    padding: 26px 0;
}

.estate-contact-section h2 {
    margin: 0 0 18px;
    color: #071427;
    font-size: 1.35rem;
}

.estate-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.estate-field,
.estate-field-wide {
    display: grid;
    gap: 8px;
    color: #071427;
    font-weight: 900;
}

.estate-field-wide {
    width: 100%;
}

.estate-field input,
.estate-field select,
.estate-field textarea,
.estate-field-wide textarea {
    width: 100%;
    border: 1px solid #c9d4df;
    border-radius: 14px;
    background: #fff;
    color: #071427;
    font: inherit;
    font-weight: 650;
    padding: 14px 16px;
    outline: 0;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.estate-field textarea,
.estate-field-wide textarea {
    min-height: 150px;
    resize: vertical;
}

.estate-field input:focus,
.estate-field select:focus,
.estate-field textarea:focus,
.estate-field-wide textarea:focus {
    border-color: #2095f2;
    box-shadow: 0 0 0 4px rgba(32, 149, 242, .14);
}

.estate-field em,
.estate-field-wide em,
.estate-form-error {
    color: #bb2230;
    font-style: normal;
    font-weight: 800;
}

.estate-check-service {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--yop-sky);
    border: 1px solid rgba(21, 155, 255, .18);
    border-radius: 14px;
    color: var(--yop-ink);
    font-weight: 800;
    margin: 12px 0;
    padding: 18px;
}

.estate-check-service input {
    width: 22px;
    height: 22px;
    accent-color: var(--yop-blue-deep);
}

.estate-contact-submit {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 18px;
    background: var(--yop-gradient);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 1000;
    margin-top: 26px;
    box-shadow: 0 18px 36px rgba(33, 38, 161, .24);
}

.estate-message-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    border-radius: 12px;
    background: var(--yop-gradient);
    color: #fff !important;
    font-weight: 1000;
    text-decoration: none;
    box-shadow: 0 16px 32px rgba(33, 38, 161, .22);
}

.estate-message-button:hover {
    transform: translateY(-1px);
}

.estate-contact-legal {
    margin: 16px 0 0;
    font-size: .92rem;
}

.estate-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.estate-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid rgba(18, 47, 88, .2);
    border-radius: 999px;
    color: #071427;
    font-weight: 1000;
    padding: 0 20px;
    text-decoration: none;
}

.estate-inbox-list {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.estate-inbox-card {
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(190, 214, 235, .8);
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(1, 15, 43, .18);
    color: #071427;
    padding: 26px;
}

.estate-inbox-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(18, 47, 88, .12);
    padding-bottom: 18px;
}

.estate-inbox-head h2 {
    margin: 4px 0 6px;
}

.estate-inbox-date {
    color: #607083;
    font-weight: 800;
}

.estate-inbox-status {
    border-radius: 999px;
    background: var(--yop-sky);
    color: var(--yop-indigo);
    font-weight: 1000;
    padding: 7px 12px;
}

.estate-inbox-message {
    color: #24364d;
    line-height: 1.65;
    margin: 18px 0;
}

.estate-inbox-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.estate-inbox-details div {
    border-radius: 14px;
    background: #f5f8fb;
    padding: 14px;
}

.estate-inbox-details dt {
    color: #607083;
    font-size: .86rem;
    font-weight: 900;
}

.estate-inbox-details dd {
    margin: 5px 0 0;
    font-weight: 900;
}

@media (max-width: 760px) {
    .estate-contact-flow-shell,
    .estate-contact-success-shell,
    .estate-inbox-shell {
        width: min(100% - 20px, 1060px);
        padding: 28px 0 54px;
    }

    .estate-contact-flow-card,
    .estate-contact-success-card,
    .estate-inbox-card {
        border-radius: 20px;
        padding: 22px;
    }

    .estate-contact-grid,
    .estate-inbox-details {
        grid-template-columns: 1fr;
    }

    .estate-inbox-head {
        display: grid;
    }
}

/* Yop-Profis */
.profis-page {
    min-height: 100vh;
    background: radial-gradient(circle at 18% 12%, rgba(71, 190, 255, .24), transparent 34%), linear-gradient(135deg, #1b4468 0%, #17345b 44%, #111f49 100%);
    color: #f7fbff;
    padding: 54px clamp(18px, 5vw, 72px) 80px;
}

.profis-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
    gap: 28px;
    align-items: stretch;
    max-width: 1280px;
    margin: 0 auto;
}

.profis-hero-copy,
.profis-hero-card,
.profis-result-card,
.profis-business-panel {
    border: 1px solid rgba(169, 215, 255, .34);
    background: rgba(218, 235, 249, .13);
    box-shadow: 0 24px 70px rgba(0, 11, 35, .24);
    backdrop-filter: blur(16px);
}

.profis-hero-copy {
    border-radius: 34px;
    padding: clamp(28px, 5vw, 58px);
}

.profis-hero-copy h1 {
    max-width: 780px;
    margin: 10px 0 16px;
    font-size: clamp(2.4rem, 5vw, 5.2rem);
    line-height: .96;
    letter-spacing: -0.07em;
}

.profis-hero-copy p {
    max-width: 720px;
    color: #d8ecff;
    font-size: 1.08rem;
    line-height: 1.7;
}

.profis-search {
    display: grid;
    grid-template-columns: 1.25fr .85fr .75fr auto;
    gap: 12px;
    margin-top: 28px;
    padding: 14px;
    border-radius: 26px;
    background: rgba(244, 249, 255, .18);
    border: 1px solid rgba(255, 255, 255, .18);
}

.profis-search label {
    display: grid;
    gap: 8px;
    color: #d9eeff;
    font-size: .82rem;
    font-weight: 900;
}

.profis-search input,
.profis-search select {
    width: 100%;
    min-height: 54px;
    border: 1px solid rgba(203, 226, 247, .7);
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    color: #071427;
    font: inherit;
    font-weight: 800;
    padding: 0 16px;
    box-sizing: border-box;
}

.profis-search button,
.profis-result-card a,
.profis-business-panel a {
    min-height: 54px;
    border: 0;
    border-radius: 16px;
    background: var(--yop-gradient);
    color: #fff;
    font: inherit;
    font-weight: 1000;
    padding: 0 22px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 38px rgba(33, 38, 161, .24);
}

.profis-hero-card {
    border-radius: 32px;
    padding: 30px;
    display: grid;
    align-content: center;
    gap: 18px;
}

.profis-hero-card img {
    width: 118px;
    height: auto;
}

.profis-hero-card strong {
    font-size: 1.45rem;
    line-height: 1.2;
}

.profis-hero-card span {
    color: #d8ecff;
    line-height: 1.6;
}

.profis-stats,
.profis-section,
.profis-flow,
.profis-results,
.profis-business-panel {
    max-width: 1280px;
    margin: 28px auto 0;
}

.profis-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.profis-stats div,
.profis-category-card,
.profis-flow div {
    border: 1px solid rgba(169, 215, 255, .28);
    border-radius: 24px;
    background: rgba(230, 242, 252, .11);
    padding: 22px;
}

.profis-stats strong {
    display: block;
    font-size: 2rem;
}

.profis-stats span,
.profis-category-card small,
.profis-flow p,
.profis-result-card p {
    color: #d8ecff;
}

.profis-section-head { margin-bottom: 18px; }
.profis-section-head h2 { margin: 6px 0 0; font-size: clamp(1.8rem, 3vw, 3.2rem); letter-spacing: -0.04em; }

.profis-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.profis-category-card {
    color: #fff;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.profis-category-card:hover { transform: translateY(-4px); background: rgba(230, 242, 252, .18); }

.profis-category-card span {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .9);
    color: #11285d;
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.profis-category-card strong,
.profis-category-card small { display: block; }
.profis-category-card strong { font-size: 1.1rem; margin-bottom: 8px; }

.profis-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.profis-flow span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--yop-gradient);
    font-weight: 1000;
}

.profis-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.profis-result-card {
    border-radius: 28px;
    padding: 24px;
}

.profis-result-top { display: flex; gap: 14px; align-items: center; }
.profis-result-top > span {
    display: inline-flex;
    width: 58px;
    height: 58px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .95);
    color: #122f58;
    font-weight: 1000;
}
.profis-result-top h3 { margin: 0 0 4px; }
.profis-result-top p { margin: 0; }

.profis-rating { margin: 18px 0; font-weight: 1000; color: #aee6ff; }
.profis-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.profis-tags span {
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(174, 220, 255, .24);
    padding: 7px 10px;
    font-size: .86rem;
    font-weight: 900;
}

.profis-empty { grid-column: 1 / -1; }

.profis-business-panel {
    border-radius: 30px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.profis-business-panel h2 { margin: 6px 0 8px; }
.profis-business-panel p { max-width: 760px; color: #d8ecff; }

@media (max-width: 980px) {
    .profis-hero,
    .profis-search,
    .profis-stats,
    .profis-category-grid,
    .profis-flow,
    .profis-card-grid,
    .profis-business-panel { grid-template-columns: 1fr; }
    .profis-business-panel { align-items: stretch; }
}
/* Yop-Reise */
.reise-page {
    min-height: 100vh;
    color: #f7fbff;
    background: radial-gradient(circle at 18% 10%, rgba(82, 199, 255, .28), transparent 34%), linear-gradient(135deg, #1b4468 0%, #17345b 48%, #111f49 100%);
    padding: 54px clamp(18px, 5vw, 72px) 82px;
}

.reise-hero,
.reise-section,
.reise-trust-panel,
.reise-tabs {
    max-width: 1280px;
    margin: 0 auto;
}

.reise-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
    gap: 28px;
    align-items: stretch;
}

.reise-hero-copy,
.reise-deal-card,
.reise-offer-card,
.reise-trust-panel {
    border: 1px solid rgba(169, 215, 255, .34);
    background: rgba(218, 235, 249, .13);
    box-shadow: 0 24px 70px rgba(0, 11, 35, .24);
    backdrop-filter: blur(16px);
}

.reise-hero-copy {
    border-radius: 34px;
    padding: clamp(28px, 5vw, 58px);
}

.reise-brand-logo {
    width: min(240px, 58vw);
    height: auto;
    display: block;
    margin-bottom: 18px;
}

.reise-hero-copy h1 {
    max-width: 780px;
    margin: 10px 0 16px;
    font-size: clamp(2.4rem, 5vw, 5.2rem);
    line-height: .96;
    letter-spacing: -0.07em;
}

.reise-hero-copy p,
.reise-deal-card p,
.reise-destination-card small,
.reise-offer-body p,
.reise-price-box span,
.reise-trust-grid span {
    color: #d8ecff;
}

.reise-search {
    display: grid;
    grid-template-columns: 1.2fr .85fr .75fr .75fr auto;
    gap: 12px;
    margin-top: 28px;
    padding: 14px;
    border-radius: 26px;
    background: rgba(244, 249, 255, .18);
    border: 1px solid rgba(255, 255, 255, .18);
}

.reise-search label {
    display: grid;
    gap: 8px;
    color: #d9eeff;
    font-size: .82rem;
    font-weight: 900;
}

.reise-search input,
.reise-search select {
    width: 100%;
    min-height: 54px;
    border: 1px solid rgba(203, 226, 247, .7);
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    color: #071427;
    font: inherit;
    font-weight: 800;
    padding: 0 16px;
    box-sizing: border-box;
}

.reise-search button,
.reise-price-box a,
.reise-tabs a {
    min-height: 54px;
    border: 0;
    border-radius: 16px;
    background: var(--yop-gradient);
    color: #fff;
    font: inherit;
    font-weight: 1000;
    padding: 0 22px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.reise-deal-card {
    border-radius: 32px;
    padding: 30px;
    display: grid;
    align-content: center;
    gap: 14px;
}

.reise-deal-card span {
    width: fit-content;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .9);
    color: #11285d;
    font-weight: 1000;
}

.reise-deal-card strong {
    font-size: 1.6rem;
    line-height: 1.18;
}

.reise-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.reise-tabs a {
    min-height: 44px;
    background: rgba(255, 255, 255, .92);
    color: #071427;
    box-shadow: 0 14px 32px rgba(0, 11, 35, .14);
}

.reise-tabs a:hover {
    background: var(--yop-gradient);
    color: #fff;
}

.reise-section,
.reise-trust-panel {
    margin-top: 36px;
}

.reise-section-head {
    margin-bottom: 18px;
}

.reise-section-head.split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.reise-section-head h2,
.reise-trust-panel h2 {
    margin: 6px 0 0;
    font-size: clamp(1.8rem, 3vw, 3.2rem);
    letter-spacing: -0.04em;
}

.reise-destination-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.reise-destination-card {
    border: 1px solid rgba(169, 215, 255, .28);
    border-radius: 24px;
    background: rgba(230, 242, 252, .11);
    padding: 20px;
    color: #fff;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.reise-destination-card:hover {
    transform: translateY(-4px);
    background: rgba(230, 242, 252, .18);
}

.reise-destination-card span {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, .9);
    color: #11285d;
    margin-bottom: 16px;
}

.reise-destination-card strong,
.reise-destination-card small {
    display: block;
}

.reise-offer-list {
    display: grid;
    gap: 16px;
}

.reise-offer-card {
    border-radius: 28px;
    padding: 18px;
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) 220px;
    gap: 20px;
    align-items: center;
}

.reise-offer-media {
    min-height: 118px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(21, 155, 255, .75), rgba(33, 38, 161, .85));
    display: grid;
    place-items: center;
    font-size: 2.4rem;
}

.reise-offer-body strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.reise-rating {
    color: #aee6ff;
    font-weight: 1000;
    margin: 12px 0;
}

.reise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.reise-tags span {
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(174, 220, 255, .24);
    padding: 7px 10px;
    font-size: .86rem;
    font-weight: 900;
}

.reise-price-box {
    display: grid;
    gap: 8px;
    justify-items: end;
}

.reise-price-box strong {
    font-size: 2rem;
}

.reise-empty {
    color: #d8ecff;
}

.reise-trust-panel {
    border-radius: 30px;
    padding: 32px;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 28px;
    align-items: center;
}

.reise-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.reise-trust-grid span {
    border-radius: 18px;
    background: rgba(255, 255, 255, .1);
    padding: 16px;
    font-weight: 900;
}

@media (max-width: 1080px) {
    .reise-hero,
    .reise-search,
    .reise-destination-grid,
    .reise-trust-panel,
    .reise-trust-grid {
        grid-template-columns: 1fr;
    }

    .reise-offer-card {
        grid-template-columns: 1fr;
    }

    .reise-price-box {
        justify-items: stretch;
    }
}
.reise-hero.advanced {
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, .45fr);
}

.reise-search.advanced {
    grid-template-columns: 1.25fr .85fr .75fr .72fr .72fr .52fr .52fr .52fr .75fr .7fr auto;
    align-items: end;
}

.reise-search .wide {
    grid-column: span 2;
}

.reise-deal-card.ai-card {
    align-content: start;
}

.reise-ai-list {
    display: grid;
    gap: 10px;
}

.reise-ai-list small {
    display: block;
    border-radius: 16px;
    background: rgba(255, 255, 255, .11);
    border: 1px solid rgba(174, 220, 255, .24);
    color: #eaf7ff;
    font-weight: 800;
    line-height: 1.5;
    padding: 12px;
}

.reise-destination-grid.advanced {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reise-affiliate-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.reise-affiliate-card {
    border: 1px solid rgba(169, 215, 255, .34);
    background: rgba(218, 235, 249, .13);
    box-shadow: 0 24px 70px rgba(0, 11, 35, .2);
    border-radius: 28px;
    padding: 24px;
}

.reise-affiliate-card span {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .92);
    color: #11285d;
    font-size: .82rem;
    font-weight: 1000;
    margin-bottom: 18px;
}

.reise-affiliate-card strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.reise-affiliate-card p {
    color: #d8ecff;
    line-height: 1.6;
}

.reise-affiliate-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 14px;
    background: var(--yop-gradient);
    color: #fff;
    font-weight: 1000;
    padding: 0 18px;
    text-decoration: none;
    margin-top: 8px;
}

@media (max-width: 1280px) {
    .reise-search.advanced {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .reise-hero.advanced,
    .reise-search.advanced,
    .reise-destination-grid.advanced,
    .reise-affiliate-grid {
        grid-template-columns: 1fr;
    }

    .reise-search .wide {
        grid-column: auto;
    }
}
/* reise-layout-fix-202605 */
.reise-hero.advanced {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 320px);
    align-items: start;
}

.reise-hero.advanced .reise-hero-copy {
    overflow: hidden;
}

.reise-brand-logo {
    width: min(190px, 52vw);
    margin-bottom: 22px;
}

.reise-hero-copy h1 {
    max-width: 760px;
    font-size: clamp(2.6rem, 4.2vw, 4.45rem);
    line-height: 1.04;
    letter-spacing: -0.055em;
}

.reise-search.advanced {
    width: 100%;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
    gap: 12px;
    box-sizing: border-box;
}

.reise-search.advanced label {
    min-width: 0;
}

.reise-search.advanced label:nth-of-type(1) { grid-column: span 3; }
.reise-search.advanced label:nth-of-type(2) { grid-column: span 2; }
.reise-search.advanced label:nth-of-type(3) { grid-column: span 2; }
.reise-search.advanced label:nth-of-type(4) { grid-column: span 2; }
.reise-search.advanced label:nth-of-type(5) { grid-column: span 2; }
.reise-search.advanced label:nth-of-type(6) { grid-column: span 1; }
.reise-search.advanced label:nth-of-type(7) { grid-column: span 1; }
.reise-search.advanced label:nth-of-type(8) { grid-column: span 1; }
.reise-search.advanced label:nth-of-type(9) { grid-column: span 2; }
.reise-search.advanced label:nth-of-type(10) { grid-column: span 2; }
.reise-search.advanced button { grid-column: span 3; }

.reise-search.advanced input,
.reise-search.advanced select {
    min-width: 0;
    height: 54px;
    font-size: .92rem;
}

.reise-search.advanced button {
    min-width: 0;
    min-height: 54px;
    white-space: normal;
    line-height: 1.15;
}

.reise-deal-card.ai-card {
    min-width: 0;
}

@media (max-width: 1320px) {
    .reise-hero.advanced {
        grid-template-columns: 1fr;
    }

    .reise-deal-card.ai-card {
        max-width: none;
    }
}

@media (max-width: 980px) {
    .reise-search.advanced {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reise-search.advanced label:nth-of-type(n),
    .reise-search.advanced button {
        grid-column: span 1;
    }

    .reise-search.advanced label:nth-of-type(1),
    .reise-search.advanced button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .reise-search.advanced {
        grid-template-columns: 1fr;
    }

    .reise-search.advanced label:nth-of-type(n),
    .reise-search.advanced button {
        grid-column: 1 / -1;
    }
}
/* reise-search-visibility-fix-202605 */
.reise-search.advanced {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    overflow: visible;
}

.reise-search.advanced label {
    gap: 9px;
}

.reise-search.advanced label span {
    min-height: 28px;
    color: #eaf7ff;
    font-size: .84rem;
    line-height: 1.18;
    letter-spacing: .01em;
    overflow-wrap: anywhere;
}

.reise-search.advanced input,
.reise-search.advanced select {
    height: 56px;
    min-height: 56px;
    border-radius: 15px;
    padding: 0 15px;
    font-size: .93rem;
    font-weight: 900;
    text-overflow: ellipsis;
}

.reise-search.advanced label:nth-of-type(1) { grid-column: span 3; }
.reise-search.advanced label:nth-of-type(2) { grid-column: span 2; }
.reise-search.advanced label:nth-of-type(3) { grid-column: span 2; }
.reise-search.advanced label:nth-of-type(4) { grid-column: span 2; }
.reise-search.advanced label:nth-of-type(5) { grid-column: span 2; }
.reise-search.advanced label:nth-of-type(6) { grid-column: span 1; }
.reise-search.advanced label:nth-of-type(7) { grid-column: span 1; }
.reise-search.advanced label:nth-of-type(8) { grid-column: span 1; }
.reise-search.advanced label:nth-of-type(9) { grid-column: span 2; }
.reise-search.advanced label:nth-of-type(10) { grid-column: span 2; }
.reise-search.advanced button {
    grid-column: span 3;
    align-self: end;
    min-height: 56px;
    border-radius: 16px;
    font-size: .95rem;
}

@media (max-width: 1500px) {
    .reise-search.advanced label:nth-of-type(1) { grid-column: span 4; }
    .reise-search.advanced label:nth-of-type(2) { grid-column: span 3; }
    .reise-search.advanced label:nth-of-type(3) { grid-column: span 2; }
    .reise-search.advanced label:nth-of-type(4) { grid-column: span 3; }
    .reise-search.advanced label:nth-of-type(5) { grid-column: span 3; }
    .reise-search.advanced label:nth-of-type(6) { grid-column: span 2; }
    .reise-search.advanced label:nth-of-type(7) { grid-column: span 2; }
    .reise-search.advanced label:nth-of-type(8) { grid-column: span 2; }
    .reise-search.advanced label:nth-of-type(9) { grid-column: span 3; }
    .reise-search.advanced label:nth-of-type(10) { grid-column: span 3; }
    .reise-search.advanced button { grid-column: span 4; }
}

@media (max-width: 1180px) {
    .reise-search.advanced {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .reise-search.advanced label:nth-of-type(1),
    .reise-search.advanced label:nth-of-type(2),
    .reise-search.advanced label:nth-of-type(3),
    .reise-search.advanced label:nth-of-type(4),
    .reise-search.advanced label:nth-of-type(5),
    .reise-search.advanced label:nth-of-type(9),
    .reise-search.advanced label:nth-of-type(10) {
        grid-column: span 3;
    }

    .reise-search.advanced label:nth-of-type(6),
    .reise-search.advanced label:nth-of-type(7),
    .reise-search.advanced label:nth-of-type(8) {
        grid-column: span 2;
    }

    .reise-search.advanced button {
        grid-column: span 3;
    }
}

@media (max-width: 760px) {
    .reise-search.advanced {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .reise-search.advanced label:nth-of-type(n),
    .reise-search.advanced button {
        grid-column: 1 / -1;
    }
}
/* global-active-nav-202605 */
.yop-global-links a.is-active,
.yop-global-links a[aria-current="page"] {
    border-color: transparent;
    background: linear-gradient(135deg, #159bff, #211b86);
    color: #fff;
    box-shadow: 0 14px 34px rgba(21,155,255,.26);
}

.yop-global-links a.is-active:hover,
.yop-global-links a[aria-current="page"]:hover {
    transform: translateY(-2px);
}
/* Yop-Vergleich Hub */
.compare-hub-page {
    min-height: 100vh;
    color: #f7fbff;
    background: radial-gradient(circle at 15% 12%, rgba(71,190,255,.25), transparent 34%), linear-gradient(135deg, #1b4468 0%, #17345b 48%, #111f49 100%);
    padding: 56px clamp(18px, 5vw, 72px) 84px;
}

.compare-hub-hero,
.compare-hub-grid,
.compare-hub-quick,
.compare-button-dock {
    max-width: 1280px;
    margin: 0 auto;
}

.compare-button-dock {
    margin-bottom: 26px;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
    position: sticky;
    top: 92px;
    z-index: 40;
    padding: 10px;
    border: 1px solid rgba(169, 215, 255, .22);
    border-radius: 28px;
    background: rgba(14, 35, 67, .78);
    backdrop-filter: blur(16px);
}

.compare-button-dock a {
    min-height: 92px;
    border: 1px solid rgba(169, 215, 255, .34);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.06)),
        rgba(218, 235, 249, .13);
    color: #f7fbff;
    text-decoration: none;
    box-shadow: 0 20px 54px rgba(0, 11, 35, .20);
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 16px;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.compare-button-dock a:hover,
.compare-button-dock a:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,.55);
    background: linear-gradient(135deg, rgba(21,155,255,.72), rgba(33,27,134,.78));
}

.compare-button-dock strong {
    font-size: 1.6rem;
    line-height: 1;
}

.compare-button-dock span {
    font-weight: 1000;
}

.compare-button-dock small {
    color: #d8ecff;
    font-weight: 800;
}

.compare-hub-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: stretch;
}

.compare-hub-hero > div,
.compare-hub-hero aside,
.compare-hub-card,
.compare-hub-quick {
    border: 1px solid rgba(169, 215, 255, .34);
    background: rgba(218, 235, 249, .13);
    box-shadow: 0 24px 70px rgba(0, 11, 35, .24);
    backdrop-filter: blur(16px);
}

.compare-hub-hero > div {
    border-radius: 34px;
    padding: clamp(28px, 5vw, 58px);
}

.compare-hub-hero h1 {
    max-width: 820px;
    margin: 10px 0 16px;
    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.compare-hub-hero p,
.compare-hub-card small,
.compare-hub-hero aside span {
    color: #d8ecff;
    line-height: 1.65;
}

.compare-hub-search {
    display: grid;
    grid-template-columns: 1fr 260px auto;
    gap: 12px;
    margin-top: 28px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(244, 249, 255, .18);
    border: 1px solid rgba(255,255,255,.18);
}

.compare-hub-search input,
.compare-hub-search select {
    min-height: 56px;
    border: 1px solid rgba(203,226,247,.7);
    border-radius: 16px;
    background: rgba(255,255,255,.96);
    color: #071427;
    font: inherit;
    font-weight: 900;
    padding: 0 16px;
}

.compare-hub-search button,
.compare-hub-quick a {
    min-height: 56px;
    border: 0;
    border-radius: 16px;
    background: var(--yop-gradient);
    color: #fff;
    font: inherit;
    font-weight: 1000;
    padding: 0 22px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.compare-hub-hero aside {
    border-radius: 32px;
    padding: 30px;
    display: grid;
    align-content: center;
    gap: 16px;
}

.compare-hub-hero aside strong {
    font-size: 1.6rem;
    line-height: 1.2;
}

.compare-hub-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.compare-hub-card {
    color: #fff;
    text-decoration: none;
    border-radius: 28px;
    padding: 24px;
    transition: transform .2s ease, background .2s ease;
}

.compare-hub-card:hover {
    transform: translateY(-4px);
    background: rgba(230,242,252,.18);
}

.compare-hub-card img,
.compare-hub-card b {
    width: 110px;
    height: 64px;
    object-fit: contain;
    display: flex;
    align-items: center;
    font-size: 2.4rem;
    margin-bottom: 18px;
}

.compare-hub-card span {
    display: inline-flex;
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    color: #11285d;
    padding: 7px 10px;
    font-weight: 1000;
    font-size: .78rem;
    margin-bottom: 14px;
}

.compare-hub-card strong,
.compare-hub-card p,
.compare-hub-card small {
    display: block;
}

.compare-hub-card strong { font-size: 1.35rem; }
.compare-hub-card p { font-weight: 1000; }

.compare-hub-quick {
    border-radius: 30px;
    padding: 30px;
    margin-top: 28px;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 24px;
    align-items: center;
}

.compare-hub-quick h2 { margin: 6px 0 0; }
.compare-hub-quick > div:last-child { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 980px) {
    .compare-hub-hero,
    .compare-hub-grid,
    .compare-hub-quick,
    .compare-hub-search,
    .compare-button-dock {
        grid-template-columns: 1fr;
    }
}

.portal-search-pro {
    grid-template-columns: repeat(4, minmax(170px, 1fr)) minmax(190px, .85fr);
    align-items: end;
}

.portal-search select,
.portal-mini-filter input {
    width: 100%;
    min-height: 56px;
    border: 1px solid rgba(203,226,247,.7);
    border-radius: 16px;
    background: rgba(255,255,255,.96);
    color: #071427;
    font: inherit;
    font-weight: 900;
    padding: 0 16px;
}

.portal-mini-filter {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(169, 215, 255, .22);
    display: grid;
    gap: 12px;
}

.portal-mini-filter button {
    min-height: 44px;
    border: 0;
    border-radius: 14px;
    background: var(--yop-gradient);
    color: #fff;
    font: inherit;
    font-weight: 1000;
    cursor: pointer;
}

.portal-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.portal-feature-list small {
    border: 1px solid rgba(169, 215, 255, .24);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: #eaf6ff;
    font-weight: 850;
    padding: 6px 9px;
}

.portal-empty {
    border: 1px solid rgba(169, 215, 255, .24);
    border-radius: 24px;
    background: rgba(255,255,255,.10);
    padding: 28px;
}

@media (max-width: 1180px) {
    .compare-button-dock {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .portal-search-pro {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .compare-button-dock,
    .portal-search-pro {
        grid-template-columns: 1fr;
    }
}

/* Clear search spacing across all Yop pages */
.estate-filter-form,
.agri-estate-filter-form,
.portal-search,
.portal-search-pro,
.jobs-search,
.auto-search-form,
.reise-search.advanced,
.compare-hub-search {
    gap: 14px !important;
    padding: 14px !important;
}

.estate-filter-form input,
.estate-filter-form select,
.estate-filter-form button,
.agri-estate-filter-form input,
.agri-estate-filter-form select,
.agri-estate-filter-form button,
.portal-search input,
.portal-search select,
.portal-search button,
.jobs-search input,
.jobs-search button,
.auto-search-form input,
.auto-search-form select,
.auto-search-form button,
.reise-search.advanced input,
.reise-search.advanced select,
.reise-search.advanced button,
.compare-hub-search input,
.compare-hub-search select,
.compare-hub-search button {
    min-height: 58px !important;
    border-radius: 18px !important;
    box-sizing: border-box;
}

.estate-filter-form {
    grid-template-columns: minmax(280px, 2fr) minmax(210px, 1.25fr) repeat(3, minmax(170px, 1fr)) minmax(180px, .8fr) !important;
}

.auto-search-form {
    grid-template-columns: repeat(5, minmax(170px, 1fr)) minmax(190px, .85fr) !important;
}

.jobs-search {
    grid-template-columns: minmax(240px, 1fr) minmax(220px, 1fr) minmax(190px, .7fr) !important;
}

.portal-search {
    grid-template-columns: repeat(2, minmax(220px, 1fr)) minmax(190px, .75fr) !important;
}

.portal-search-pro {
    grid-template-columns: repeat(4, minmax(170px, 1fr)) minmax(190px, .85fr) !important;
}

.compare-hub-search {
    grid-template-columns: minmax(260px, 1fr) minmax(230px, .65fr) minmax(190px, .45fr) !important;
}

@media (max-width: 1180px) {
    .estate-filter-form,
    .auto-search-form,
    .portal-search,
    .portal-search-pro,
    .jobs-search,
    .compare-hub-search {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    .estate-filter-form,
    .auto-search-form,
    .portal-search,
    .portal-search-pro,
    .jobs-search,
    .compare-hub-search {
        grid-template-columns: 1fr !important;
    }
}

/* Unified Yop account */
.account-page {
    min-height: 100vh;
    padding: 58px clamp(18px, 5vw, 72px) 88px;
    color: #f7fbff;
    background:
        radial-gradient(circle at 12% 10%, rgba(21,155,255,.30), transparent 32%),
        radial-gradient(circle at 88% 6%, rgba(33,27,134,.28), transparent 30%),
        linear-gradient(135deg, #1b4468 0%, #17345b 48%, #111f49 100%);
}

.account-auth-card,
.account-hero,
.account-menu-card,
.account-panel {
    border: 1px solid rgba(169, 215, 255, .34);
    background:
        linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.06)),
        rgba(44, 68, 98, .88);
    box-shadow: 0 28px 80px rgba(0, 11, 35, .24);
    backdrop-filter: blur(16px);
}

.account-auth-card {
    width: min(760px, 100%);
    margin: 0 auto;
    border-radius: 34px;
    padding: clamp(28px, 5vw, 54px);
}

.account-auth-card.compact {
    width: min(560px, 100%);
}

.account-auth-card h1,
.account-hero h1 {
    margin: 8px 0 14px;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 1;
    letter-spacing: -.06em;
}

.account-auth-card p,
.account-hero p,
.account-panel p,
.account-muted {
    color: #d8ecff;
    line-height: 1.65;
}

.account-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.account-form label {
    display: grid;
    gap: 7px;
    color: #eaf6ff;
    font-weight: 900;
}

.account-form input,
.account-form select {
    width: 100%;
    min-height: 56px;
    border: 1px solid rgba(203,226,247,.72);
    border-radius: 16px;
    background: rgba(255,255,255,.96);
    color: var(--yop-ink);
    font: inherit;
    font-weight: 800;
    padding: 0 14px;
}

.account-form small,
.account-error {
    color: #ffd2d2;
    font-weight: 850;
}

.account-form button {
    grid-column: 1 / -1;
    min-height: 58px;
    border: 0;
    border-radius: 18px;
    background: var(--yop-gradient);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 1000;
}

.account-switch a,
.account-row,
.account-ad-grid a {
    color: #a7ddff;
    font-weight: 1000;
    text-decoration: none;
}

.account-hero {
    max-width: 1280px;
    margin: 0 auto 24px;
    border-radius: 34px;
    padding: clamp(28px, 5vw, 54px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
    align-items: center;
}

.account-hero aside {
    border: 1px solid rgba(169, 215, 255, .26);
    border-radius: 28px;
    background: rgba(255,255,255,.10);
    padding: 24px;
}

.account-hero aside span,
.account-hero aside small,
.account-panel-head span {
    color: #cfe7ff;
    font-weight: 850;
}

.account-hero aside strong {
    display: block;
    font-size: 3rem;
    line-height: 1;
    margin: 10px 0;
}

.account-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.account-menu-card {
    position: sticky;
    top: 98px;
    border-radius: 28px;
    padding: 16px;
    display: grid;
    gap: 8px;
}

.account-menu-card a {
    min-height: 46px;
    border-radius: 16px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    color: #f7fbff;
    text-decoration: none;
    font-weight: 950;
}

.account-menu-card a:hover {
    background: rgba(255,255,255,.12);
}

.account-menu-card .danger {
    color: #ffd2d2;
}

.account-content-stack {
    display: grid;
    gap: 18px;
}

.account-panel {
    border-radius: 28px;
    padding: 24px;
}

.account-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
}

.account-panel-head h2 {
    margin: 0;
}

.account-row {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) 100px;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid rgba(169, 215, 255, .18);
}

.account-row span,
.account-row em,
.account-data-list dd {
    color: #eaf6ff;
}

.account-row em {
    font-style: normal;
    justify-self: end;
}

.account-mini-grid,
.account-ad-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.account-mini-grid article,
.account-ad-grid article {
    border: 1px solid rgba(169, 215, 255, .22);
    border-radius: 22px;
    background: rgba(255,255,255,.10);
    padding: 18px;
}

.account-ad-grid strong,
.account-ad-grid span,
.account-ad-grid a,
.account-mini-grid strong,
.account-mini-grid p {
    display: block;
}

.account-ad-grid span {
    color: #d8ecff;
    margin: 8px 0 14px;
}

.account-data-list {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 12px;
}

.account-data-list dt {
    color: #cfe7ff;
    font-weight: 900;
}

@media (max-width: 980px) {
    .account-hero,
    .account-grid,
    .account-mini-grid,
    .account-ad-grid {
        grid-template-columns: 1fr;
    }

    .account-menu-card {
        position: static;
    }
}

@media (max-width: 720px) {
    .account-form,
    .account-row,
    .account-data-list {
        grid-template-columns: 1fr;
    }

    .account-row em {
        justify-self: start;
    }
}

/* Global YOPI assistant */
.yop-ai-assistant {
    position: fixed;
    right: clamp(14px, 2vw, 28px);
    bottom: clamp(14px, 2vw, 28px);
    z-index: 1200;
    font-family: inherit;
}

.yop-ai-toggle {
    width: 72px;
    height: 72px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 26px;
    background: var(--yop-gradient);
    color: #fff;
    box-shadow: 0 22px 48px rgba(8, 22, 63, .32);
    cursor: pointer;
    display: grid;
    place-items: center;
    line-height: 1;
}

.yop-ai-toggle span {
    font-size: 1.45rem;
    font-weight: 1000;
}

.yop-ai-toggle small {
    font-size: .72rem;
    font-weight: 900;
    opacity: .88;
}

.yop-ai-panel {
    position: absolute;
    right: 0;
    bottom: 86px;
    width: min(390px, calc(100vw - 28px));
    border: 1px solid rgba(169, 215, 255, .48);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.06)),
        rgba(18, 43, 78, .96);
    color: #f7fbff;
    box-shadow: 0 30px 80px rgba(0, 10, 35, .38);
    backdrop-filter: blur(18px);
    overflow: hidden;
}

.yop-ai-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid rgba(169, 215, 255, .20);
}

.yop-ai-head strong,
.yop-ai-head span {
    display: block;
}

.yop-ai-head strong {
    font-size: 1.08rem;
}

.yop-ai-head span {
    color: #cfe7ff;
    font-size: .9rem;
    margin-top: 4px;
}

.yop-ai-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: #fff;
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
}

.yop-ai-output {
    margin: 18px 20px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(232, 244, 255, .12);
    border: 1px solid rgba(169, 215, 255, .22);
    color: #eaf6ff;
    line-height: 1.55;
    min-height: 92px;
}

.yop-ai-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 0 20px 16px;
}

.yop-ai-form input {
    min-height: 48px;
    border: 1px solid rgba(203,226,247,.72);
    border-radius: 16px;
    padding: 0 14px;
    color: var(--yop-ink);
    font: inherit;
    font-weight: 800;
}

.yop-ai-form button {
    min-height: 48px;
    border: 0;
    border-radius: 16px;
    background: var(--yop-gradient);
    color: #fff;
    padding: 0 16px;
    font: inherit;
    font-weight: 1000;
    cursor: pointer;
}

.yop-ai-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px 20px;
}

.yop-ai-quick button {
    border: 1px solid rgba(169, 215, 255, .28);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: #f7fbff;
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 900;
    padding: 8px 11px;
}

@media (max-width: 700px) {
    .yop-ai-assistant {
        right: 12px;
        bottom: 12px;
    }

    .yop-ai-toggle {
        width: 62px;
        height: 62px;
        border-radius: 22px;
    }

    .yop-ai-panel {
        bottom: 74px;
    }
}


/* Account real management */
.account-hero.compact {
    margin-bottom: 28px;
}

.account-message-panel p {
    margin: 0;
    color: #f7fbff;
    font-weight: 900;
}

.account-panel-head a,
.account-primary-link,
.profis-owner-action a,
.jobs-owner-action a,
.ads-page > a[href*="anzeigen/neu"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 999px;
    padding: 0 18px;
    background: var(--yop-gradient);
    color: #fff;
    font-weight: 1000;
    text-decoration: none;
    box-shadow: 0 18px 35px rgba(29, 142, 255, .24);
}

.account-ad-grid-full {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.account-ad-grid-full article header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.account-owned-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.account-owned-list > div {
    border-top: 1px solid rgba(169, 215, 255, .18);
    padding-top: 12px;
}

.account-owned-list span,
.account-owned-list small {
    display: block;
}

.account-owned-list small {
    color: #cfe7ff;
    margin-top: 4px;
}

.account-owned-list nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.account-owned-list nav a {
    border: 1px solid rgba(169, 215, 255, .28);
    border-radius: 999px;
    color: #f7fbff;
    padding: 8px 12px;
    text-decoration: none;
    font-weight: 900;
}

.account-edit-form {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto 64px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    border: 1px solid rgba(169, 215, 255, .28);
    border-radius: 32px;
    background: rgba(255,255,255,.10);
    padding: clamp(22px, 4vw, 42px);
    box-shadow: 0 26px 70px rgba(0, 10, 35, .22);
}

.account-edit-form h2,
.account-edit-form label:has(textarea),
.account-edit-form .account-form-actions,
.account-listing-form label:has(textarea) {
    grid-column: 1 / -1;
}

.account-edit-form label {
    display: grid;
    gap: 8px;
    color: #eaf6ff;
    font-weight: 900;
}

.account-edit-form input,
.account-edit-form select,
.account-edit-form textarea {
    width: 100%;
    border: 1px solid rgba(203,226,247,.74);
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    color: var(--yop-ink);
    min-height: 54px;
    padding: 12px 15px;
    font: inherit;
    font-weight: 800;
}

.account-edit-form textarea {
    min-height: 140px;
    resize: vertical;
}

.account-edit-form small {
    color: #d8ecff;
    font-weight: 800;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 12px;
}

.checkbox-label input {
    width: 22px;
    min-height: 22px;
}

.account-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 12px;
}

.account-form-actions a,
.account-form-actions button,
.account-payment-row button {
    border: 0;
    border-radius: 999px;
    min-height: 48px;
    padding: 0 22px;
    font: inherit;
    font-weight: 1000;
    text-decoration: none;
    cursor: pointer;
}

.account-form-actions a {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.88);
    color: var(--yop-ink);
}

.account-form-actions button {
    background: var(--yop-gradient);
    color: #fff;
}

.account-payment-row form {
    justify-self: end;
}

.account-payment-row button {
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(169, 215, 255, .24);
    color: #fff;
}

.profis-owner-action,
.jobs-owner-action {
    width: min(1280px, calc(100% - 32px));
    margin: 22px auto;
    display: flex;
    justify-content: flex-end;
}

.ads-page > a[href*="anzeigen/neu"] {
    width: max-content;
    margin: 22px auto;
}

@media (max-width: 820px) {
    .account-edit-form {
        grid-template-columns: 1fr;
    }

    .account-form-actions {
        justify-content: stretch;
        flex-direction: column;
    }

    .account-form-actions a,
    .account-form-actions button {
        justify-content: center;
    }
}


/* Account security verification */
.security-message-panel,
.account-security-form {
    margin-bottom: 24px;
}

.account-security-form h2,
.account-security-form .security-help {
    grid-column: 1 / -1;
}

.security-help {
    margin: 0 0 4px;
    color: #d8ecff;
    line-height: 1.6;
}

.password-toggle-wrap {
    position: relative;
    display: block;
}

.password-toggle-wrap input {
    padding-right: 118px;
}

.password-eye {
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    background: var(--yop-gradient);
    color: #fff;
    padding: 0 14px;
    font: inherit;
    font-size: .82rem;
    font-weight: 1000;
    cursor: pointer;
}


/* Yop unified professional interface system */
:root {
    --yop-field-height: 58px;
    --yop-field-radius: 18px;
    --yop-field-gap: 14px;
    --yop-card-radius: 30px;
    --yop-panel-bg: rgba(255, 255, 255, .12);
    --yop-panel-border: rgba(169, 215, 255, .30);
    --yop-panel-shadow: 0 28px 80px rgba(0, 10, 35, .24);
}

.yop-page-main form,
.yop-page-main input,
.yop-page-main select,
.yop-page-main textarea,
.yop-page-main button,
.yop-page-main a {
    box-sizing: border-box;
}

.yop-page-main input:not([type="checkbox"]):not([type="radio"]),
.yop-page-main select,
.yop-page-main textarea {
    min-height: var(--yop-field-height);
    border-radius: var(--yop-field-radius);
    border: 1px solid rgba(203, 226, 247, .78);
    background: rgba(255, 255, 255, .94);
    color: var(--yop-ink, #07162d);
    padding: 13px 16px;
    font: inherit;
    font-weight: 850;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.yop-page-main input:not([type="checkbox"]):not([type="radio"]):focus,
.yop-page-main select:focus,
.yop-page-main textarea:focus {
    border-color: rgba(28, 141, 255, .92);
    box-shadow: 0 0 0 4px rgba(28, 141, 255, .18);
}

.yop-page-main textarea {
    min-height: 140px;
    resize: vertical;
}

.yop-page-main label {
    font-weight: 900;
}

.yop-page-main button,
.yop-page-main .estate-message-button,
.yop-page-main .auto-price-box a,
.yop-page-main .agri-shop-button,
.yop-page-main .reise-price-box a,
.yop-page-main .portal-offer-row a,
.yop-page-main .job-apply-link,
.yop-page-main .insurance-need-box a,
.yop-page-main .insurance-product-card,
.yop-page-main .compare-hub-quick a {
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.yop-page-main button:hover,
.yop-page-main .estate-message-button:hover,
.yop-page-main .auto-price-box a:hover,
.yop-page-main .agri-shop-button:hover,
.yop-page-main .reise-price-box a:hover,
.yop-page-main .portal-offer-row a:hover,
.yop-page-main .job-apply-link:hover,
.yop-page-main .insurance-need-box a:hover,
.yop-page-main .compare-hub-quick a:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
}

.properties-search,
.auto-search-form,
.portal-search,
.portal-mini-filter,
.compare-hub-search,
.reise-search.advanced,
.jobs-search,
.profis-search,
.ads-search-card,
.insurance-compare-card,
.agri-estate-filter-form,
.searchers-search-form,
.kfz-form-grid,
.account-edit-form {
    gap: var(--yop-field-gap) !important;
}

.properties-search,
.auto-search-form,
.portal-search,
.compare-hub-search,
.jobs-search,
.profis-search,
.reise-search.advanced,
.agri-estate-filter-form,
.searchers-search-form {
    align-items: end;
}

.auto-search-panel,
.portal-hero-card,
.compare-hub-hero,
.reise-hero.advanced,
.ads-hero,
.profis-hero,
.jobs-hero,
.insurance-hero,
.agri-estate-hero,
.estate-section,
.account-panel,
.auto-card,
.ads-listing-card,
.profis-result-card,
.portal-offer-row,
.reise-offer-card {
    border-color: var(--yop-panel-border) !important;
}

.auto-search-form,
.portal-search,
.compare-hub-search,
.jobs-search,
.profis-search,
.reise-search.advanced,
.agri-estate-filter-form,
.properties-search,
.searchers-search-form {
    padding: 14px !important;
    border: 1px solid rgba(169, 215, 255, .30);
    border-radius: 28px;
    background: rgba(255, 255, 255, .12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
}

.auto-search-form button,
.portal-search button,
.compare-hub-search button,
.jobs-search button,
.profis-search button,
.reise-search.advanced button,
.agri-estate-filter-form button,
.properties-search button,
.searchers-search-form button,
.insurance-compare-card button,
.kfz-form button,
.account-edit-form button,
.ads-search-card button {
    min-height: var(--yop-field-height);
    border: 0;
    border-radius: var(--yop-field-radius);
    background: var(--yop-gradient, linear-gradient(135deg, #159bff, #25299a));
    color: #fff;
    padding: 0 24px;
    font: inherit;
    font-weight: 1000;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(24, 117, 255, .24);
}

.job-apply-link,
.portal-offer-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    background: var(--yop-gradient, linear-gradient(135deg, #159bff, #25299a));
    color: #fff;
    padding: 0 18px;
    font-weight: 1000;
    text-decoration: none;
}

.ads-page > a[href*="anzeigen/neu"],
.profis-owner-action a,
.jobs-owner-action a {
    min-height: 52px;
    padding-inline: 22px;
}

.estate-plus-action {
    width: max-content;
    margin-top: 14px;
}

.account-panel,
.account-edit-form,
.portal-hero-card,
.portal-filter-card,
.portal-offers,
.compare-hub-card,
.auto-side-box,
.ads-filter-card,
.ads-results,
.profis-result-card,
.job-card,
.job-detail-panel,
.reise-offer-card,
.insurance-compare-card,
.kfz-form-frame {
    box-shadow: var(--yop-panel-shadow);
}

@media (max-width: 980px) {
    .properties-search,
    .auto-search-form,
    .portal-search,
    .compare-hub-search,
    .jobs-search,
    .profis-search,
    .reise-search.advanced,
    .agri-estate-filter-form,
    .searchers-search-form {
        grid-template-columns: 1fr !important;
        display: grid !important;
    }
}


.auto-dashboard-actions,
.auto-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.auto-dashboard-actions a,
.auto-success-actions a,
.auto-secondary-action {
    background: rgba(255,255,255,.95) !important;
    color: #071527 !important;
    box-shadow: none !important;
}

.auto-contact-page {
    padding: 46px 24px 90px;
}

.auto-contact-shell {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.auto-contact-summary,
.auto-contact-card,
.auto-success-card,
.auto-related,
.auto-inquiry-card {
    border: 1px solid rgba(184,224,255,.34);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255,255,255,.24), rgba(255,255,255,.11)), rgba(44,68,98,.90);
    box-shadow: 0 24px 70px rgba(4,10,20,.24), inset 0 1px 0 rgba(255,255,255,.10);
}

.auto-contact-summary,
.auto-contact-card,
.auto-success-card,
.auto-related,
.auto-inquiry-card {
    padding: 30px;
}

.auto-contact-summary img,
.auto-success-card img {
    width: 155px;
    height: auto;
    display: block;
    margin-bottom: 18px;
}

.auto-contact-summary h1,
.auto-success-card h1,
.auto-contact-card h2,
.auto-related h2,
.auto-inquiry-card h3 {
    margin-top: 0;
    color: #fff;
    letter-spacing: -.04em;
}

.auto-contact-summary p,
.auto-contact-card p,
.auto-success-card p,
.auto-inquiry-card p,
.auto-inquiry-card span {
    color: #d6e8f8;
}

.auto-contact-provider {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.18);
    display: grid;
    gap: 6px;
}

.auto-contact-provider span,
.auto-provider-checks span,
.auto-inquiry-card strong {
    color: #9ddeff;
    font-weight: 950;
}

.auto-contact-card > a {
    color: #9ddeff;
    font-weight: 950;
    text-decoration: none;
}

.auto-form-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auto-checkbox-row,
.auto-provider-checks {
    display: grid;
    gap: 10px;
}

.auto-checkbox-row label {
    min-height: 50px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.10);
    color: #e8f4ff;
    font-weight: 850;
    display: flex;
    gap: 10px;
    align-items: center;
}

.auto-success-card {
    max-width: 780px;
    margin: 0 auto;
}

.auto-related {
    max-width: 1180px;
    margin: 22px auto 0;
}

.auto-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.auto-related-grid a {
    min-height: 120px;
    padding: 18px;
    border: 1px solid rgba(184,224,255,.22);
    border-radius: 20px;
    background: rgba(255,255,255,.10);
    color: #fff !important;
    display: grid;
    align-content: space-between;
    text-decoration: none;
}

.auto-related-grid span {
    color: #d6e8f8;
}

.auto-inbox-list {
    display: grid;
    gap: 14px;
}

.auto-inquiry-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 18px;
}

.auto-inquiry-card aside {
    display: grid;
    gap: 8px;
    align-content: start;
}

.auto-inquiry-card aside a {
    color: #9ddeff !important;
    font-weight: 950;
    text-decoration: none;
}

@media (max-width: 900px) {
    .auto-contact-shell,
    .auto-form-grid.compact,
    .auto-related-grid,
    .auto-inquiry-card {
        grid-template-columns: 1fr;
    }
}


/* Yop Control Room - Analytics Dashboard visual upgrade */
.control-analytics-room {
    --analytics-bg: #06152a;
    --analytics-panel: rgba(10, 36, 72, .88);
    --analytics-panel-soft: rgba(24, 70, 112, .72);
    --analytics-line: rgba(140, 218, 255, .32);
    --analytics-yellow: #ffd34d;
    --analytics-cyan: #2fc7ff;
    --analytics-violet: #8a6cff;
    grid-template-columns: 250px minmax(0, 1fr);
    background:
        radial-gradient(circle at 28% 22%, rgba(47, 199, 255, .24), transparent 26%),
        radial-gradient(circle at 80% 12%, rgba(88, 82, 255, .24), transparent 30%),
        linear-gradient(135deg, #03101f 0%, #0a2d55 42%, #152566 100%);
}

.analytics-sidebar {
    background: rgba(2, 11, 25, .84);
    border-right: 3px solid rgba(130, 223, 255, .38);
}

.analytics-main {
    gap: 10px;
    padding: 18px;
}

.analytics-header {
    min-height: 78px;
    border: 4px solid rgba(130, 223, 255, .42);
    background: linear-gradient(120deg, rgba(2, 14, 30, .94), rgba(44, 83, 145, .82));
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 18px;
    padding: 10px 14px;
}

.analytics-header h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.2rem, 5.2vw, 4.8rem);
    line-height: .9;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-shadow: 4px 4px 0 rgba(0,0,0,.42);
}

.analytics-header-filter {
    min-width: 250px;
    display: grid;
    align-content: center;
    justify-items: end;
    gap: 4px;
    color: #fff;
    font-weight: 1000;
}

.analytics-header-filter span {
    color: #ffd34d;
}

.analytics-header-filter a,
.analytics-action {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #159bff, #25299a);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 1000;
}

.analytics-kpi-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(145px, 1fr));
    gap: 10px;
}

.analytics-kpi-card,
.analytics-panel {
    border: 2px solid rgba(130, 223, 255, .26);
    background:
        linear-gradient(135deg, rgba(9, 30, 58, .92), rgba(45, 82, 144, .78)),
        var(--analytics-panel);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 20px 60px rgba(0,0,0,.24);
}

.analytics-kpi-card {
    min-height: 138px;
    padding: 16px 20px;
    display: grid;
    align-content: space-between;
}

.analytics-kpi-card span,
.analytics-panel header h2 {
    color: var(--analytics-yellow);
    font-weight: 1000;
}

.analytics-kpi-card strong {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1;
    letter-spacing: -.04em;
}

.analytics-kpi-card small {
    color: #cde9ff;
    font-weight: 850;
}

.analytics-board-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.28fr 1.18fr;
    gap: 10px;
}

.analytics-lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, .75fr);
    gap: 10px;
}

.analytics-panel {
    border-radius: 0;
    padding: 14px;
    min-width: 0;
}

.analytics-panel header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
    margin-bottom: 12px;
}

.analytics-panel header h2 {
    margin: 0;
    font-size: 1.25rem;
}

.analytics-panel header span,
.analytics-panel p {
    color: #d6ecff;
    font-weight: 850;
}

.analytics-donut-wrap {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.analytics-donut {
    width: 205px;
    height: 205px;
    border-radius: 50%;
    background: conic-gradient(#2fc7ff 0 34%, #7367ff 34% 58%, #ffbf58 58% 74%, #00d9b2 74% 86%, #ff5fa2 86% 95%, #9ddeff 95% 100%);
    display: grid;
    place-items: center;
    position: relative;
}

.analytics-donut::after {
    content: "";
    width: 106px;
    height: 106px;
    border-radius: 50%;
    background: #173f77;
    position: absolute;
}

.analytics-donut strong,
.analytics-donut span {
    position: relative;
    z-index: 1;
    color: #fff;
    display: block;
    text-align: center;
}

.analytics-donut strong {
    font-size: 2.1rem;
}

.analytics-donut span {
    margin-top: 42px;
    color: #cfeaff;
    font-weight: 900;
}

.analytics-legend,
.analytics-horizontal-bars,
.analytics-activity-grid,
.analytics-agent-strip,
.analytics-shortcuts {
    display: grid;
    gap: 9px;
}

.analytics-legend div {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 900;
}

.analytics-legend i {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: var(--c);
}

.analytics-legend b {
    color: #cfeaff;
}

.analytics-bar-row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 56px;
    gap: 10px;
    align-items: center;
    color: #fff;
    font-weight: 950;
}

.analytics-bar-row div {
    height: 28px;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.12);
    overflow: hidden;
}

.analytics-bar-row i {
    display: block;
    height: 100%;
    width: var(--bar);
    background: linear-gradient(90deg, var(--c), rgba(255,255,255,.62));
}

.analytics-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    color: #fff;
    font-weight: 900;
}

.analytics-table th,
.analytics-table td {
    padding: 9px 10px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(122, 189, 232, .45);
    text-align: center;
}

.analytics-table th:first-child {
    text-align: left;
    background: rgba(8, 28, 58, .92);
}

.analytics-table thead th {
    background: rgba(31, 64, 137, .94);
    color: #ffd34d;
}

.analytics-agent-strip {
    grid-template-columns: repeat(5, minmax(130px, 1fr));
}

.analytics-agent-strip a,
.analytics-shortcuts a,
.analytics-activity-grid div {
    border: 1px solid rgba(169, 215, 255, .18);
    background: rgba(255,255,255,.07);
    color: #fff !important;
    text-decoration: none;
    padding: 14px;
    display: grid;
    gap: 5px;
}

.analytics-agent-strip small,
.analytics-shortcuts span,
.analytics-activity-grid small {
    color: #b9d9f4;
    font-weight: 850;
}

.analytics-kanban section {
    background: rgba(3, 13, 30, .38);
}

.analytics-revenue-total {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 1000;
    letter-spacing: -.05em;
    margin-bottom: 12px;
}

.analytics-activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.analytics-activity-grid b {
    color: #ffd34d;
}

.analytics-shortcuts {
    grid-template-columns: repeat(5, minmax(140px, 1fr));
}

@media (max-width: 1260px) {
    .analytics-kpi-row,
    .analytics-agent-strip,
    .analytics-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .analytics-board-grid,
    .analytics-lower-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .analytics-main {
        padding: 10px;
    }
    .analytics-header,
    .analytics-donut-wrap,
    .analytics-activity-grid,
    .analytics-kpi-row,
    .analytics-agent-strip,
    .analytics-shortcuts {
        grid-template-columns: 1fr;
    }
    .analytics-header {
        display: grid;
    }
    .analytics-header-filter {
        justify-items: start;
    }
    .analytics-donut {
        width: 170px;
        height: 170px;
    }
    .analytics-bar-row {
        grid-template-columns: 88px minmax(0, 1fr) 42px;
    }
}

/* Yop Control Room - Executive Operations Cockpit */
.control-analytics-room {
    --analytics-bg: #071a31;
    --analytics-panel: rgba(21, 54, 92, .82);
    --analytics-panel-strong: rgba(16, 43, 78, .96);
    --analytics-panel-soft: rgba(45, 86, 125, .72);
    --analytics-line: rgba(155, 213, 255, .24);
    --analytics-line-strong: rgba(164, 224, 255, .42);
    --analytics-text: #f6fbff;
    --analytics-muted: #c8dbed;
    --analytics-cyan: #2fc7ff;
    --analytics-blue: #238ef4;
    --analytics-indigo: #2432a4;
    --analytics-yellow: #ffe073;
    --analytics-success: #18e0bd;
    grid-template-columns: 272px minmax(0, 1fr);
    min-height: calc(100vh - 74px);
    background:
        radial-gradient(circle at 15% 20%, rgba(47, 199, 255, .30), transparent 28%),
        radial-gradient(circle at 85% 8%, rgba(37, 41, 154, .34), transparent 30%),
        linear-gradient(135deg, #07192c 0%, #123f68 48%, #14255b 100%);
    color: var(--analytics-text);
}

.analytics-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 28px 18px;
    background: linear-gradient(180deg, rgba(3, 13, 28, .94), rgba(5, 20, 39, .92));
    border-right: 1px solid rgba(157, 222, 255, .22);
    box-shadow: 24px 0 70px rgba(0, 0, 0, .20);
}

.analytics-brand {
    margin-bottom: 30px;
}

.analytics-brand img {
    width: 84px;
    height: auto;
}

.analytics-nav {
    display: grid;
    gap: 10px;
}

.analytics-nav a,
.analytics-sidebar .control-sidebar-card {
    border: 1px solid rgba(171, 219, 255, .24);
    background: rgba(255, 255, 255, .055);
    color: #eff8ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.analytics-nav a {
    min-height: 46px;
    border-radius: 15px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    font-weight: 950;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.analytics-nav a:hover,
.analytics-nav a.is-active {
    transform: translateX(4px);
    border-color: rgba(47, 199, 255, .72);
    background: linear-gradient(135deg, rgba(35, 142, 244, .72), rgba(36, 50, 164, .74));
}

.analytics-mail-card {
    margin-top: 28px;
    border-radius: 20px;
    padding: 18px;
    display: grid;
    gap: 8px;
}

.analytics-mail-card small,
.analytics-mail-card span {
    color: var(--analytics-muted);
    font-weight: 850;
}

.analytics-main {
    padding: clamp(18px, 2.3vw, 34px);
    gap: 18px;
}

.analytics-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: stretch;
    padding: clamp(24px, 3vw, 42px);
    border: 1px solid var(--analytics-line-strong);
    border-radius: 34px;
    background:
        linear-gradient(125deg, rgba(5, 18, 39, .92), rgba(44, 84, 146, .78)),
        radial-gradient(circle at 20% 30%, rgba(47, 199, 255, .18), transparent 28%);
    box-shadow: 0 28px 90px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.analytics-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(3.2rem, 7vw, 7.4rem);
    line-height: .88;
    letter-spacing: .015em;
    text-transform: uppercase;
    text-shadow: 5px 5px 0 rgba(0, 0, 0, .36);
}

.analytics-hero-copy {
    max-width: 980px;
    margin: 18px 0 0;
    color: #dceeff;
    font-size: clamp(1rem, 1.4vw, 1.22rem);
    font-weight: 800;
}

.analytics-hero-actions,
.analytics-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.analytics-hero-actions a,
.analytics-command-card a,
.analytics-action {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #219bff, #25299a);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 1000;
    box-shadow: 0 16px 34px rgba(20, 75, 190, .28);
}

.analytics-command-card {
    border: 1px solid rgba(157, 222, 255, .24);
    border-radius: 28px;
    background: rgba(255, 255, 255, .075);
    padding: 24px;
    display: grid;
    align-content: center;
    gap: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.analytics-command-card span,
.analytics-panel header > span,
.analytics-kpi-card span {
    color: var(--analytics-yellow);
    font-weight: 1000;
}

.analytics-command-card strong {
    font-size: 1.45rem;
}

.analytics-command-card small,
.analytics-panel p,
.analytics-kpi-card small {
    color: var(--analytics-muted);
    font-weight: 850;
}

.analytics-kpi-row {
    grid-template-columns: repeat(5, minmax(170px, 1fr));
    gap: 16px;
}

.analytics-kpi-card,
.analytics-panel {
    border: 1px solid var(--analytics-line);
    border-radius: 26px;
    background:
        linear-gradient(145deg, rgba(20, 55, 95, .90), rgba(45, 82, 126, .76)),
        var(--analytics-panel);
    box-shadow: 0 22px 66px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .10);
}

.analytics-kpi-card {
    min-height: 150px;
    padding: 22px;
    display: grid;
    align-content: space-between;
    position: relative;
    overflow: hidden;
}

.analytics-kpi-card::after {
    content: "";
    position: absolute;
    right: -34px;
    top: -44px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(47, 199, 255, .13);
}

.analytics-kpi-card strong {
    color: #fff;
    display: block;
    margin-top: 12px;
    font-size: clamp(2.4rem, 4vw, 4.2rem);
    line-height: .95;
    letter-spacing: -.045em;
}

.analytics-board-grid,
.analytics-lower-grid {
    gap: 18px;
}

.analytics-board-grid-featured {
    grid-template-columns: minmax(330px, .9fr) minmax(420px, 1.25fr) minmax(390px, 1fr);
}

.analytics-lower-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, .85fr);
}

.analytics-panel {
    padding: clamp(18px, 1.7vw, 26px);
    min-width: 0;
}

.analytics-panel header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.analytics-panel header h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.28rem, 1.6vw, 1.8rem);
    line-height: 1.1;
    font-weight: 1000;
}

.analytics-panel header p {
    margin: 7px 0 0;
}

.analytics-panel header > span {
    white-space: nowrap;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .08);
}

.analytics-donut-wrap {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
}

.analytics-donut {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: conic-gradient(#2fc7ff 0 34%, #7367ff 34% 57%, #ffbf58 57% 72%, #00d9b2 72% 84%, #ff5fa2 84% 93%, #9ddeff 93% 100%);
    display: grid;
    place-items: center;
    position: relative;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .20);
}

.analytics-donut::after {
    content: "";
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: linear-gradient(135deg, #143e70, #1a2c66);
    position: absolute;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
}

.analytics-donut strong,
.analytics-donut span {
    position: relative;
    z-index: 1;
    color: #fff;
    display: block;
    text-align: center;
}

.analytics-donut strong {
    font-size: 2.4rem;
    line-height: 1;
}

.analytics-donut span {
    margin-top: 50px;
    color: #dceeff;
    font-weight: 950;
}

.analytics-legend,
.analytics-horizontal-bars,
.analytics-activity-grid,
.analytics-agent-strip,
.analytics-shortcuts,
.analytics-health-list {
    display: grid;
    gap: 12px;
}

.analytics-legend div {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 950;
}

.analytics-legend i {
    width: 12px;
    height: 12px;
    border-radius: 4px;
    background: var(--c);
    box-shadow: 0 0 16px var(--c);
}

.analytics-legend b {
    color: #dceeff;
}

.analytics-bar-row {
    display: grid;
    grid-template-columns: 136px minmax(0, 1fr) 70px;
    gap: 12px;
    align-items: center;
    color: #fff;
    font-weight: 950;
}

.analytics-bar-row div {
    height: 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .12);
    overflow: hidden;
}

.analytics-bar-row i {
    display: block;
    height: 100%;
    width: var(--bar);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--c), rgba(255, 255, 255, .70));
}

.analytics-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 18px;
    color: #fff;
    font-weight: 900;
}

.analytics-table th,
.analytics-table td {
    padding: 12px 11px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    background: rgba(95, 150, 203, .44);
    text-align: center;
}

.analytics-table th:first-child {
    text-align: left;
    background: rgba(8, 28, 58, .90);
}

.analytics-table thead th {
    background: rgba(34, 69, 151, .94);
    color: #fff;
}

.analytics-agent-strip {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
}

.analytics-agent-card,
.analytics-shortcuts a,
.analytics-activity-grid div,
.analytics-health-list div {
    border: 1px solid rgba(169, 215, 255, .20);
    border-radius: 18px;
    background: rgba(255, 255, 255, .075);
    color: #fff !important;
    text-decoration: none;
    padding: 16px;
    display: grid;
    gap: 7px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.analytics-agent-card:hover,
.analytics-shortcuts a:hover {
    transform: translateY(-3px);
    border-color: rgba(47, 199, 255, .62);
    background: rgba(47, 199, 255, .12);
}

.analytics-agent-card small,
.analytics-shortcuts span,
.analytics-activity-grid small,
.analytics-health-list i,
.control-revenue-list small {
    color: #bfdcf2;
    font-weight: 850;
    font-style: normal;
}

.analytics-agent-card strong,
.analytics-shortcuts strong,
.analytics-activity-grid span,
.analytics-health-list strong {
    color: #fff;
    font-size: 1.02rem;
    font-weight: 1000;
}

.analytics-agent-card em {
    color: var(--analytics-yellow);
    font-style: normal;
    font-weight: 950;
}

.analytics-kanban {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.analytics-kanban section {
    border-radius: 20px;
    padding: 14px;
    background: rgba(3, 13, 30, .36);
    border: 1px solid rgba(255, 255, 255, .10);
}

.analytics-kanban h3 {
    color: #fff;
    margin: 0 0 12px;
    font-size: 1.05rem;
}

.analytics-kanban article {
    border-radius: 16px;
    padding: 14px;
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(255, 255, 255, .12);
}

.analytics-kanban article + article {
    margin-top: 10px;
}

.analytics-kanban article strong {
    display: block;
    color: #fff;
}

.analytics-kanban article span {
    color: #cbe4f7;
    font-weight: 800;
}

.analytics-revenue-total {
    color: #fff;
    font-size: clamp(2.5rem, 4vw, 4.2rem);
    font-weight: 1000;
    letter-spacing: -.055em;
    margin-bottom: 16px;
}

.control-revenue-list {
    display: grid;
    gap: 12px;
}

.control-revenue-list div {
    border-radius: 18px;
    padding: 16px;
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(255, 255, 255, .12);
}

.control-revenue-list span,
.control-revenue-list strong {
    display: block;
    color: #fff;
    font-weight: 1000;
}

.control-revenue-list strong {
    margin-top: 8px;
    font-size: 1.35rem;
}

.analytics-activity-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.analytics-activity-grid b {
    color: var(--analytics-yellow);
}

.analytics-health-list div {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.analytics-health-list span {
    color: #dceeff;
    font-weight: 900;
}

.analytics-health-list i {
    grid-column: 1 / -1;
    width: fit-content;
    border-radius: 999px;
    padding: 5px 10px;
    background: rgba(24, 224, 189, .16);
    color: #9cffed;
}

.analytics-shortcuts {
    grid-template-columns: repeat(6, minmax(150px, 1fr));
}

@media (max-width: 1380px) {
    .control-analytics-room {
        grid-template-columns: 230px minmax(0, 1fr);
    }
    .analytics-board-grid-featured,
    .analytics-lower-grid {
        grid-template-columns: 1fr;
    }
    .analytics-agent-strip,
    .analytics-shortcuts,
    .analytics-activity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .control-analytics-room {
        grid-template-columns: 1fr;
    }
    .analytics-sidebar {
        position: relative;
        height: auto;
    }
    .analytics-hero,
    .analytics-kpi-row,
    .analytics-donut-wrap,
    .analytics-kanban,
    .analytics-agent-strip,
    .analytics-shortcuts,
    .analytics-activity-grid {
        grid-template-columns: 1fr;
    }
    .analytics-hero h1 {
        font-size: clamp(2.7rem, 16vw, 5rem);
    }
    .analytics-donut {
        width: 180px;
        height: 180px;
    }
    .analytics-bar-row {
        grid-template-columns: 1fr;
    }
    .analytics-panel header {
        display: grid;
    }
}

/* YOPI agent communication cockpit */
.analytics-agent-ops-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(360px, .82fr);
}

.analytics-agent-comms {
    display: grid;
    gap: 14px;
}

.analytics-agent-comms article {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 18px 18px 18px 22px;
    border: 1px solid rgba(169, 215, 255, .20);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(47, 199, 255, .08));
    overflow: hidden;
}

.analytics-agent-comms article::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, #2fc7ff, #2432a4);
}

.analytics-agent-comms article > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.analytics-agent-comms strong {
    color: #fff;
    font-weight: 1000;
}

.analytics-agent-comms span,
.analytics-agent-comms small,
.analytics-agent-comms p,
.analytics-agent-note {
    color: #cfe6f8;
    font-weight: 850;
}

.analytics-agent-comms p,
.analytics-agent-note {
    margin: 0;
    line-height: 1.55;
}

.analytics-agent-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.analytics-agent-status-grid div {
    border: 1px solid rgba(169, 215, 255, .20);
    border-radius: 18px;
    padding: 16px;
    background: rgba(255, 255, 255, .08);
}

.analytics-agent-status-grid strong,
.analytics-agent-status-grid span,
.analytics-agent-status-grid small {
    display: block;
}

.analytics-agent-status-grid strong {
    color: #fff;
    font-size: 2.2rem;
    line-height: 1;
    font-weight: 1000;
}

.analytics-agent-status-grid span {
    margin-top: 8px;
    color: #ffe073;
    font-weight: 1000;
}

.analytics-agent-status-grid small {
    margin-top: 4px;
    color: #cfe6f8;
    font-weight: 850;
}

.analytics-agent-note {
    margin-top: 16px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(47, 199, 255, .10);
    border: 1px solid rgba(47, 199, 255, .22);
}

@media (max-width: 1380px) {
    .analytics-agent-ops-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .analytics-agent-status-grid {
        grid-template-columns: 1fr;
    }
}

/* YOPI Autopilot */
.analytics-inline-form {
    display: inline-flex;
    margin: 0;
}

.analytics-inline-form button,
.analytics-autopilot-action button {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #2297f4, #2630a8);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(21, 116, 238, 0.28);
}

.analytics-autopilot-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr) auto;
    gap: 16px;
    align-items: stretch;
    padding: 18px;
    margin: 14px 0;
    border: 1px solid rgba(47, 199, 255, 0.42);
    background:
        radial-gradient(circle at 8% 10%, rgba(47, 199, 255, 0.20), transparent 34%),
        linear-gradient(135deg, rgba(6, 26, 55, 0.96), rgba(35, 69, 123, 0.94));
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.20);
}

.analytics-autopilot-copy span {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(47, 199, 255, 0.16);
    color: #9ddeff;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.analytics-autopilot-copy h2 {
    margin: 12px 0 8px;
    color: #fff;
    font-size: clamp(26px, 4vw, 52px);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.analytics-autopilot-copy p {
    margin: 0;
    max-width: 780px;
    color: rgba(235, 246, 255, 0.84);
    line-height: 1.55;
}

.analytics-autopilot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.analytics-autopilot-grid article {
    min-height: 104px;
    padding: 14px;
    border: 1px solid rgba(157, 222, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
}

.analytics-autopilot-grid strong {
    display: block;
    color: #fff;
    font-size: 24px;
    line-height: 1;
}

.analytics-autopilot-grid span {
    display: block;
    margin-top: 8px;
    color: #9ddeff;
    font-weight: 900;
}

.analytics-autopilot-grid small {
    display: block;
    margin-top: 6px;
    color: rgba(235, 246, 255, 0.72);
}

.analytics-autopilot-action {
    display: flex;
    min-width: 210px;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
}

.analytics-autopilot-action small {
    color: rgba(235, 246, 255, 0.74);
    line-height: 1.35;
}

@media (max-width: 1180px) {
    .analytics-autopilot-panel {
        grid-template-columns: 1fr;
    }

    .analytics-autopilot-action {
        min-width: 0;
    }
}

@media (max-width: 720px) {
    .analytics-autopilot-grid {
        grid-template-columns: 1fr;
    }
}

/* Legal, Cookie and SEO landing pages */
.legal-page-shell,
.seo-landing-page {
    min-height: 100vh;
    padding: 72px max(22px, calc((100vw - 1180px) / 2)) 84px;
    color: #f8fbff;
    background:
        radial-gradient(circle at 12% 12%, rgba(49, 188, 255, .30), transparent 32%),
        radial-gradient(circle at 86% 4%, rgba(37, 47, 181, .32), transparent 34%),
        linear-gradient(135deg, #154d78 0%, #13345f 46%, #10295a 100%);
}

.legal-hero,
.seo-landing-hero,
.legal-content-card,
.legal-side-card,
.seo-content-grid article,
.seo-faq-grid article,
.seo-related-section,
.seo-hero-card {
    background: rgba(95, 124, 150, .42);
    border: 1px solid rgba(178, 221, 255, .26);
    box-shadow: 0 26px 70px rgba(0, 18, 56, .26);
    backdrop-filter: blur(18px);
}

.legal-hero {
    border-radius: 34px;
    padding: clamp(32px, 5vw, 70px);
    margin-bottom: 28px;
}

.legal-hero h1,
.seo-landing-hero h1 {
    max-width: 900px;
    margin: 12px 0 16px;
    font-size: clamp(2.4rem, 6vw, 5.6rem);
    line-height: .95;
    letter-spacing: -.06em;
    color: #fff;
}

.legal-hero p,
.seo-landing-hero p,
.legal-content-card li,
.seo-content-grid p,
.seo-faq-grid p,
.seo-hero-card p,
.seo-hero-card li {
    color: rgba(244, 249, 255, .86);
}

.legal-meta-row,
.seo-keyword-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.legal-meta-row span,
.seo-keyword-row span,
.legal-side-card nav a,
.legal-cookie-button,
.yop-footer-link-button {
    border: 1px solid rgba(178, 221, 255, .34);
    background: rgba(245, 250, 255, .12);
    color: #f8fbff;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 800;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: 24px;
    align-items: start;
}

.legal-side-card,
.legal-content-card {
    border-radius: 28px;
    padding: 24px;
}

.legal-side-card {
    position: sticky;
    top: 120px;
}

.legal-side-card strong,
.legal-section h2,
.seo-content-grid h2,
.seo-faq-grid h3,
.seo-related-section h2,
.seo-hero-card strong {
    color: #fff;
}

.legal-side-card nav {
    display: grid;
    gap: 10px;
    margin: 20px 0;
}

.legal-contact-mini {
    display: grid;
    gap: 6px;
    margin: 18px 0 22px;
    padding: 16px;
    border: 1px solid rgba(178, 221, 255, .28);
    border-radius: 20px;
    background: rgba(5, 18, 36, .22);
    color: rgba(248, 251, 255, .82);
}

.legal-contact-mini span:first-child {
    color: #9fe5ff;
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.legal-contact-mini strong {
    color: #fff;
}

.legal-contact-mini a {
    color: #9fe5ff;
    font-weight: 800;
    text-decoration: none;
}

.legal-contact-mini a:hover {
    color: #fff;
}

.legal-side-card nav a,
.yop-footer-link-button,
.legal-cookie-button {
    text-decoration: none;
    cursor: pointer;
    font: inherit;
}

.legal-side-card nav a.is-active,
.legal-side-card nav a:hover,
.legal-cookie-button:hover,
.yop-footer-link-button:hover,
.seo-primary-cta:hover {
    background: linear-gradient(135deg, #159bff, #252fb5);
    color: #fff;
}

.legal-section {
    padding: 0 0 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(178, 221, 255, .22);
}

.legal-section:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section ul,
.seo-hero-card ul {
    margin: 14px 0 0;
    padding-left: 18px;
}

.legal-section li + li,
.seo-hero-card li + li {
    margin-top: 10px;
}

.seo-landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 24px;
    border-radius: 34px;
    padding: clamp(28px, 5vw, 64px);
}

.seo-primary-cta {
    display: inline-flex;
    margin-top: 26px;
    padding: 15px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #159bff, #252fb5);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
}

.seo-hero-card {
    border-radius: 26px;
    padding: 24px;
}

.seo-content-grid,
.seo-faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.seo-content-grid article,
.seo-faq-grid article,
.seo-related-section {
    border-radius: 24px;
    padding: 24px;
}

.seo-faq-section {
    margin-top: 36px;
}

.seo-section-title h2 {
    color: #fff;
    margin: 8px 0 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.seo-related-section {
    margin-top: 28px;
}

.seo-related-section div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.seo-related-section a {
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(178, 221, 255, .24);
    font-weight: 800;
}

.yop-footer-link-button {
    text-align: left;
    background: transparent;
    color: inherit;
    border: 0;
    padding: 0;
    border-radius: 0;
}

.yop-cookie-banner {
    position: fixed;
    z-index: 80;
    left: 50%;
    bottom: 22px;
    width: min(920px, calc(100vw - 32px));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: 24px;
    color: #07182f;
    background: rgba(244, 250, 255, .96);
    border: 1px solid rgba(21, 155, 255, .24);
    box-shadow: 0 28px 80px rgba(1, 13, 36, .28);
}

.yop-cookie-banner[hidden] {
    display: none;
}

.yop-cookie-banner p {
    margin: 6px 0 8px;
    color: #31435d;
}

.yop-cookie-banner a {
    color: #0b63ff;
    font-weight: 800;
}

.yop-cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.yop-cookie-actions button {
    border: 0;
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 900;
    cursor: pointer;
}

.yop-cookie-actions button:first-child {
    background: #e8f2ff;
    color: #07182f;
}

.yop-cookie-actions button:last-child {
    background: linear-gradient(135deg, #159bff, #252fb5);
    color: #fff;
}

@media (max-width: 860px) {
    .legal-layout,
    .seo-landing-hero,
    .yop-cookie-banner {
        grid-template-columns: 1fr;
    }

    .legal-side-card {
        position: static;
    }

    .seo-content-grid,
    .seo-faq-grid {
        grid-template-columns: 1fr;
    }

    .yop-cookie-actions {
        justify-content: stretch;
    }

    .yop-cookie-actions button {
        flex: 1 1 180px;
    }
}

/* Yop-Anzeige Tag-/Nachtmodus */
.ads-theme-toolbar {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px 8px 14px;
    border: 1px solid rgba(21, 155, 255, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 18px 40px rgba(15, 39, 84, .14);
    backdrop-filter: blur(16px);
}

.ads-theme-toolbar > span {
    color: #071527;
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ads-theme-switch {
    position: relative;
    z-index: 2;
    display: inline-flex;
    gap: 8px;
    margin: 0;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(21, 155, 255, .22);
    box-shadow: 0 14px 32px rgba(15, 39, 84, .10);
}

.ads-theme-switch button {
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 900;
    color: #071527;
    background: transparent;
    cursor: pointer;
}

.ads-theme-switch button.is-active {
    color: #fff;
    background: linear-gradient(135deg, #159bff, #252fb5);
}

.ads-create-row {
    max-width: 1180px;
    margin: 0 auto 22px;
    padding: 0 24px;
}

.ads-create-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    color: #fff;
    font-weight: 950;
    text-decoration: none;
    background: linear-gradient(135deg, #159bff, #252fb5);
    box-shadow: 0 18px 42px rgba(21, 155, 255, .28);
}

.ads-create-button:hover {
    transform: translateY(-2px);
}

.ads-page.ads-theme-dark {
    --ads-ink: #f8fbff;
    --ads-muted: rgba(235, 244, 255, .78);
    --ads-line: rgba(178, 221, 255, .26);
    --ads-soft: rgba(21,155,255,.18);
    color: var(--ads-ink);
    background:
        radial-gradient(circle at 12% 12%, rgba(49, 188, 255, .30), transparent 32%),
        radial-gradient(circle at 86% 4%, rgba(37, 47, 181, .32), transparent 34%),
        linear-gradient(135deg, #154d78 0%, #13345f 46%, #10295a 100%);
}

.ads-page.ads-theme-dark .ads-hero-copy,
.ads-page.ads-theme-dark .ads-search-card,
.ads-page.ads-theme-dark .ads-category-card,
.ads-page.ads-theme-dark .ads-filter-card,
.ads-page.ads-theme-dark .ads-listing-card,
.ads-page.ads-theme-dark .ads-empty {
    color: #f8fbff;
    background: rgba(95, 124, 150, .42);
    border-color: rgba(178, 221, 255, .26);
    box-shadow: 0 26px 70px rgba(0, 18, 56, .26);
}

.ads-page.ads-theme-dark .ads-search-card input,
.ads-page.ads-theme-dark .ads-search-card select {
    color: #071527;
    background: rgba(248, 251, 255, .96);
}

.ads-page.ads-theme-dark .ads-theme-switch {
    background: rgba(95, 124, 150, .46);
}

.ads-page.ads-theme-dark .ads-theme-toolbar {
    background: rgba(12, 31, 57, .76);
    border-color: rgba(178, 221, 255, .26);
}

.ads-page.ads-theme-dark .ads-theme-toolbar > span {
    color: #9fe5ff;
}

.ads-page.ads-theme-dark .ads-theme-switch button:not(.is-active) {
    color: #f8fbff;
}

.yop-honeypot-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 760px) {
    .ads-theme-toolbar {
        position: relative;
        inset: auto;
        width: max-content;
        max-width: 100%;
        margin: 0 0 18px;
        flex-wrap: wrap;
        border-radius: 22px;
    }
}


/* Globaler Yop Tag-/Nachtmodus */
.yop-theme-toggle {
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(21,155,255,.18);
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, #159bff, #211b86);
    box-shadow: 0 14px 34px rgba(21,155,255,.22);
}

.yop-theme-toggle span {
    position: absolute;
    font-size: 22px;
    line-height: 1;
    transition: opacity .18s ease, transform .18s ease;
}

.yop-theme-toggle .yop-theme-sun {
    color: #ffcc33;
    opacity: 0;
    transform: scale(.65) rotate(-45deg);
}

.yop-theme-toggle .yop-theme-moon {
    color: #ffffff;
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.yop-theme-toggle.is-light {
    background: linear-gradient(135deg, #eaf6ff, #ffffff);
}

.yop-theme-toggle.is-light .yop-theme-sun {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.yop-theme-toggle.is-light .yop-theme-moon {
    opacity: 0;
    transform: scale(.65) rotate(45deg);
}

html[data-yop-theme="light"] body,
html[data-yop-theme="light"] body:has(.estate-page),
html[data-yop-theme="light"] body:has(.auto-page),
html[data-yop-theme="light"] body:has(.insurance-page),
html[data-yop-theme="light"] body:has(.portal-shell),
html[data-yop-theme="light"] body:has(.jobs-shell),
html[data-yop-theme="light"] body:has(.agri-estate-style) {
    background: #eef6ff !important;
}

html[data-yop-theme="light"] .estate-page,
html[data-yop-theme="light"] .auto-page,
html[data-yop-theme="light"] .insurance-page,
html[data-yop-theme="light"] .agri-estate-style,
html[data-yop-theme="light"] .portal-shell,
html[data-yop-theme="light"] .jobs-shell,
html[data-yop-theme="light"] .profis-page,
html[data-yop-theme="light"] .ads-page,
html[data-yop-theme="light"] .compare-hub-page,
html[data-yop-theme="light"] .reise-page {
    background:
        radial-gradient(circle at 12% 8%, rgba(21,155,255,.18), transparent 30%),
        radial-gradient(circle at 88% 0%, rgba(33,27,134,.13), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #eef6ff 48%, #e9f2ff 100%) !important;
    color: #071527 !important;
}

html[data-yop-theme="dark"] .estate-page,
html[data-yop-theme="dark"] .auto-page,
html[data-yop-theme="dark"] .insurance-page,
html[data-yop-theme="dark"] .agri-estate-style,
html[data-yop-theme="dark"] .portal-shell,
html[data-yop-theme="dark"] .jobs-shell,
html[data-yop-theme="dark"] .profis-page,
html[data-yop-theme="dark"] .ads-page,
html[data-yop-theme="dark"] .compare-hub-page,
html[data-yop-theme="dark"] .reise-page {
    background:
        radial-gradient(circle at 12% 8%, rgba(21,155,255,.26), transparent 30%),
        radial-gradient(circle at 88% 0%, rgba(33,27,134,.16), transparent 28%),
        radial-gradient(circle at 52% 64%, rgba(33,27,134,.24), transparent 42%),
        linear-gradient(180deg, #1f3e61 0%, #17304f 46%, #132841 100%) !important;
    color: #f8fbff !important;
}

html[data-yop-theme="light"] .yop-global-nav,
html[data-yop-theme="light"] .estate-topbar,
html[data-yop-theme="light"] .portal-topbar,
html[data-yop-theme="light"] .jobs-topbar,
html[data-yop-theme="light"] .insurance-topbar {
    background: rgba(255,255,255,.94) !important;
}

html[data-yop-theme="dark"] .yop-global-nav,
html[data-yop-theme="dark"] .estate-topbar,
html[data-yop-theme="dark"] .portal-topbar,
html[data-yop-theme="dark"] .jobs-topbar,
html[data-yop-theme="dark"] .insurance-topbar {
    background: rgba(232,243,255,.88) !important;
}

/* Einheitliche Medien-Galerien */
.yop-media-gallery,
.yop-card-gallery {
    display: grid;
    gap: 12px;
}

.yop-media-gallery {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-top: 16px;
}

.yop-media-gallery.compact {
    grid-template-columns: repeat(auto-fit, minmax(130px, 180px));
}

.yop-media-gallery img,
.yop-media-gallery video,
.yop-card-gallery img,
.yop-card-gallery video {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid rgba(178,221,255,.28);
    background: rgba(255,255,255,.12);
    box-shadow: 0 18px 46px rgba(0, 18, 56, .18);
}

.yop-card-gallery {
    grid-template-columns: repeat(2, minmax(72px, 1fr));
    min-width: 150px;
}

.yop-upload-panel {
    margin-top: 18px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(178,221,255,.22);
}

.yop-upload-panel h2 {
    margin: 0 0 8px;
}

.yop-upload-panel p {
    margin: 0 0 14px;
    color: var(--yop-dark-muted, #c7d5e6);
}

.profis-request-panel {
    max-width: 1180px;
    margin: 24px auto;
    padding: 28px;
    border-radius: 32px;
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 22px;
    align-items: center;
    background: rgba(95,124,150,.36);
    border: 1px solid rgba(178,221,255,.26);
    box-shadow: 0 28px 80px rgba(0, 18, 56, .18);
}

.profis-request-form {
    display: grid;
    grid-template-columns: 1fr 1fr .8fr auto;
    gap: 12px;
    align-items: end;
}

.profis-request-form label {
    display: grid;
    gap: 8px;
}

.profis-request-form button {
    min-height: 58px;
    border: 0;
    border-radius: 18px;
    color: #fff;
    font-weight: 950;
    background: linear-gradient(135deg, #159bff, #211b86);
    cursor: pointer;
}

.profis-owner-action {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .profis-request-panel,
    .profis-request-form {
        grid-template-columns: 1fr;
    }

    .yop-global-links {
        justify-content: center;
    }
}


/* Yop-Profis Auftragscenter */
.profis-request-shell, .profis-detail-grid { width: min(1180px, calc(100% - 32px)); margin: 56px auto; display: grid; grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.45fr); gap: 24px; }
.profis-request-aside, .profis-request-form-card, .profis-detail-card, .profis-orders-head, .profis-idea-box, .profis-order-card { border: 1px solid rgba(163, 207, 255, 0.28); background: linear-gradient(135deg, rgba(77, 112, 148, 0.78), rgba(31, 62, 102, 0.78)); border-radius: 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.20); }
.profis-request-aside { padding: 34px; align-self: start; position: sticky; top: 96px; }
.profis-request-aside h1, .profis-orders-head h1, .profis-detail-hero h1 { margin: 0 0 14px; font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: .95; color: #fff; }
.profis-request-aside p, .profis-orders-head p, .profis-detail-hero p { color: rgba(235, 246, 255, .86); }
.profis-step-list { display: grid; gap: 12px; margin: 28px 0; }
.profis-step-list span { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 16px; background: rgba(255,255,255,.08); color: #eef7ff; }
.profis-step-list b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: linear-gradient(135deg, #2496f2, #2a2ba8); }
.profis-ghost-link, .profis-secondary-action { color: #bde9ff; font-weight: 900; text-decoration: none; }
.profis-request-form-card { padding: 22px; }
.profis-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.profis-form-grid label:first-child, .profis-form-grid label:nth-child(3), .profis-form-grid .account-field-checkbox { grid-column: 1 / -1; }
.profis-form-grid textarea { min-height: 160px; }
.profis-upload-panel { margin-top: 18px; }
.profis-request-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.profis-primary-action { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 16px; background: linear-gradient(135deg, #2496f2, #2a2ba8); color: #fff; font-weight: 900; text-decoration: none; border: 0; }
.profis-orders-page, .profis-request-detail-page { padding-bottom: 70px; }
.profis-orders-head, .profis-detail-hero { width: min(1120px, calc(100% - 32px)); margin: 52px auto 22px; padding: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border: 1px solid rgba(163, 207, 255, 0.28); background: linear-gradient(135deg, rgba(77, 112, 148, 0.78), rgba(31, 62, 102, 0.78)); border-radius: 28px; }
.profis-orders-head > a, .profis-detail-hero nav a { padding: 13px 18px; border-radius: 999px; background: #fff; color: #0c1930; font-weight: 900; text-decoration: none; }
.profis-idea-box, .profis-order-list { width: min(1120px, calc(100% - 32px)); margin: 18px auto; }
.profis-idea-box { padding: 20px 24px; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.profis-idea-box strong { color: #fff; font-size: 1.2rem; }
.profis-idea-box p { margin: 0; color: rgba(235,246,255,.84); }
.profis-idea-box a { color: #bde9ff; font-weight: 900; text-decoration: none; }
.profis-order-list { display: grid; gap: 18px; }
.profis-order-list.compact { width: auto; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.profis-order-card { overflow: hidden; }
.profis-order-main { display: flex; justify-content: space-between; gap: 18px; padding: 22px; color: #fff; text-decoration: none; }
.profis-order-main h2, .profis-order-main h3 { margin: 0 0 6px; color: #fff; }
.profis-order-main p, .profis-order-main span { color: rgba(235,246,255,.82); }
.profis-order-main b { font-size: 2rem; color: #bde9ff; }
.profis-order-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0 22px 20px; }
.profis-order-metrics.vertical { grid-template-columns: 1fr; padding: 0; margin: 20px 0; }
.profis-order-metrics span { padding: 14px; border-radius: 15px; background: rgba(255,255,255,.08); color: rgba(235,246,255,.86); }
.profis-order-metrics strong { display: block; color: #fff; font-size: 1.8rem; }
.profis-order-card footer { background: rgba(255,255,255,.08); padding: 16px 22px; display: flex; flex-wrap: wrap; gap: 16px; }
.profis-order-card footer a { color: #bde9ff; font-weight: 900; text-decoration: none; }
.profis-empty-order { padding: 34px; border-radius: 28px; background: rgba(255,255,255,.08); color: #fff; }
.profis-detail-hero nav { display: flex; gap: 12px; flex-wrap: wrap; }
.profis-detail-card { padding: 26px; color: #eef7ff; }
.profis-detail-card.large { min-height: 340px; }
.profis-detail-card h2 { color: #fff; margin-top: 0; }
.profis-request-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 24px 0; }
.profis-request-facts div { padding: 14px; border-radius: 14px; background: rgba(255,255,255,.08); }
.profis-request-facts dt { color: #bde9ff; font-weight: 800; }
.profis-request-facts dd { margin: 4px 0 0; color: #fff; font-weight: 900; }
.profis-request-media { margin-top: 22px; }
html[data-yop-theme='light'] .profis-request-aside, html[data-yop-theme='light'] .profis-request-form-card, html[data-yop-theme='light'] .profis-detail-card, html[data-yop-theme='light'] .profis-orders-head, html[data-yop-theme='light'] .profis-idea-box, html[data-yop-theme='light'] .profis-order-card { background: rgba(255,255,255,.82); color: #10233d; }
html[data-yop-theme='light'] .profis-request-aside h1, html[data-yop-theme='light'] .profis-orders-head h1, html[data-yop-theme='light'] .profis-detail-hero h1, html[data-yop-theme='light'] .profis-detail-card h2, html[data-yop-theme='light'] .profis-order-main h2, html[data-yop-theme='light'] .profis-order-main h3 { color: #10233d; }
html[data-yop-theme='light'] .profis-request-aside p, html[data-yop-theme='light'] .profis-orders-head p, html[data-yop-theme='light'] .profis-detail-hero p, html[data-yop-theme='light'] .profis-order-main p, html[data-yop-theme='light'] .profis-order-main span { color: #526478; }
@media (max-width: 900px) { .profis-request-shell, .profis-detail-grid { grid-template-columns: 1fr; margin-top: 28px; } .profis-request-aside { position: static; } .profis-form-grid, .profis-request-facts, .profis-order-metrics { grid-template-columns: 1fr; } .profis-orders-head, .profis-detail-hero, .profis-idea-box { align-items: flex-start; flex-direction: column; } }


/* Yop Enterprise Design Bridge v1 */
:root {
    --yop-enterprise-bg: #f7f9fc;
    --yop-enterprise-bg-2: #eef4ff;
    --yop-enterprise-card: rgba(255,255,255,.94);
    --yop-enterprise-ink: #0f172a;
    --yop-enterprise-muted: #64748b;
    --yop-enterprise-border: #e5e7eb;
    --yop-enterprise-blue: #2563ff;
    --yop-enterprise-purple: #7c3aed;
    --yop-enterprise-magenta: #c026d3;
    --yop-enterprise-shadow: 0 18px 48px rgba(15,23,42,.08);
    --yop-enterprise-radius: 24px;
}

html[data-yop-theme="light"] body {
    background: var(--yop-enterprise-bg) !important;
    color: var(--yop-enterprise-ink) !important;
}

html[data-yop-theme="light"] .yop-page-main {
    background:
        radial-gradient(circle at 14% 3%, rgba(37,99,255,.10), transparent 32%),
        radial-gradient(circle at 92% 5%, rgba(192,38,211,.12), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 42%, #eef4ff 100%) !important;
}

html[data-yop-theme="light"] .estate-page,
html[data-yop-theme="light"] .auto-page,
html[data-yop-theme="light"] .insurance-page,
html[data-yop-theme="light"] .ads-page,
html[data-yop-theme="light"] .profis-page,
html[data-yop-theme="light"] .reise-page,
html[data-yop-theme="light"] .compare-hub-page,
html[data-yop-theme="light"] .agri-estate-style,
html[data-yop-theme="light"] .yop-jobs-page,
html[data-yop-theme="light"] .jobs-shell,
html[data-yop-theme="light"] .portal-shell,
html[data-yop-theme="light"] .yop-compare-page,
html[data-yop-theme="light"] .edu-page,
html[data-yop-theme="light"] .account-page {
    background: transparent !important;
    color: var(--yop-enterprise-ink) !important;
}

html[data-yop-theme="light"] .yop-global-nav,
html[data-yop-theme="light"] .portal-topbar,
html[data-yop-theme="light"] .jobs-topbar,
html[data-yop-theme="light"] .insurance-topbar,
html[data-yop-theme="light"] .agri-estate-topbar,
html[data-yop-theme="light"] .estate-topbar {
    background: rgba(255,255,255,.86) !important;
    border-bottom: 1px solid rgba(226,232,240,.85) !important;
    box-shadow: 0 10px 34px rgba(15,23,42,.06) !important;
    backdrop-filter: blur(18px);
}

html[data-yop-theme="light"] .yop-global-links a,
html[data-yop-theme="light"] .yop-global-links button,
html[data-yop-theme="light"] .portal-topbar nav a,
html[data-yop-theme="light"] .jobs-topbar nav a,
html[data-yop-theme="light"] .insurance-topbar nav a,
html[data-yop-theme="light"] .agri-estate-nav a,
html[data-yop-theme="light"] .estate-topbar nav a {
    background: rgba(255,255,255,.92) !important;
    color: #0f172a !important;
    border: 1px solid rgba(226,232,240,.95) !important;
    box-shadow: 0 10px 24px rgba(15,23,42,.07) !important;
}

html[data-yop-theme="light"] .yop-global-links a.is-active,
html[data-yop-theme="light"] .yop-global-links a:hover,
html[data-yop-theme="light"] .portal-topbar nav a:hover,
html[data-yop-theme="light"] .jobs-topbar nav a:hover,
html[data-yop-theme="light"] .insurance-topbar nav a:hover,
html[data-yop-theme="light"] .agri-estate-nav a:hover,
html[data-yop-theme="light"] .estate-topbar nav a:hover {
    background: linear-gradient(135deg, var(--yop-enterprise-blue), var(--yop-enterprise-purple)) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

html[data-yop-theme="light"] .estate-results-hero,
html[data-yop-theme="light"] .estate-editor-hero,
html[data-yop-theme="light"] .estate-dashboard-hero,
html[data-yop-theme="light"] .searchers-hero,
html[data-yop-theme="light"] .auto-hero,
html[data-yop-theme="light"] .auto-detail-hero,
html[data-yop-theme="light"] .auto-dashboard-hero,
html[data-yop-theme="light"] .auto-editor-hero,
html[data-yop-theme="light"] .insurance-hero,
html[data-yop-theme="light"] .portal-hero-card,
html[data-yop-theme="light"] .jobs-hero,
html[data-yop-theme="light"] .profis-hero,
html[data-yop-theme="light"] .reise-hero,
html[data-yop-theme="light"] .compare-hub-hero,
html[data-yop-theme="light"] .agri-estate-hero,
html[data-yop-theme="light"] .ads-hero,
html[data-yop-theme="light"] .enterprise-hero,
html[data-yop-theme="light"] .account-hero {
    background: var(--yop-enterprise-card) !important;
    border: 1px solid var(--yop-enterprise-border) !important;
    border-radius: clamp(24px, 3vw, 36px) !important;
    box-shadow: var(--yop-enterprise-shadow) !important;
    color: var(--yop-enterprise-ink) !important;
}

html[data-yop-theme="light"] .estate-result-card,
html[data-yop-theme="light"] .estate-dashboard-card,
html[data-yop-theme="light"] .estate-editor-card,
html[data-yop-theme="light"] .estate-contact-card,
html[data-yop-theme="light"] .auto-sell-card,
html[data-yop-theme="light"] .auto-search-panel,
html[data-yop-theme="light"] .auto-result-card,
html[data-yop-theme="light"] .auto-detail-card,
html[data-yop-theme="light"] .auto-contact-card,
html[data-yop-theme="light"] .insurance-compare-card,
html[data-yop-theme="light"] .insurance-need-box,
html[data-yop-theme="light"] .insurance-product-card,
html[data-yop-theme="light"] .portal-filter-card,
html[data-yop-theme="light"] .portal-offer-row,
html[data-yop-theme="light"] .job-card,
html[data-yop-theme="light"] .job-detail-panel,
html[data-yop-theme="light"] .profis-hero-card,
html[data-yop-theme="light"] .profis-category-card,
html[data-yop-theme="light"] .profis-result-card,
html[data-yop-theme="light"] .profis-request-panel,
html[data-yop-theme="light"] .profis-request-aside,
html[data-yop-theme="light"] .profis-request-form-card,
html[data-yop-theme="light"] .profis-detail-card,
html[data-yop-theme="light"] .profis-order-card,
html[data-yop-theme="light"] .reise-deal-card,
html[data-yop-theme="light"] .reise-result-card,
html[data-yop-theme="light"] .compare-hub-card,
html[data-yop-theme="light"] .compare-hub-quick,
html[data-yop-theme="light"] .agri-category-card,
html[data-yop-theme="light"] .agri-top-products,
html[data-yop-theme="light"] .agri-price-compare,
html[data-yop-theme="light"] .ads-search-card,
html[data-yop-theme="light"] .ads-category-card,
html[data-yop-theme="light"] .ads-filter-card,
html[data-yop-theme="light"] .ads-listing-card,
html[data-yop-theme="light"] .enterprise-category-card,
html[data-yop-theme="light"] .enterprise-listing-card,
html[data-yop-theme="light"] .account-menu-card,
html[data-yop-theme="light"] .account-auth-card,
html[data-yop-theme="light"] .account-edit-form {
    background: var(--yop-enterprise-card) !important;
    color: var(--yop-enterprise-ink) !important;
    border: 1px solid var(--yop-enterprise-border) !important;
    border-radius: var(--yop-enterprise-radius) !important;
    box-shadow: var(--yop-enterprise-shadow) !important;
}

html[data-yop-theme="light"] h1,
html[data-yop-theme="light"] h2,
html[data-yop-theme="light"] h3,
html[data-yop-theme="light"] strong,
html[data-yop-theme="light"] label,
html[data-yop-theme="light"] dt,
html[data-yop-theme="light"] .neo-kicker,
html[data-yop-theme="light"] .eyebrow,
html[data-yop-theme="light"] .enterprise-kicker,
html[data-yop-theme="light"] .auto-eyebrow {
    color: var(--yop-enterprise-ink) !important;
}

html[data-yop-theme="light"] p,
html[data-yop-theme="light"] li,
html[data-yop-theme="light"] small,
html[data-yop-theme="light"] dd,
html[data-yop-theme="light"] span {
    color: inherit;
}

html[data-yop-theme="light"] .estate-page p,
html[data-yop-theme="light"] .auto-page p,
html[data-yop-theme="light"] .insurance-page p,
html[data-yop-theme="light"] .portal-shell p,
html[data-yop-theme="light"] .jobs-shell p,
html[data-yop-theme="light"] .profis-page p,
html[data-yop-theme="light"] .reise-page p,
html[data-yop-theme="light"] .compare-hub-page p,
html[data-yop-theme="light"] .agri-estate-style p,
html[data-yop-theme="light"] .ads-page p,
html[data-yop-theme="light"] .edu-page p,
html[data-yop-theme="light"] .account-page p {
    color: var(--yop-enterprise-muted) !important;
}

html[data-yop-theme="light"] input,
html[data-yop-theme="light"] select,
html[data-yop-theme="light"] textarea {
    background: #fff !important;
    color: var(--yop-enterprise-ink) !important;
    border: 1px solid #dbe2ea !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}

html[data-yop-theme="light"] input::placeholder,
html[data-yop-theme="light"] textarea::placeholder {
    color: #94a3b8 !important;
}

html[data-yop-theme="light"] .estate-filter-form,
html[data-yop-theme="light"] .auto-search-form,
html[data-yop-theme="light"] .insurance-compare-card,
html[data-yop-theme="light"] .portal-search,
html[data-yop-theme="light"] .jobs-search,
html[data-yop-theme="light"] .profis-search,
html[data-yop-theme="light"] .reise-search,
html[data-yop-theme="light"] .compare-hub-search,
html[data-yop-theme="light"] .agri-estate-filter-form,
html[data-yop-theme="light"] .ads-search-card,
html[data-yop-theme="light"] .enterprise-search {
    background: #eef4ff !important;
    border: 1px solid #dbe7ff !important;
    border-radius: 24px !important;
    box-shadow: 0 14px 34px rgba(37,99,255,.08) !important;
    gap: 14px !important;
}

html[data-yop-theme="light"] button,
html[data-yop-theme="light"] .estate-filter-form button,
html[data-yop-theme="light"] .auto-search-form button,
html[data-yop-theme="light"] .insurance-page button,
html[data-yop-theme="light"] .portal-search button,
html[data-yop-theme="light"] .jobs-search button,
html[data-yop-theme="light"] .profis-search button,
html[data-yop-theme="light"] .reise-search button,
html[data-yop-theme="light"] .compare-hub-search button,
html[data-yop-theme="light"] .agri-estate-filter-form button,
html[data-yop-theme="light"] .ads-search-card button,
html[data-yop-theme="light"] .enterprise-primary-button,
html[data-yop-theme="light"] .enterprise-link-button,
html[data-yop-theme="light"] .profis-primary-action {
    border: 0;
    background: linear-gradient(135deg, var(--yop-enterprise-blue), var(--yop-enterprise-magenta)) !important;
    color: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 14px 30px rgba(37,99,255,.22) !important;
}

html[data-yop-theme="light"] a {
    color: var(--yop-enterprise-blue);
}

html[data-yop-theme="light"] .auto-hero-stats span,
html[data-yop-theme="light"] .insurance-trust-row span,
html[data-yop-theme="light"] .ads-trust-row span,
html[data-yop-theme="light"] .agri-chip,
html[data-yop-theme="light"] .estate-chip,
html[data-yop-theme="light"] .enterprise-pills a {
    background: #fff !important;
    color: var(--yop-enterprise-blue) !important;
    border: 1px solid var(--yop-enterprise-border) !important;
    box-shadow: 0 8px 20px rgba(15,23,42,.06) !important;
}

html[data-yop-theme="light"] .yop-theme-toggle {
    min-width: 48px;
    min-height: 42px;
    padding: 0 10px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

html[data-yop-theme="light"] .yop-theme-toggle .yop-theme-sun { opacity: 1; color: #f59e0b !important; }
html[data-yop-theme="light"] .yop-theme-toggle .yop-theme-moon { opacity: .35; color: #334155 !important; }
html[data-yop-theme="dark"] .yop-theme-toggle .yop-theme-sun { opacity: .35; }
html[data-yop-theme="dark"] .yop-theme-toggle .yop-theme-moon { opacity: 1; }

@media (max-width: 980px) {
    html[data-yop-theme="light"] .estate-filter-form,
    html[data-yop-theme="light"] .auto-search-form,
    html[data-yop-theme="light"] .portal-search,
    html[data-yop-theme="light"] .jobs-search,
    html[data-yop-theme="light"] .profis-search,
    html[data-yop-theme="light"] .reise-search,
    html[data-yop-theme="light"] .compare-hub-search,
    html[data-yop-theme="light"] .agri-estate-filter-form,
    html[data-yop-theme="light"] .enterprise-search {
        grid-template-columns: 1fr !important;
    }
}

/* Yop Enterprise Light Normalizer v2 */
html[data-yop-theme="light"] body:not(:has(.control-room-page)):not(:has(.analytics-dashboard-page)) {
    background: #f7f9fc !important;
    color: #0f172a !important;
}

html[data-yop-theme="light"] body:not(:has(.control-room-page)):not(:has(.analytics-dashboard-page)) .yop-page-main {
    min-height: 100vh;
    background:
        radial-gradient(circle at 10% 2%, rgba(37, 99, 255, .12), transparent 28%),
        radial-gradient(circle at 92% 5%, rgba(192, 38, 211, .13), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 45%, #eef4ff 100%) !important;
}

html[data-yop-theme="light"] :is(
    .estate-page,
    .auto-page,
    .insurance-page,
    .ads-page,
    .profis-page,
    .reise-page,
    .compare-hub-page,
    .agri-estate-style,
    .yop-jobs-page,
    .yop-compare-page,
    .edu-page,
    .account-page
) {
    background: transparent !important;
    color: #0f172a !important;
}

html[data-yop-theme="light"] :is(
    .estate-page,
    .auto-page,
    .insurance-page,
    .ads-page,
    .profis-page,
    .reise-page,
    .compare-hub-page,
    .agri-estate-style,
    .yop-jobs-page,
    .yop-compare-page,
    .edu-page,
    .account-page
) :is(
    .portal-shell,
    .jobs-shell,
    .auto-account-shell,
    .auto-contact-shell,
    .auto-dashboard-grid,
    .auto-dashboard-list,
    .auto-editor-shell,
    .auto-detail-layout,
    .estate-account-shell,
    .estate-contact-flow-shell,
    .estate-dashboard-shell,
    .estate-editor-shell,
    .estate-inbox-shell,
    .searchers-services,
    .searchers-featured,
    .profis-request-shell,
    .profis-detail-grid,
    .profis-order-list,
    .reise-results,
    .ads-results-section,
    .agri-compare-layout,
    .enterprise-shell
) {
    background: transparent !important;
    color: #0f172a !important;
}

html[data-yop-theme="light"] :is(
    .estate-page,
    .auto-page,
    .insurance-page,
    .ads-page,
    .profis-page,
    .reise-page,
    .compare-hub-page,
    .agri-estate-style,
    .yop-jobs-page,
    .yop-compare-page,
    .edu-page,
    .account-page
) :is(
    .estate-results-hero,
    .estate-editor-hero,
    .estate-dashboard-hero,
    .estate-account-card,
    .estate-contact-flow-card,
    .estate-contact-success-card,
    .estate-dashboard-card,
    .estate-editor-card,
    .estate-inbox-card,
    .estate-result-card,
    .estate-contact-card,
    .searchers-hero,
    .searchers-search-card,
    .searchers-service-card,
    .searchers-property-card,
    .searchers-owner-strip,
    .auto-hero,
    .auto-sell-card,
    .auto-search-panel,
    .auto-result-card,
    .auto-detail-hero,
    .auto-detail-card,
    .auto-contact-card,
    .auto-contact-summary,
    .auto-success-card,
    .auto-account-card,
    .auto-account-intro,
    .auto-dashboard-hero,
    .auto-dashboard-list,
    .auto-dashboard-row,
    .auto-editor-hero,
    .auto-editor-card,
    .insurance-hero,
    .insurance-compare-card,
    .insurance-need-box,
    .insurance-step-grid article,
    .insurance-product-card,
    .insurance-guide-card,
    .portal-hero-card,
    .portal-filter-card,
    .portal-offers,
    .portal-offer-row,
    .portal-empty,
    .jobs-hero,
    .job-card,
    .job-detail-panel,
    .profis-hero,
    .profis-hero-card,
    .profis-request-panel,
    .profis-stats div,
    .profis-category-card,
    .profis-result-card,
    .profis-request-aside,
    .profis-request-form-card,
    .profis-detail-card,
    .profis-orders-head,
    .profis-idea-box,
    .profis-order-card,
    .profis-empty-order,
    .reise-hero,
    .reise-deal-card,
    .reise-result-card,
    .reise-ai-list small,
    .compare-hub-hero,
    .compare-hub-card,
    .compare-hub-quick,
    .agri-hero-panel,
    .agri-top-products,
    .agri-price-compare,
    .agri-compare-row,
    .agri-start-box,
    .agri-category-card,
    .ads-hero-copy,
    .ads-search-card,
    .ads-category-card,
    .ads-filter-card,
    .ads-listing-card,
    .ads-empty,
    .enterprise-hero,
    .enterprise-panel,
    .enterprise-form-card,
    .enterprise-detail-card,
    .enterprise-side-card,
    .enterprise-category-card,
    .enterprise-listing-card,
    .enterprise-why-grid article,
    .edu-offer-card,
    .account-hero,
    .account-menu-card,
    .account-auth-card,
    .account-edit-form
) {
    background: rgba(255, 255, 255, .94) !important;
    background-image: none !important;
    color: #0f172a !important;
    border-color: #e5e7eb !important;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .08) !important;
}

html[data-yop-theme="light"] :is(
    .estate-page,
    .auto-page,
    .insurance-page,
    .ads-page,
    .profis-page,
    .reise-page,
    .compare-hub-page,
    .agri-estate-style,
    .yop-jobs-page,
    .yop-compare-page,
    .edu-page,
    .account-page
) :is(h1, h2, h3, h4, strong, b, label, dt, legend, .neo-kicker, .eyebrow, .enterprise-kicker, .auto-eyebrow) {
    color: #0f172a !important;
}

html[data-yop-theme="light"] :is(
    .estate-page,
    .auto-page,
    .insurance-page,
    .ads-page,
    .profis-page,
    .reise-page,
    .compare-hub-page,
    .agri-estate-style,
    .yop-jobs-page,
    .yop-compare-page,
    .edu-page,
    .account-page
) :is(p, li, small, span, dd) {
    color: #64748b !important;
}

html[data-yop-theme="light"] :is(
    .estate-page,
    .auto-page,
    .insurance-page,
    .ads-page,
    .profis-page,
    .reise-page,
    .compare-hub-page,
    .agri-estate-style,
    .yop-jobs-page,
    .yop-compare-page,
    .edu-page,
    .account-page
) :is(a, .profis-secondary-action, .auto-inline-action, .job-apply-link) {
    color: #2563ff !important;
}

html[data-yop-theme="light"] :is(
    .estate-page,
    .auto-page,
    .insurance-page,
    .ads-page,
    .profis-page,
    .reise-page,
    .compare-hub-page,
    .agri-estate-style,
    .yop-jobs-page,
    .yop-compare-page,
    .edu-page,
    .account-page
) :is(input, select, textarea) {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #dbe2ea !important;
}

html[data-yop-theme="light"] :is(
    .estate-filter-form,
    .auto-search-form,
    .insurance-compare-card,
    .portal-search,
    .jobs-search,
    .profis-search,
    .reise-search,
    .compare-hub-search,
    .agri-estate-filter-form,
    .ads-search-card,
    .enterprise-search
) {
    background: #eef4ff !important;
    background-image: none !important;
    border: 1px solid #dbe7ff !important;
    box-shadow: 0 14px 34px rgba(37, 99, 255, .08) !important;
}

html[data-yop-theme="light"] :is(
    .estate-page,
    .auto-page,
    .insurance-page,
    .ads-page,
    .profis-page,
    .reise-page,
    .compare-hub-page,
    .agri-estate-style,
    .yop-jobs-page,
    .yop-compare-page,
    .edu-page,
    .account-page
) :is(button, .button, .btn, .profis-primary-action, .enterprise-link-button, .enterprise-primary-button, .ads-create-button, .auto-owner-edit, .auto-secondary-action) {
    background: linear-gradient(135deg, #2563ff, #c026d3) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

html[data-yop-theme="light"] :is(
    .auto-hero-stats span,
    .insurance-trust-row span,
    .ads-trust-row span,
    .agri-chip,
    .estate-chip,
    .enterprise-pills a,
    .profis-step-list span,
    .profis-order-metrics span,
    .portal-feature-list small,
    .reise-ai-list small
) {
    background: #f8fafc !important;
    color: #2563ff !important;
    border: 1px solid #e5e7eb !important;
}

html[data-yop-theme="light"] .yop-ai-toggle,
html[data-yop-theme="light"] .yop-ai-form button,
html[data-yop-theme="light"] .yop-cookie-actions button:last-child {
    background: linear-gradient(135deg, #2563ff, #7c3aed) !important;
    color: #fff !important;
}

/* Yop Enterprise Light Final Fix v3 */
html,
html[data-yop-theme="light"] {
    color-scheme: light;
}

.yop-theme-toggle {
    display: none !important;
}

html[data-yop-theme="light"] body,
html[data-yop-theme="light"] .yop-page-main,
html[data-yop-theme="light"] :is(.auto-page, .profis-page, .reise-page, .yop-jobs-page, .compare-hub-page, .estate-page, .edu-page) {
    background:
        radial-gradient(circle at 12% 4%, rgba(37, 99, 255, .08), transparent 26%),
        radial-gradient(circle at 90% 4%, rgba(192, 38, 211, .10), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 48%, #eef4ff 100%) !important;
    color: #0f172a !important;
}

html[data-yop-theme="light"] :is(.jobs-shell, .auto-results-layout, .auto-market-layout, .auto-listings, .profis-section, .profis-card-grid, .reise-results, .estate-results-layout, .estate-map-panel) {
    background: transparent !important;
    color: #0f172a !important;
}

html[data-yop-theme="light"] :is(
    .auto-hero,
    .auto-result-card,
    .auto-side-card,
    .auto-brand-card,
    .auto-search-panel,
    .profis-hero,
    .profis-owner-action,
    .profis-result-card,
    .profis-provider-card,
    .profis-cta,
    .reise-result-card,
    .reise-result-visual,
    .jobs-hero,
    .job-card,
    .job-detail-panel,
    .estate-map-panel,
    .compare-button-dock,
    .compare-button-dock a,
    .enterprise-why-grid article,
    .edu-offer-card
) {
    background: rgba(255, 255, 255, .96) !important;
    background-image: none !important;
    color: #0f172a !important;
    border-color: #e5e7eb !important;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .08) !important;
}

html[data-yop-theme="light"] :is(.auto-hero *, .auto-result-card *, .auto-side-card *, .auto-brand-card *, .profis-result-card *, .profis-owner-action *, .profis-cta *, .reise-result-card *, .jobs-shell *, .compare-button-dock *, .edu-offer-card *) {
    text-shadow: none !important;
}

html[data-yop-theme="light"] :is(
    .auto-hero p,
    .auto-result-card p,
    .auto-result-card span,
    .auto-side-card li,
    .profis-result-card p,
    .profis-result-card span,
    .profis-result-card small,
    .profis-owner-action a,
    .reise-result-card p,
    .reise-result-card span,
    .reise-result-card small,
    .jobs-shell p,
    .jobs-shell span,
    .compare-button-dock small,
    .compare-button-dock span,
    .edu-offer-card p,
    .edu-offer-card span,
    .edu-offer-card small
) {
    color: #64748b !important;
}

html[data-yop-theme="light"] :is(
    .auto-hero h1,
    .auto-result-card h2,
    .auto-result-card h3,
    .auto-side-card h2,
    .auto-side-card strong,
    .profis-result-card h2,
    .profis-result-card h3,
    .profis-result-card strong,
    .profis-owner-action a,
    .reise-result-card h2,
    .reise-result-card h3,
    .reise-result-card strong,
    .jobs-shell h1,
    .jobs-shell h2,
    .jobs-shell h3,
    .compare-button-dock strong,
    .edu-offer-card h2,
    .edu-offer-card h3,
    .edu-offer-card strong
) {
    color: #0f172a !important;
}

html[data-yop-theme="light"] :is(
    .auto-sell-actions a,
    .auto-result-card a,
    .auto-result-card button,
    .profis-owner-action a,
    .profis-result-card a,
    .profis-result-card button,
    .profis-cta a,
    .reise-result-card a,
    .reise-result-card button,
    .jobs-owner-action a,
    .job-card a,
    .job-detail-panel a,
    .enterprise-card-actions a,
    .edu-offer-card a,
    .compare-button-dock a:hover
) {
    background: linear-gradient(135deg, #2563ff, #c026d3) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 14px 30px rgba(37, 99, 255, .20) !important;
}

html[data-yop-theme="light"] :is(
    .auto-sell-actions a *,
    .auto-result-card a *,
    .auto-result-card button *,
    .profis-owner-action a *,
    .profis-result-card a *,
    .profis-result-card button *,
    .profis-cta a *,
    .reise-result-card a *,
    .reise-result-card button *,
    .jobs-owner-action a *,
    .job-card a *,
    .job-detail-panel a *,
    .enterprise-card-actions a *,
    .edu-offer-card a *
) {
    color: #ffffff !important;
}

html[data-yop-theme="light"] :is(.portal-topbar nav a, .jobs-topbar nav a, .estate-topbar nav a, .insurance-topbar nav a) {
    background: rgba(255,255,255,.90) !important;
    color: #0f172a !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 999px !important;
    padding: 10px 14px !important;
    box-shadow: 0 10px 24px rgba(15,23,42,.06) !important;
    text-decoration: none !important;
}

html[data-yop-theme="light"] :is(.portal-topbar nav a:hover, .jobs-topbar nav a:hover, .estate-topbar nav a:hover, .insurance-topbar nav a:hover) {
    background: linear-gradient(135deg, #2563ff, #7c3aed) !important;
    color: #fff !important;
}

html[data-yop-theme="light"] .estate-map-panel {
    min-height: 420px;
}

html[data-yop-theme="light"] .reise-result-visual {
    display: grid;
    place-items: center;
    border-radius: 22px !important;
}

/* Yop Enterprise Readability and Light Polish v4 */
html[data-yop-theme="light"] body:not(:has(.control-room-page)):not(:has(.analytics-dashboard-page)) {
    font-weight: 400 !important;
    letter-spacing: normal !important;
}

html[data-yop-theme="light"] body:not(:has(.control-room-page)):not(:has(.analytics-dashboard-page)) :is(
    .auto-page,
    .profis-page,
    .reise-page,
    .yop-jobs-page,
    .compare-hub-page,
    .estate-page,
    .edu-page,
    .ads-page,
    .insurance-page,
    .agri-estate-style,
    .account-page
) :is(section, article, aside, div, main, header, footer) {
    background-color: transparent;
}

html[data-yop-theme="light"] body:not(:has(.control-room-page)):not(:has(.analytics-dashboard-page)) :is(
    .auto-page,
    .profis-page,
    .reise-page,
    .yop-jobs-page,
    .compare-hub-page,
    .estate-page,
    .edu-page,
    .ads-page,
    .insurance-page,
    .agri-estate-style,
    .account-page
) :is(
    [class*="card"],
    [class*="panel"],
    [class*="box"],
    [class*="hero"],
    [class*="row"],
    [class*="list"],
    [class*="shell"],
    [class*="dock"],
    [class*="result"],
    [class*="offer"],
    [class*="filter"],
    [class*="search"],
    [class*="cta"],
    [class*="stats"]
) {
    background: rgba(255,255,255,.96) !important;
    background-image: none !important;
    color: #0f172a !important;
    border-color: #e5e7eb !important;
}

html[data-yop-theme="light"] body:not(:has(.control-room-page)):not(:has(.analytics-dashboard-page)) :is(
    h1, h2, h3, h4, h5, h6
) {
    color: #0f172a !important;
    font-weight: 650 !important;
    letter-spacing: -0.035em !important;
}

html[data-yop-theme="light"] body:not(:has(.control-room-page)):not(:has(.analytics-dashboard-page)) h1 {
    font-size: clamp(2.4rem, 5vw, 4.7rem) !important;
    line-height: 1.02 !important;
}

html[data-yop-theme="light"] body:not(:has(.control-room-page)):not(:has(.analytics-dashboard-page)) h2 {
    font-size: clamp(1.65rem, 3vw, 2.65rem) !important;
    line-height: 1.12 !important;
}

html[data-yop-theme="light"] body:not(:has(.control-room-page)):not(:has(.analytics-dashboard-page)) h3 {
    font-size: clamp(1.1rem, 1.6vw, 1.45rem) !important;
    line-height: 1.25 !important;
}

html[data-yop-theme="light"] body:not(:has(.control-room-page)):not(:has(.analytics-dashboard-page)) :is(
    p, li, small, span, dd, input, select, textarea, label, a
) {
    font-weight: 400 !important;
    letter-spacing: normal !important;
}

html[data-yop-theme="light"] body:not(:has(.control-room-page)):not(:has(.analytics-dashboard-page)) :is(
    strong, b, dt, label, .eyebrow, .neo-kicker, .enterprise-kicker, .auto-eyebrow
) {
    font-weight: 600 !important;
}

html[data-yop-theme="light"] body:not(:has(.control-room-page)):not(:has(.analytics-dashboard-page)) :is(
    button,
    .button,
    .btn,
    a[class*="button"],
    a[class*="action"],
    a[class*="link-button"],
    .yop-global-links a,
    .portal-topbar nav a,
    .jobs-topbar nav a,
    .estate-topbar nav a,
    .insurance-topbar nav a,
    .agri-estate-nav a,
    .auto-sell-actions a,
    .auto-result-card a,
    .profis-owner-action a,
    .profis-result-card a,
    .profis-cta a,
    .reise-result-card a,
    .jobs-owner-action a,
    .job-card a,
    .job-detail-panel a,
    .enterprise-card-actions a,
    .edu-offer-card a
) {
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    color: #ffffff !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

html[data-yop-theme="light"] .yop-global-links a:not(.is-active),
html[data-yop-theme="light"] .portal-topbar nav a:not(:hover),
html[data-yop-theme="light"] .jobs-topbar nav a:not(:hover),
html[data-yop-theme="light"] .estate-topbar nav a:not(:hover),
html[data-yop-theme="light"] .insurance-topbar nav a:not(:hover),
html[data-yop-theme="light"] .agri-estate-nav a:not(:hover) {
    color: #0f172a !important;
    background: rgba(255,255,255,.94) !important;
}

html[data-yop-theme="light"] :is(.auto-result-card, .auto-brand-card, .auto-side-card, .auto-hero, .profis-result-card, .profis-hero, .profis-owner-action, .reise-result-card, .jobs-shell, .compare-button-dock, .estate-map-panel) :is(h1,h2,h3,strong,b,label,dt,p,span,small,li,dd) {
    opacity: 1 !important;
    filter: none !important;
}

html[data-yop-theme="light"] :is(.auto-result-card, .auto-brand-card, .auto-side-card, .auto-hero, .profis-result-card, .profis-hero, .profis-owner-action, .reise-result-card, .jobs-shell, .compare-button-dock, .estate-map-panel) :is(p,span,small,li,dd) {
    color: #64748b !important;
}

html[data-yop-theme="light"] :is(.auto-result-card, .auto-brand-card, .auto-side-card, .auto-hero, .profis-result-card, .profis-hero, .profis-owner-action, .reise-result-card, .jobs-shell, .compare-button-dock, .estate-map-panel) :is(h1,h2,h3,strong,b,label,dt) {
    color: #0f172a !important;
}

html[data-yop-theme="light"] :is(.auto-result-card, .profis-result-card, .reise-result-card, .job-card, .edu-offer-card) :is(a,button) {
    min-height: 46px;
    padding: 12px 18px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 14px !important;
}

html[data-yop-theme="light"] :is(.auto-result-card, .profis-result-card, .reise-result-card, .job-card, .edu-offer-card) :is(a,button):is(:hover,:focus-visible) {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(37,99,255,.24) !important;
}

html[data-yop-theme="light"] .compare-button-dock a {
    min-height: 92px;
    border-radius: 20px !important;
}

html[data-yop-theme="light"] .compare-button-dock a :is(strong, span, small) {
    color: #0f172a !important;
}

html[data-yop-theme="light"] .compare-button-dock a:hover :is(strong, span, small) {
    color: #ffffff !important;
}

html[data-yop-theme="light"] :is(.auto-brand-card, .auto-side-card, .estate-map-panel) {
    background: #ffffff !important;
    background-image: none !important;
}

html[data-yop-theme="light"] :is(.jobs-shell, .yop-jobs-page) {
    background: transparent !important;
}

html[data-yop-theme="light"] .jobs-shell::before,
html[data-yop-theme="light"] .portal-shell::before {
    display: none !important;
}

html[data-yop-theme="light"] .yop-ai-toggle span,
html[data-yop-theme="light"] .yop-ai-toggle small {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Yop Enterprise Button Text Fix v5 */
html[data-yop-theme="light"] .yop-global-links a,
html[data-yop-theme="light"] .portal-topbar nav a,
html[data-yop-theme="light"] .jobs-topbar nav a,
html[data-yop-theme="light"] .estate-topbar nav a,
html[data-yop-theme="light"] .insurance-topbar nav a,
html[data-yop-theme="light"] .agri-estate-nav a {
    color: #0f172a !important;
    background: rgba(255,255,255,.96) !important;
    border: 1px solid #dbe2ea !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    opacity: 1 !important;
}

html[data-yop-theme="light"] .yop-global-links a.is-active,
html[data-yop-theme="light"] .yop-global-links a:hover,
html[data-yop-theme="light"] .portal-topbar nav a:hover,
html[data-yop-theme="light"] .jobs-topbar nav a:hover,
html[data-yop-theme="light"] .estate-topbar nav a:hover,
html[data-yop-theme="light"] .insurance-topbar nav a:hover,
html[data-yop-theme="light"] .agri-estate-nav a:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #2563ff, #7c3aed) !important;
    border-color: transparent !important;
}

html[data-yop-theme="light"] .yop-global-links a.is-active *,
html[data-yop-theme="light"] .yop-global-links a:hover *,
html[data-yop-theme="light"] .portal-topbar nav a:hover *,
html[data-yop-theme="light"] .jobs-topbar nav a:hover *,
html[data-yop-theme="light"] .estate-topbar nav a:hover *,
html[data-yop-theme="light"] .insurance-topbar nav a:hover *,
html[data-yop-theme="light"] .agri-estate-nav a:hover * {
    color: #ffffff !important;
}

html[data-yop-theme="light"] :is(
    button,
    input[type="submit"],
    input[type="button"],
    .button,
    .btn,
    .primary-button,
    .cta-button,
    .enterprise-link-button,
    .enterprise-primary-button,
    .ads-create-button,
    .auto-owner-edit,
    .auto-secondary-action,
    .auto-sell-actions a,
    .auto-result-card > a,
    .auto-result-card button,
    .profis-primary-action,
    .profis-result-card > a,
    .profis-result-card button,
    .profis-cta a,
    .reise-result-card > a,
    .reise-result-card button,
    .jobs-owner-action a,
    .job-card .job-apply-link,
    .job-detail-panel a,
    .enterprise-card-actions a,
    .edu-offer-card .enterprise-card-actions a,
    .portal-offer-row > a,
    .insurance-compare-card button,
    .insurance-need-box > a,
    .insurance-product-card,
    .compare-hub-search button,
    .ads-search-card button,
    .agri-shop-button
) {
    color: #ffffff !important;
    font-weight: 650 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

html[data-yop-theme="light"] :is(
    button,
    input[type="submit"],
    input[type="button"],
    .button,
    .btn,
    .primary-button,
    .cta-button,
    .enterprise-link-button,
    .enterprise-primary-button,
    .ads-create-button,
    .auto-owner-edit,
    .auto-secondary-action,
    .auto-sell-actions a,
    .auto-result-card > a,
    .auto-result-card button,
    .profis-primary-action,
    .profis-result-card > a,
    .profis-result-card button,
    .profis-cta a,
    .reise-result-card > a,
    .reise-result-card button,
    .jobs-owner-action a,
    .job-card .job-apply-link,
    .job-detail-panel a,
    .enterprise-card-actions a,
    .edu-offer-card .enterprise-card-actions a,
    .portal-offer-row > a,
    .insurance-compare-card button,
    .insurance-need-box > a,
    .compare-hub-search button,
    .ads-search-card button,
    .agri-shop-button
) * {
    color: #ffffff !important;
    opacity: 1 !important;
}

html[data-yop-theme="light"] :is(
    .enterprise-pills a,
    .estate-chip,
    .agri-chip,
    .auto-body-chip,
    .auto-hero-stats span,
    .insurance-trust-row span,
    .ads-trust-row span,
    .portal-feature-list small,
    .reise-ai-list small,
    .profis-result-card small,
    .profis-order-metrics span,
    .compare-button-dock a
) {
    color: #2563ff !important;
    background: #ffffff !important;
    font-weight: 600 !important;
    opacity: 1 !important;
}

html[data-yop-theme="light"] .compare-button-dock a:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #2563ff, #7c3aed) !important;
}

html[data-yop-theme="light"] .compare-button-dock a:hover * {
    color: #ffffff !important;
}

/* Yop Navbar Contrast Final Fix v6 */
:root {
    --yop-gradient-main: linear-gradient(135deg, #2563ff 0%, #7c3aed 55%, #c026d3 100%);
    --yop-nav-text: #0f172a;
    --yop-nav-border: #dbe5f2;
}

html[data-yop-theme="light"] body .yop-global-nav nav.yop-global-links > a,
html[data-yop-theme="light"] body :is(.portal-topbar, .jobs-topbar, .estate-topbar, .insurance-topbar) nav > a,
html[data-yop-theme="light"] body .agri-estate-nav > a {
    background: #ffffff !important;
    background-image: none !important;
    color: var(--yop-nav-text) !important;
    border: 1px solid var(--yop-nav-border) !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .07) !important;
    opacity: 1 !important;
    filter: none !important;
    text-shadow: none !important;
    font-weight: 600 !important;
}

html[data-yop-theme="light"] body .yop-global-nav nav.yop-global-links > a:not(.is-active),
html[data-yop-theme="light"] body .yop-global-nav nav.yop-global-links > a:not(.is-active) *,
html[data-yop-theme="light"] body :is(.portal-topbar, .jobs-topbar, .estate-topbar, .insurance-topbar) nav > a:not(.is-active),
html[data-yop-theme="light"] body :is(.portal-topbar, .jobs-topbar, .estate-topbar, .insurance-topbar) nav > a:not(.is-active) *,
html[data-yop-theme="light"] body .agri-estate-nav > a:not(.is-active),
html[data-yop-theme="light"] body .agri-estate-nav > a:not(.is-active) * {
    color: var(--yop-nav-text) !important;
}

html[data-yop-theme="light"] body .yop-global-nav nav.yop-global-links > a.is-active,
html[data-yop-theme="light"] body .yop-global-nav nav.yop-global-links > a:hover,
html[data-yop-theme="light"] body .yop-global-nav nav.yop-global-links > a:focus-visible,
html[data-yop-theme="light"] body :is(.portal-topbar, .jobs-topbar, .estate-topbar, .insurance-topbar) nav > a.is-active,
html[data-yop-theme="light"] body :is(.portal-topbar, .jobs-topbar, .estate-topbar, .insurance-topbar) nav > a:hover,
html[data-yop-theme="light"] body :is(.portal-topbar, .jobs-topbar, .estate-topbar, .insurance-topbar) nav > a:focus-visible,
html[data-yop-theme="light"] body .agri-estate-nav > a.is-active,
html[data-yop-theme="light"] body .agri-estate-nav > a:hover,
html[data-yop-theme="light"] body .agri-estate-nav > a:focus-visible {
    background: var(--yop-gradient-main) !important;
    background-image: var(--yop-gradient-main) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 16px 34px rgba(37, 99, 255, .24) !important;
}

html[data-yop-theme="light"] body .yop-global-nav nav.yop-global-links > a.is-active *,
html[data-yop-theme="light"] body .yop-global-nav nav.yop-global-links > a:hover *,
html[data-yop-theme="light"] body .yop-global-nav nav.yop-global-links > a:focus-visible *,
html[data-yop-theme="light"] body :is(.portal-topbar, .jobs-topbar, .estate-topbar, .insurance-topbar) nav > a.is-active *,
html[data-yop-theme="light"] body :is(.portal-topbar, .jobs-topbar, .estate-topbar, .insurance-topbar) nav > a:hover *,
html[data-yop-theme="light"] body :is(.portal-topbar, .jobs-topbar, .estate-topbar, .insurance-topbar) nav > a:focus-visible *,
html[data-yop-theme="light"] body .agri-estate-nav > a.is-active *,
html[data-yop-theme="light"] body .agri-estate-nav > a:hover *,
html[data-yop-theme="light"] body .agri-estate-nav > a:focus-visible * {
    color: #ffffff !important;
}

html[data-yop-theme="light"] body :is(
    .primary-button,
    .cta-button,
    .enterprise-link-button,
    .enterprise-primary-button,
    .ads-create-button,
    .auto-owner-edit,
    .auto-secondary-action,
    .auto-sell-actions a,
    .auto-result-card > a,
    .auto-result-card button,
    .profis-primary-action,
    .profis-result-card > a,
    .profis-result-card button,
    .profis-cta a,
    .reise-result-card > a,
    .reise-result-card button,
    .jobs-owner-action a,
    .job-card .job-apply-link,
    .job-detail-panel a,
    .enterprise-card-actions a,
    .edu-offer-card .enterprise-card-actions a,
    .portal-offer-row > a,
    .insurance-compare-card button,
    .insurance-need-box > a,
    .compare-hub-search button,
    .ads-search-card button,
    .agri-shop-button
) {
    background: var(--yop-gradient-main) !important;
    background-image: var(--yop-gradient-main) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

html[data-yop-theme="light"] body :is(
    .primary-button,
    .cta-button,
    .enterprise-link-button,
    .enterprise-primary-button,
    .ads-create-button,
    .auto-owner-edit,
    .auto-secondary-action,
    .auto-sell-actions a,
    .auto-result-card > a,
    .auto-result-card button,
    .profis-primary-action,
    .profis-result-card > a,
    .profis-result-card button,
    .profis-cta a,
    .reise-result-card > a,
    .reise-result-card button,
    .jobs-owner-action a,
    .job-card .job-apply-link,
    .job-detail-panel a,
    .enterprise-card-actions a,
    .edu-offer-card .enterprise-card-actions a,
    .portal-offer-row > a,
    .insurance-compare-card button,
    .insurance-need-box > a,
    .compare-hub-search button,
    .ads-search-card button,
    .agri-shop-button
) * {
    color: #ffffff !important;
}
