body,
html,
main {
    margin: 0;
    padding: 0;
}


body {
    /* background-color: #fedeea; */
    background-color: #F8B3CC;

}

* {
    font-family: 'Arimo', sans-serif;
    transition: color 0.4s ease, background-color 0.4s ease;
}



main {
    min-height: auto;
    /* ← das entfernt den extra Platz */
    display: flex;
    flex-direction: column;
    gap: 0;
}

.projects {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    padding: 20px 20px 0 20px;
    /* kein padding unten */
}

article {
    flex: 0 0 150px;
    width: 150px;
    cursor: pointer;
}

article p {
    font-size: clamp(7px, 0.8vw, 11px);
    text-transform: uppercase;
    color: #fff;
    transition: color 0.2s;
    margin: 0;
}

.project-title {
    font-weight: bold;
}

.project-subtitle {
    font-weight: normal;
}

.indicator {
    height: 3px;
    background-color: #fff;
    margin-bottom: 8px;
    transition: background-color 0.2s;
}

article.active .indicator {
    background-color: #EB271C;
}

article.active p {
    color: #EB271C;
}

.video-container {
    display: flex;
    gap: 0;
    width: 100%;
    margin-top: 0;
}

.video-wrapper {
    flex: 1;
    position: relative;
    height: 34vw;
    /* passt sich der Bildschirmbreite an, bleibt 16:9 */
    overflow: hidden;
    height: 28.125vw;
    margin-top: 5vw;

}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.text {
    width: 50vw;
    font-size: clamp(8px, 1vw, 14px);
    text-transform: uppercase;
    color: #EB271C;
    pointer-events: all;

}

.project-content {
    display: none;
}

.project-content.active {
    display: flex;
}

.project-content {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-content.active {
    display: flex;
    opacity: 1;
}

.text.project-content.active {
    display: block;
    opacity: 1;
}



.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    padding: 0 20px 20px 20px;
    /* links + rechts + unten Abstand */
    z-index: 100;

}

.text {
    width: 50vw;
    font-size: clamp(8px, 1vw, 14px);
    text-transform: uppercase;
    color: #EB271C;
    pointer-events: all;
}


.color-switch {
    display: flex;
    justify-content: flex-end;
    /* rechts ausrichten */
    /* margin-right: 2vw; */
    margin-bottom: 2vw;
}

.color-switch-btn {
    background-color: #EB271C;
    color: white;
    text-transform: uppercase;
    border: none;
    padding: 10px 18px;
    border-radius: 16px;
    /* abgerundete Ecken */
    cursor: pointer;
    font-size: clamp(7px, 0.8vw, 11px);
}

.color-switch-btn:hover {
    background-color: #fff;
    color: #EB271C;
}




/* Color Switch Modus */
body.color-switched {
    background-color: #fff;
}

body.color-switched .indicator {
    background-color: #888;
}

body.color-switched article.active .indicator {
    background-color: #000;
}

body.color-switched article p {
    color: #888;
}

body.color-switched article.active p {
    color: #000;
}

body.color-switched .text {
    color: #000;
}

body.color-switched .socials a {
    color: #000;
}

body.color-switched .color-switch-btn {
    background-color: #000;
    color: #fff;
}

body.color-switched .color-switch-btn:hover {
    background-color: #888;
    color: #fff;
}

body.color-switched .copyright {
    color: #000;
}


.ebook-link {
  text-decoration: none;
  color: red;
}

body.color-switched .ebook-link {
  color: black;
}