/* ==========================================================================
   1. ROOT-VARS UND RESET
   ========================================================================== */
:root {
    --main-green: #6a6d5a;
    --offwhite: #DADAD6;
    --radius: 24px;
    --soft-shadow: 0 4px 32px rgba(0, 0, 0, 0.09);
    --main-gradient: linear-gradient(125deg, #e7e9e0 0%, #f7faf4 100%);
    --main-gradient-dark: linear-gradient(125deg, #222623 0%, #373b2e 100%);
    --parallax-height: 85vh;
}

/* Reset */
html,
body {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   2. BASE STYLES: BODY, TYPO, UTILS
   ========================================================================== */
body {
    font-family: 'Lato Regular', sans-serif;
    color: #23261e;
    background: var(--main-gradient);
    min-height: 100vh;
    text-decoration: none;
    transition: background 0.5s, color 0.3s;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    margin-top: 10px;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* ==========================================================================
   3. LAYOUT COMPONENTS: NAVBAR, FOOTER, SECTION
   ========================================================================== */
.navbar {
    border-radius: var(--radius);
    box-shadow: var(--soft-shadow);
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 990;
}

.navbar-nav {
    flex-direction: row;
    gap: 1.1rem;
    justify-content: center;
    align-items: center;
}

.navbar .nav-link {
    font-size: 1.01rem !important;
    letter-spacing: 0.02em;
    color: var(--main-green);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: var(--main-green) !important;
}

/* Styling für die Sprachwahlbox */
.language-box {
    padding: 10px 20px;
    border-radius: 15px;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-menu {
    font-size: 0.87rem;
    min-width: 8.5rem;
    padding: 0.2rem 0;
    left: -6rem !important;
}

.dropdown-item {
    padding: 0.2rem 0.7rem;
    line-height: 1;
}

.fi {
    width: 1em;
    height: 1em;
    vertical-align: -0.2em;
    border-radius: 0.2em;
}

#selectedFlag {
    margin-right: 0.35em;
}

.footer {
    position: relative;
    z-index: 10;
}

.section-space {
    margin-top: 5rem;
    margin-bottom: 5rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.divider {
    border-bottom: 1.5px solid #b6b7af;
    margin: 3rem auto;
    opacity: 0.33;
    width: 60%;
}

.rounded {
    border-radius: var(--radius);
}

/* ==========================================================================
   4. BUTTONS & BADGES
   ========================================================================== */
.btn {
    border-radius: 40px;
    padding: .8rem 2.4rem;
    font-weight: 500;
    font-size: 1.08rem;
    background: var(--main-green);
    color: #fff;
    border: none;
    transition: background .18s, box-shadow .22s, transform .15s;
    box-shadow: 0 2px 18px rgba(106, 109, 90, 0.13);
    letter-spacing: .01em;
}

.btn:hover {
    background: #8fa18c;
    box-shadow: 0 4px 28px rgba(106, 109, 90, 0.15);
    transform: translateY(-2px) scale(1.03);
}

.btn-outline-darkcustom {
    border: 2px solid #23261e;
    background: transparent;
    color: #23261e;
    transition: background 0.15s, color 0.15s, box-shadow 0.18s, border-color 0.18s;
}

.btn-outline-darkcustom:hover,
.btn-outline-darkcustom:focus {
    background: #23261e;
    color: #fff;
    box-shadow: 0 4px 20px rgba(34, 38, 30, 0.10);
}

/* ==========================================================================
   5. CARDS & FEATURE ICONS
   ========================================================================== */
.card {
    box-shadow: var(--soft-shadow);
    background: #fff;
    padding: 2.4rem 2rem 2rem 2rem;
    margin-bottom: 2.2rem;
    transition: box-shadow .22s, background .22s, transform .15s;
    border: none;
    position: relative;
    z-index: 2;
}

.card:hover {
    box-shadow: 0 8px 48px rgba(106, 109, 90, 0.16), var(--soft-shadow);
    background: #f6f7f2;
    transform: translateY(-4px) scale(1.015);
}

/* Feature Icon in Card */
.feature-icon {
    font-size: 2.2rem;
    color: var(--main-green);
    margin-bottom: .8rem;
    filter: drop-shadow(0 1px 2px rgba(106, 109, 90, 0.06));
    transition: color .18s, transform 0.19s cubic-bezier(.48, .03, .62, .97);
}

.card:hover .feature-icon,
.feature-icon:hover {
    color: #8fa18c;
    transform: scale(1.18) rotate(-4deg);
}

.bi {
    transition: transform 0.18s, color 0.18s;
}

.bi:hover {
    transform: scale(1.17) rotate(-3deg);
    color: #6a6d5a !important;
}

/* ==========================================================================
   6. TYPOGRAFIE BESONDERS
   ========================================================================== */
.big-headline {
    font-size: 2.85rem;
    font-weight: 700;
    letter-spacing: -.035em;
    margin-bottom: 1.7rem;
    line-height: 1.08;
    color: #23261e;
}

.sub-headline {
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--main-green);
    margin-bottom: 2.4rem;
}

/* Listen */
ul {
    margin-bottom: 0.9rem;
    padding-left: 1.2em;
}

ul li {
    margin-bottom: 0.32rem;
    font-size: 1.07rem;
}

/* ==========================================================================
   7. HERO SECTIONS / PARALLAX
   ========================================================================== */
/* Modern Hero (neue Variante, 100vh) */
.modern-hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(120deg, #e7e9e0 0%, #d1dbc7 100%);
    overflow: hidden;
    margin-top: 0 !important;
}

.modern-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(115deg, #e7e9e0 0%, #8fa18c33 100%);
    opacity: .18;
    animation: blobmove 12s infinite alternate cubic-bezier(.4, 0, .2, 1);
}

@keyframes blobmove {
    0% {
        filter: blur(16px) brightness(1.01);
    }

    100% {
        filter: blur(32px) brightness(1.13);
    }
}

.modern-hero .container {
    z-index: 2;
    position: relative;
}

/* Hero-Section (heller Hintergrund, Border, Padding) */
.hero-section {
    background: linear-gradient(120deg, #f7faf4 15%, #e7e9e0 100%);
    box-shadow: 0 6px 38px rgba(106, 109, 90, 0.12);
    margin: 2.2rem 2rem 2rem 3.5rem;
    overflow: hidden;
    padding: 0;
}

/* ==========================================================================
   8. CAROUSEL STYLES
   ========================================================================== */
/* Controls / Indikatoren */
.carousel-indicators {
    position: unset !important;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--main-green) !important;
}

/* Pfeile */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none !important;
    width: 2.7rem;
    height: 2.7rem;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-green) !important;
    position: relative;
}

.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
    content: '';
    display: block;
    width: 1.1em;
    height: 1.1em;
    border-style: solid;
    border-width: 0.18em 0.18em 0 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-60%, -60%) rotate(-135deg) scale(1.25);
}

.carousel-control-next-icon::before {
    transform: translate(-40%, -60%) rotate(45deg) scale(1.25);
}

/* Hover auf Carousel-Pfeile */
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    color: #23261e !important;
    filter: drop-shadow(0 4px 12px rgba(106, 109, 90, 0.18));
}

/* Projekte Carousel Cards */
#projekteCarousel .card {
    min-height: 390px;
    box-shadow: 0 4px 24px rgba(106, 109, 90, 0.10);
    transition: box-shadow .21s, transform .18s;
}

#projekteCarousel .card:hover {
    box-shadow: 0 8px 38px rgba(106, 109, 90, 0.14), 0 2px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px) scale(1.018);
}

.carousel-inner {
    overflow: hidden !important;
}

/* ==========================================================================
   9. ACCORDION (FAQ)
   ========================================================================== */
.accordion-button {
    background-color: #f7faf4;
    color: #23261e;
    box-shadow: none !important;
    font-weight: 500;
    transition: background 0.2s;
}

.accordion-button:not(.collapsed) {
    background-color: #e7e9e0;
    color: var(--main-green);
}

.accordion-button::after,
[data-bs-theme="dark"] .accordion-button::after {
    background-image: none !important;
    border: solid var(--main-green);
    border-width: 0 0.2em 0.2em 0;
    display: inline-block;
    padding: 0.22em;
    transform: rotate(45deg);
    content: "";
    width: 0.7em;
    height: 0.7em;
    margin-left: auto;
    transition: transform 0.2s;
    color: var(--main-green) !important;
    filter: none !important;
}

.accordion-button:not(.collapsed)::after,
[data-bs-theme="dark"] .accordion-button:not(.collapsed)::after {
    transform: rotate(-135deg);
}

.accordion-item {
    border: none;
    margin-bottom: 1.2rem;
    background: transparent;
}

.accordion-body {
    background: #fff;
    border-bottom-left-radius: var(--bs-accordion-border-radius);
    border-bottom-right-radius: var(--bs-accordion-border-radius);
    color: #23261e;
    padding: 1.3rem 1.2rem 1.1rem 1.2rem;
}

/* ==========================================================================
   10. MODALS
   ========================================================================== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(34, 38, 30, 0.44);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadein .26s cubic-bezier(.68, -0.55, .27, 1.55);
}

.modal-content {
    background: #fff;
    padding: 2.7rem 2.5rem 2.1rem 2.5rem;
    max-width: 700px;
    width: 95vw;
    position: relative;
    animation: popin .24s cubic-bezier(.46, .03, .52, .96);
}

.modal-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #e0e3da;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #6a6d5a;
    transition: background .18s;
}

.modal-close-btn:hover {
    background: #c8cabb;
    color: #222623;
}

/* ==========================================================================
   11. PRELOADER / LOADER
   ========================================================================== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--offwhite);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity .4s;
}

#preloader.hide {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 7px solid #e3e4df;
    border-top: 7px solid var(--main-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   12. SPEZIAL: INFO-BREAK, TIMELINE, BACKTOSTARTBUTTON, TECH STACK
   ========================================================================== */
.info-break {
    background: linear-gradient(98deg, #e7e9e0 60%, #f7faf4 100%);
    box-shadow: 0 2px 18px rgba(106, 109, 90, 0.07);
    padding: 3rem 2rem 2rem 2rem;
    margin-bottom: 3rem;
}

.timeline-steps {
    position: relative;
}

.timeline-arrow {
    width: 48px;
    height: 4px;
    background: var(--main-green);
    border-radius: 6px;
    align-self: center;
    margin: 0 6px;
    opacity: .33;
}

#scrollTopBtn {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

#scrollTopBtn.visible {
    opacity: 1;
    pointer-events: auto;
}

/* TECH-STACK LOGOS und Icons exakt gleich ausrichten */
#tools .d-flex>.text-center {
    min-width: 86px;
    /* sorgt für gleiche Breite, optional */
}

#tools img,
#tools .bi {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 44px;
    /* Gleicht Bild- und Iconhöhe exakt an */
    width: 44px;
    /* Macht alles quadratisch */
    object-fit: contain;
    /* Bilder werden nie verzerrt */
    margin-bottom: 7px;
    /* Immer der gleiche Abstand zum Text */
    margin-top: 0;
}

#tools .bi {
    line-height: 44px;
    /* Icon exakt vertikal mittig */
    font-size: 2.75rem;
    /* Entspricht 44px */
    color: var(--main-green);
}

/* ==========================================================================
   13. DARK MODE
   ========================================================================== */
[data-bs-theme="dark"] body {
    background: #20221f;
    color: #e6e8e1;
}

[data-bs-theme="dark"] .navbar,
[data-bs-theme="dark"] .card {
    background: #222623e0;
    color: #f0f2ed;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.19);
}

[data-bs-theme="dark"] .divider {
    border-bottom: 1.5px solid #dde1c6;
    opacity: 0.15;
}

[data-bs-theme="dark"] .hero-section {
    background: linear-gradient(125deg, #23261e 10%, #373b2e 90%);
}

[data-bs-theme="dark"] .hero-section .display-5 {
    color: #e6e8e1 !important;
}

[data-bs-theme="dark"] .hero-section .lead {
    color: #d2e5bd !important;
}

[data-bs-theme="dark"] .btn {
    background: var(--main-green);
    color: #fff;
}

[data-bs-theme="dark"] .btn-outline-darkcustom {
    border: 2px solid var(--main-green);
    color: #fff;
    background: transparent;
}

[data-bs-theme="dark"] .btn-outline-darkcustom:hover,
[data-bs-theme="dark"] .btn-outline-darkcustom:focus {
    background: var(--main-green);
    color: #23261e;
}

[data-bs-theme="dark"] .btn:hover {
    background: #8fa18c;
}

[data-bs-theme="dark"] .modal-content {
    background: #222623;
    color: #f6f8f0;
}

[data-bs-theme="dark"] .modal-close-btn {
    background: #393b33;
    color: #e0e2d4;
}

[data-bs-theme="dark"] .modal-close-btn:hover {
    background: #6a6d5a;
    color: #fff;
}

[data-bs-theme="dark"] .big-headline,
[data-bs-theme="dark"] .sub-headline {
    color: #f0f2ed;
}

[data-bs-theme="dark"] #werte .card {
    background: linear-gradient(102deg, #23261e 60%, #343b2e 100%) !important;
    color: #e3e8d8;
}

[data-bs-theme="dark"] #werte {
    background: linear-gradient(99deg, #23261e 60%, #373b2e 100%) !important;
}

[data-bs-theme="dark"] #werte h2,
[data-bs-theme="dark"] #werte .lead {
    color: #e3e8d8 !important;
}

[data-bs-theme="dark"] #werte .fs-5 {
    color: #8fa18c !important;
}

[data-bs-theme="dark"] #info .card {
    background: linear-gradient(102deg, #23261e 60%, #343b2e 100%) !important;
    color: #e3e8d8;
}

[data-bs-theme="dark"] #info {
    background: linear-gradient(99deg, #23261e 60%, #373b2e 100%) !important;
}

[data-bs-theme="dark"] #info h2,
[data-bs-theme="dark"] #info .lead {
    color: #e3e8d8 !important;
}

[data-bs-theme="dark"] #info .fs-5 {
    color: #8fa18c !important;
}

[data-bs-theme="dark"] .accordion-button {
    background-color: #23261e;
    color: #f0f2ed;
}

[data-bs-theme="dark"] .accordion-button:not(.collapsed) {
    background-color: #2b2e25;
    color: var(--main-green);
}

[data-bs-theme="dark"] .accordion-body {
    background: #2b2e25;
    color: #f0f2ed;
}

[data-bs-theme="dark"] .modern-hero {
    background: linear-gradient(125deg, #23261e 0%, #373b2e 100%) !important;
}

[data-bs-theme="dark"] .modern-hero-bg {
    background: linear-gradient(115deg, #23261e 0%, #373b2e 100%) !important;
    opacity: .18;
}

[data-bs-theme="dark"] .modern-hero .display-3,
[data-bs-theme="dark"] .modern-hero .lead {
    color: #e6e8e1 !important;
}

/* ==========================================================================
   14. MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
    .card {
        padding: 3.2rem 2.8rem 2.7rem 2.8rem;
    }

    .section-space {
        margin-top: 6rem;
        margin-bottom: 7rem;
    }
}

@media (max-width: 900px) {
    .big-headline {
        font-size: 1.55rem;
    }

    .card {
        padding: 1.1rem 0.8rem;
    }

    .section-space {
        margin-top: 1.3rem;
        margin-bottom: 2rem;
    }

    .parallax-hero {
        height: 260px;
    }

    .modal-content {
        padding: 1.2rem;
    }

    .big-headline,
    .sub-headline,
    .card h4,
    .card h5,
    .card ul,
    .card p {
        text-align: center !important;
    }

    .hero-section .display-5 {
        font-size: 1.45rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .timeline-arrow {
        display: none;
    }
}

@media (max-width: 576px) {
    .big-headline {
        font-size: 1.35rem;
    }

    .card {
        padding: 0.65rem 0.35rem;
    }

    .modal-content {
        padding: 0.5rem;
    }

    .card ul {
        padding-left: 0.7em;
    }

    .hero-section {
        border-radius: 12px;
        margin-top: 1.1rem;
        margin-bottom: 2.1rem;
    }

    .hero-section .mx-auto.mb-3 {
        width: 48px !important;
        height: 48px !important;
        border-radius: 10px !important;
    }

    .hero-section .display-5 {
        font-size: 1.02rem !important;
    }

    .hero-section .lead {
        font-size: .93rem;
    }

    .hero-section .btn {
        font-size: .99rem;
        padding: .68rem 1.2rem;
        min-width: 120px;
    }

    .badge {
        font-size: 0.94rem !important;
        padding: .7rem 1.2rem !important;
        margin-bottom: .6rem !important;
    }

    ul,
    .card ul {
        padding: 1.2rem 1rem 1rem 2rem;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: auto !important;
        max-width: 97vw;
        text-align: left !important;
        font-size: 1.02rem !important;
        line-height: 1.4 !important;
    }

    ul li {
        text-align: left !important;
        word-break: break-word;
        padding-left: 0.7em;
        margin-bottom: 0.38em;
    }
}

@media (max-width: 576px) {
    .big-headline {
        font-size: 1.6rem;
    }

    .sub-headline {
        font-size: 1.1rem;
    }

    h1,
    h2,
    h3,
    h4,
    h5 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    p,
    li,
    a.btn {
        font-size: 1.02rem;
        line-height: 1.5;
    }

    .card {
        padding: 1rem;
    }

    .card ul {
        padding-left: 0;
    }

    .card ul li {
        margin-bottom: 0.65rem;
    }

    #usp-slogan .col-md-4,
    #leistungen .col-md-6,
    #projekte .col {
        width: 100%;
        max-width: 100%;
    }

    .btn {
        font-size: 1rem;
        padding: 0.65rem 1.4rem;
    }

    .carousel-item .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .timeline-arrow {
        display: none;
    }
}

@media (max-width: 460px) {
    .big-headline {
        font-size: 1.4rem;
    }

    h1, h2, h3, h4, h5 {
        font-size: 1.05rem;
    }

    p, li {
        font-size: 0.98rem;
    }

    .btn {
        font-size: 0.95rem;
        padding: 0.6rem 1.2rem;
    }

    .navbar-brand {
        font-size: 1.4rem !important;
    }

    .navbar .nav-link {
        font-size: 0.95rem !important;
    }
}



@media (max-width: 767px) {

    /* Mobile: immer zeigen */
    .navbar-hide,
    .navbar-show {
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

/* Carousel Controls OUTSIDE (ab 1200px) */
@media (min-width: 1201px) {
    #testimonialCarousel {
        position: relative;
    }

    #testimonialCarousel .carousel-control-prev,
    #testimonialCarousel .carousel-control-next {
        position: absolute;
        top: 45%;
        left: -3.5rem;
        right: auto;
        transform: translateY(-50%);
    }

    #testimonialCarousel .carousel-control-next {
        left: auto;
        right: -3.5rem;
    }

    #projekteCarousel .carousel-control-prev,
    #projekteCarousel .carousel-control-next,
    #testimonialCarousel .carousel-control-prev,
    #testimonialCarousel .carousel-control-next {
        position: absolute;
        top: 45%;
        width: 3.6rem;
        height: 3.6rem;
        z-index: 12;
        /* Abstand zum Carousel */
        opacity: 0.93;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #projekteCarousel .carousel-control-prev,
    #testimonialCarousel .carousel-control-prev {
        left: -3.5rem;
        right: auto;
    }

    #projekteCarousel .carousel-control-next,
    #testimonialCarousel .carousel-control-next {
        right: -3.5rem;
        left: auto;
    }

    #projekteCarousel:hover .carousel-control-prev,
    #projekteCarousel:hover .carousel-control-next,
    #testimonialCarousel:hover .carousel-control-prev,
    #testimonialCarousel:hover .carousel-control-next {
        opacity: 1;
    }
}

@media (max-width: 1200px) {

    #projekteCarousel .carousel-control-prev,
    #projekteCarousel .carousel-control-next,
    #testimonialCarousel .carousel-control-prev,
    #testimonialCarousel .carousel-control-next {
        display: none;
    }
}

/* Hide Scrollbar on Modal */
body.modal-open {
    overflow: hidden !important;
}

section[id] {
    scroll-margin-top: 90px;
}

@media (max-width: 900px) {
    section[id] {
        scroll-margin-top: 64px;
    }
}

@media (max-width: 900px) {
    .navbar-nav {
        flex-direction: column !important;
        gap: 0.5rem !important;
        align-items: center !important;
        width: 100%;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
        width: 100%;
        text-align: center;
    }

    .nav-center {
        justify-content: center !important;
    }

    .nav-end {
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 991.98px) {
    .nav-end {
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 1200px) {
    #usp-slogan .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #usp-slogan .col-md-4 {
        width: 80%;
        max-width: 680px;
    }
}

@media (max-width: 900px) {
    #leistungen .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #leistungen .col-md-6 {
        width: 100%;
        max-width: 520px;
    }

    #leistungen ul {
        list-style: none;
        padding-left: 0;
    }

    #leistungen ul li {
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
}

@media (max-width: 1200px) {
    #projekte .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #projekte .col {
        width: 100%;
        max-width: 680px;
    }
}


/* ==========================================================================
   15. ANIMATIONEN / FADE-IN
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s cubic-bezier(.46, .03, .52, .96), transform .7s cubic-bezier(.46, .03, .52, .96);
}

.fade-in.visible {
    opacity: 1;
    transform: none;
}

.animate-fadein-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp .7s cubic-bezier(.43, .09, .67, .99) forwards;
}

.animate-fadein-up[style*="animation-delay"] {
    animation-delay: inherit;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popin {
    from {
        transform: scale(0.9) translateY(60px);
    }

    to {
        transform: scale(1) translateY(0);
    }
}