:root {
    --hero-height: 730px;
    --nav-height: 60px;
    --carousel-item-min-height: 200px;
}

@media (min-height: 730px) {
    :root {
        --hero-height: 100vh;
    }
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: black;
    color: white;
}

.navbar {
    background-color: #1D1631;
}

.hero {
    background: url('../media/background-led.jpg') center -150px / cover no-repeat;
    height: var(--hero-height);
    padding-top: 80px;
    position: relative;
}

.hero-logo {
    margin-top: 15rem !important;
}

.btn-pink {
    background-color: #CE1A66;
    color: white;
    border: none;
    transition: all 0.2s;
}

.btn-pink:hover {
    background-color: #D7336D;
    color: white;
}

.btn-outline-pink {
    border: 2px solid #CE1A66;
    color: #CE1A66;
    background-color: transparent;
    transition: all 0.2s;
}

.btn-outline-pink:hover {
    background-color: #D7336D;
    color: white;
}

section {
    scroll-margin-top: var(--nav-height);
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.section-light {
    background-color: #fff;
    color: #000;
}


.challenges {
    padding: 6rem 2rem;
    text-align: center;
    background: #fff;
}

.challenges h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    font-weight: bold;
}

.challenge-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.challenge-item {
    flex: 1 1 250px;
    max-width: 300px;
    text-align: center;
    padding: 0 3.7rem;
}

.challenge-item img {
    height: 60px;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.challenge-item p {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}


.section-dark {
    background-color: #2A214D;
    color: #B3D4F3;
}

.reason-card {
    background-color: #3B3360;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
    text-align: left;
    height: 100%;
    min-height: var(--carousel-item-min-height); /* Je nach Inhalt anpassen */
}

.reason-number {
    font-size: 2rem;
    font-weight: 700;
    color: #8BC2F3;
}

.reason-title {
    font-weight: 600;
    color: white;
}

@media (min-width: 1200px) {
    .desktop-grid {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
    }

    .carousel-wrapper {
        display: none;
    }
}

@media (max-width: 1199.98px) {
    .desktop-grid {
        display: none;
    }

    .carousel-wrapper {
        display: block;
    }
}

.carousel-item {
    min-height: var(--carousel-item-min-height); /* Je nach Inhalt anpassen */
}


.bg-sky {
    background-color: #76BDE6 !important;
}

.bg-kachel {
    background-color: #5767A6;
}

.text-lightblue {
    color: #CDECF9;
}

.icon-tile {
    min-height: 100%;
}

.icon-tile img {
    width: 48px;
    height: auto;
}

.kompetenz-card {
    background-color: #5767A6;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.kompetenz-img {
    object-fit: cover;
    height: 180px;
    width: 100%;
}

.kompetenz-content {
    padding: 1.5rem 1.5rem 0 1.5rem;
    flex: 1 1 auto;
}

.kompetenz-content ul {
    display: none;
}

.kompetenz-content hr {
    border-color: #CDECF9;
    opacity: 0.4;
    margin: 1rem 0;
    display: none;
}

.kompetenz-logos {
    padding: 1rem 1.5rem;
}

.kompetenz-logos .logo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem; /* row-gap + column-gap */
}

.kompetenz-logos img {
    max-height: 24px;
    width: auto;
    object-fit: contain;
}

.kompetenz-logos .logo-grid img:nth-child(odd) {
    justify-self: start;
}

.kompetenz-logos .logo-grid img:nth-child(even) {
    justify-self: end;
}


.kompetenz-logos hr {
    border-color: #CDECF9;
    opacity: 0.4;
    margin: 1rem 0;
    visibility: hidden;
}

#prozess.bg-light {
    background-color: #EFEFEF !important;
}

.process-image {
    max-width: 100%;
    height: auto;
}
.process-list {
    text-align: left;
    font-size: 1.1rem;
}
.process-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}
.process-number {
    border: #76bde6 3px solid;
    color: #76bde6;
    font-weight: bold;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 16px;
}



/* breakpoint "lg" */
@media (min-width: 992px) {
    #portrait-image {
        margin-top: -48px;
    }
}

.bg-contact {
    background-color: #eeeeee;
}

.success-message {
    display: none;
    background-color: #d4edda;
    border-left: 4px solid #28a745;
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: 0.25rem;
    color: #155724;
}

.success-message.active {
    display: block;
}

.project-card {
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.project-card>img {
    padding:20px;
    background-color: white;
}

.project-quote {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out;
    z-index: 2;
    padding: 2rem;
    backdrop-filter: blur(4px);
    flex-direction: column;
}

.project-card:hover .project-quote {
    opacity: 0.95;
    pointer-events: all;
    z-index: 10;
}

.icon-email {
    display: inline-block;
    background-image: url('../media/icons/plane.svg');
    width: 23px;
    height: 19px;
    margin-left: 10px;
    margin-right: 5px;
}

footer.bg-dark {
    background-color: #1f1f1f !important;
}

footer .text-primary {
    color: #76bde6 !important;
}


.debug-size {
    display: none;
    position: fixed;
    right: 12px;
    top: 12px;
    border: 3px solid darkred;
    background-color: red;
    color: white;
    font-size: 1.3em;
    padding: 20px;
    border-radius: 6px;
    z-index: 1200;
    opacity: 0.6;
}
.debug-size:hover {
    opacity: 0.01;
}

@media (max-width: 575.98px) {
    #size-xs {
        display: block;
    }
}
@media (min-width: 576px) and (max-width: 767.98px) {
    #size-sm {
        display: block;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    #size-md {
        display: block;
    }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    #size-lg {
        display: block;
    }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    #size-xl {
        display: block;
    }
}
@media (min-width: 1400px) {
    #size-xxl {
        display: block;
    }
}
