/* Design overlay */
.design-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.design-overlay.active {
    opacity: 1;
    visibility: visible;
}

.design-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.design-overlay-panel {
    position: relative;
    background: rgba(239, 237, 232, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(239, 237, 232, 0.7);
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 82vh;
    overflow-y: auto;
    padding: 2.5rem;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: translateY(30px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.design-overlay.active .design-overlay-panel {
    transform: translateY(0) scale(1);
}

.design-overlay-close {
    position: sticky;
    top: 0;
    float: right;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: #555;
    z-index: 1;
    transition: background 0.2s, color 0.2s;
}

.design-overlay-close:hover {
    background: rgba(0, 0, 0, 0.12);
    color: #111;
}

.design-overlay h2 {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.design-intro {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.design-services {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.design-service {
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.design-service:last-child {
    border-bottom: none;
}

.design-service h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
    color: #1a1a1a;
}

.design-service p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.55;
}

.design-cta {
    text-align: center;
    margin-top: 1.75rem;
    padding-top: 0.5rem;
}

/* Scrollbar */
.design-overlay-panel::-webkit-scrollbar {
    width: 5px;
}
.design-overlay-panel::-webkit-scrollbar-track {
    background: transparent;
}
.design-overlay-panel::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 10px;
}
.design-overlay-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* Mobil */
@media (max-width: 640px) {
    .design-overlay-panel {
        width: 95%;
        padding: 1.75rem 1.25rem;
        max-height: 88vh;
        border-radius: 14px;
    }
    .design-overlay h2 {
        font-size: 1.3rem;
    }
}

/* Klickbar USP */
.usp-item[onclick] {
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 12px;
}
.usp-item[onclick]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.usp-item[onclick]::after {
    content: 'Läs mer →';
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}