.projects-section {
    padding-top: 74px;
}

.projects-section .section-heading,
.projects-section .project-tabs {
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
}

.projects-section .project-card {
    width: calc(100% + 84px);
    max-width: none;
    margin-left: -42px;
    margin-right: -42px;
    box-sizing: border-box;
}

/* ── Project Tabs ─────────────────────────────── */
.project-tabs {
    display: flex;
    gap: 42px;
    padding: 0;
    margin-bottom: 0;
    position: relative;
    left: -36px;
    align-items: flex-end;
    color: var(--text-main);
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 120%;
    letter-spacing: 0;
}

.project-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 14px 18px;
    border-radius: 10px;
    color: #89BCD9;
    transform: none;
    white-space: nowrap;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.project-tab:hover {
    color: #89BCD9;
}

.project-tabs .is-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px 16px 0 0;
    z-index: 2;
}

.project-tabs .is-active:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
}

.project-tabs a:hover {
    transform: none;
}

/* ── Project Card ─────────────────────────────── */
.project-card {
    display: grid;
    grid-template-columns: minmax(0, 580px) minmax(0, 500px);
    justify-content: center;
    align-items: start;
    gap: 10px;
    min-height: 460px;
    border-radius: 10px;
    padding: 22px;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.03);
    margin-top: 0;
}

.project-card.is-active {
    border-top-left-radius: 0;
    border-top-right-radius: 10px;
}

/* ── Project Copy (Left Column) ───────────────── */
.project-copy {
    position: relative;
    left: -56px;
    top: 5px;
    opacity: 1;
    transition: opacity 0.55s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.project-copy.is-fading-in {
    opacity: 0;
}

.project-item {
    display: grid;
    grid-template-columns: 29px 1fr;
    column-gap: 10px;
    align-items: start;
}

.project-item + .project-item {
    margin-top: 52px;
}

.project-item-heading {
    display: contents;
    margin-bottom: 7px;
}

.project-item-icon {
    width: 29px;
    height: 26px;
    background: url("../assets/icons/Ellipse_hellblau_klein.svg") center / contain no-repeat;
    flex: 0 0 auto;
    margin-top: 1px;
}

.project-item h3 {
    grid-column: 2;
    color: var(--text-main);
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 120%;
    letter-spacing: 0;
    margin-bottom: 0;
}

.project-item p {
    grid-column: 2;
    color: var(--text-soft);
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    margin-top: 7px;
}

/* ── Project Preview (Right Column) ──────────── */
.project-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    left: 34px;
    top: 0;
}

.project-preview-title {
    display: none;
    width: 100%;
    max-width: 424px;
    margin: 0 0 18px;
    color: #89BCD9;
    text-align: left;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 1.2;
}

.project-technologies {
    order: 1;
    width: 100%;
    max-width: 424px;
    margin-bottom: 18px;
    text-align: center;
    opacity: 1;
    transition: opacity 0.55s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.project-technologies.is-fading-in {
    opacity: 0;
}

.project-technologies h3 {
    margin-bottom: 12px;
    color: #F8F5EC;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
}

.project-technologies-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.project-technology-icon {
    width: 34px;
    height: 36px;
    object-fit: contain;
}

.preview-window {
    order: 2;
    position: relative;
    width: 100%;
    max-width: 424px;
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.project-preview-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: opacity 0.275s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.coming-soon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    width: max-content;
    white-space: nowrap;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 30px;
    color: #89BCD9;
    letter-spacing: 0.02em;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.preview-window.is-coming-soon .coming-soon-overlay {
    opacity: 1;
}

/* ── Project Actions (Buttons) ────────────────── */
.project-actions {
    order: 3;
    display: flex;
    gap: 40px;
    margin-top: 30px;
    width: 100%;
    max-width: 424px;
    justify-content: center;
}

.project-actions-mobile {
    display: none;
}

/* ── Project Tabs Scrollbar ───────────────────── */
.project-tabs {
    scrollbar-width: thin;
    scrollbar-color: rgba(137, 188, 217, 0.4) rgba(255, 255, 255, 0.05);
}

.project-tabs::-webkit-scrollbar {
    height: 3px;
}

.project-tabs::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 99px;
}

.project-tabs::-webkit-scrollbar-thumb {
    background: rgba(137, 188, 217, 0.4);
    border-radius: 99px;
}

.project-tabs::-webkit-scrollbar-thumb:hover {
    background: rgba(137, 188, 217, 0.7);
}
