:root {
    --bg: #eef1ed;
    --surface: #f7f8f4;
    --surface-soft: #e2e9e2;
    --surface-strong: #cbd7cc;
    --surface-showcase: #dbe4dc;
    --text: #1d2926;
    --muted: #65716a;
    --muted-strong: #536158;
    --border: #c8d1c9;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.project-hero h1,
.project-story h2,
.mobile-showcase-text h2,
.project-cta h2 {
    font-family: Georgia, "Times New Roman", serif;
}

.project-label,
.project-story .section-label,
.mobile-showcase-text .section-label {
    color: var(--muted-strong);
}

.project-visual img {
    width: 86%;
}

.mobile-device-frame {
    position: relative;
    width: min(78%, 620px);
    padding: 24px 8px 8px;
    overflow: hidden;
    border: 1px solid #3a3a3a;
    border-radius: 24px;
    background: #171717;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.2);
}

.mobile-device-frame::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 16px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #777;
    box-shadow: 10px 0 #5d5d5d, 20px 0 #444;
    z-index: 1;
}

.mobile-device-frame::after {
    content: "studio-raumkante.de";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 118px;
    height: 14px;
    border-radius: 7px;
    background: #292929;
    color: #8b8b8b;
    font-size: 6px;
    line-height: 14px;
    text-align: center;
    transform: translateX(-50%);
    z-index: 1;
}

.mobile-device-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0 0 16px 16px;
}

.project-cta {
    background: var(--text);
}

@media (max-width: 600px) {
    .mobile-device-frame {
        width: 95%;
    }
}

@media (min-width: 700px) and (max-width: 1100px) and (orientation: portrait) {
    .mobile-device-frame {
        width: min(46%, 260px);
    }
}

@media (min-width: 700px) and (max-width: 1100px) and (orientation: landscape) {
    .mobile-device-frame {
        width: min(55%, 280px);
    }
}

@media (min-width: 1101px) and (max-width: 1400px) and (orientation: landscape) {
    .mobile-device-frame {
        width: min(55%, 360px);
    }
}
