:root {
    --bg-dark: #f3f4f6;
    --bg-light: #ffffff;
    --text-light: #4b5563;
    --text-dark: #111827;
    --accent-gold: #3b82f6;
    /* DashGuard Blue */
    --font-heading: 'Poppins', sans-serif;
    --font-heading-weight: 900;
    --font-body: 'Poppins', sans-serif;
    --font-mono: 'Poppins', sans-serif;
    --font-script: 'Poppins', sans-serif;
    --font-stadt: 'Poppins', sans-serif
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-dark);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased
}


::selection {
    background-color: #3b82f6;
    color: #fff
}

img {
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: var(--font-heading-weight);
    text-transform: uppercase
}

a {
    text-decoration: none;
    color: inherit
}

.container {
    padding: 0 2rem;
    max-width: 1920px;
    margin: 0 auto
}

.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    position: relative;
    border-bottom: 1px solid rgba(17, 24, 39, 0.12)
}

.hero-title {
    font-size: 11vw;
    line-height: 0.85;
    margin-top: 10vh;
    mix-blend-mode: normal;
    color: var(--text-dark)
}

.hero-title.presentation-title {
    font-size: 8vw;
}

.stadt-text {
    font-family: var(--font-heading);
    font-size: 3vw;
    line-height: 1;
    writing-mode: vertical-rl;
    text-orientation: upright;
    width: auto;
    word-break: normal;
    position: absolute;
    right: 3rem;
    top: 3rem;
    color: var(--accent-gold);
    letter-spacing: 0.3em;
    font-weight: 900;
    text-align: center;
    mix-blend-mode: normal
}

.hero-bio {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    max-width: 400px;
    margin-bottom: 4rem;
    line-height: 1.6
}

.hero-bio .role {
    margin-top: 1rem;
    opacity: 0.7
}

.scroll-indicator {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-align: center;
    width: 100%;
    padding-bottom: 2rem;
    opacity: 0.6
}

section {
    padding: 4rem 0;
    position: relative;
    border-bottom: 1px solid rgba(17, 24, 39, 0.12)
}

.gallery-section {
    min-height: 100vh;
    padding: 6rem 2rem;
    background-color: var(--bg-dark)
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
    gap: 1.5rem;
    max-width: 1600px;
    margin: 0 auto
}

.gallery-item {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    height: 100%;
    z-index: 1
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 6;
    background: linear-gradient(to right, #3b82f6 2px, transparent 2px) 0 0, linear-gradient(to bottom, #3b82f6 2px, transparent 2px) 0 0, linear-gradient(to left, #3b82f6 2px, transparent 2px) 100% 0, linear-gradient(to bottom, #3b82f6 2px, transparent 2px) 100% 0, linear-gradient(to left, #3b82f6 2px, transparent 2px) 100% 100%, linear-gradient(to top, #3b82f6 2px, transparent 2px) 100% 100%, linear-gradient(to right, #3b82f6 2px, transparent 2px) 0 100%, linear-gradient(to top, #3b82f6 2px, transparent 2px) 0 100%;
    background-repeat: no-repeat;
    background-size: 15px 15px;
    transition: transform 0.4s ease;
    transform: scale(0.9)
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 20px;
    height: 20px;
    background: linear-gradient(#fff, #fff) no-repeat center/1px 100%, linear-gradient(#fff, #fff) no-repeat center/100% 1px;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease
}

.gallery-item:hover img {
    transform: scale(1.05);
    opacity: 0.8
}

.gallery-item:hover::after {
    transform: scale(1.15)
}

.gallery-item:hover::before {
    opacity: 1
}

.gallery-item:hover {
    background-color: #f9fafb;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    z-index: 10
}

.gallery-item.wide {
    grid-column: span 2
}

.gallery-item.tall {
    grid-row: span 2
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2
}

.info-section {
    background-color: var(--bg-light);
    color: var(--text-dark);
    min-height: 100vh;
    padding: 6rem 2rem
}

.info-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4rem
}

.info-bio {
    max-width: 900px
}

.info-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
    max-width: 1400px;
    text-align: left;
    align-items: start
}

.info-header h2 {
    font-size: 13vw;
    line-height: 0.8;
    color: var(--text-dark);
    white-space: nowrap;
    margin-bottom: 2rem;
    text-align: center;
    width: 100%
}

.info-bio {
    max-width: 100%
}

.info-bio p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500
}

.info-services h3 {
    display: none
}

.info-services ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem
}

.info-services li {
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500
}

@media (max-width:1024px) {
    .info-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .info-header h2 {
        white-space: normal;
        font-size: 18vw
    }

    .info-services ul {
        grid-template-columns: 1fr
    }
}

.news-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 0.9;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: var(--text-dark);
    letter-spacing: -0.02em
}

.news-divider {
    width: 100%;
    height: 1px;
    background-color: #e5e7eb;
    margin-bottom: 2rem
}

.news-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-gold)
}

.news-desc {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--text-light);
    max-width: 600px
}

.close-modal {
    position: absolute;
    top: 2rem;
    right: 3rem;
    color: #9ca3af;
    font-size: 3rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2010;
    opacity: 1;
    transition: color 0.3s;
    font-family: var(--font-heading);
    font-weight: 300
}

.close-modal:hover {
    color: var(--text-dark)
}

.footer-section {
    min-height: 80vh;
    padding: 6rem 2rem;
    position: relative;
    background-color: var(--bg-dark);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: flex-start
}

.footer-content {
    display: block;
    width: 100%
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 6rem;
    max-width: 50%
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.8rem
}

.footer-col h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
    font-weight: 600
}

.footer-col a {
    font-size: 1rem;
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
    font-family: var(--font-body);
    text-transform: uppercase
}

.footer-col a:hover {
    color: var(--text-light)
}

.footer-bottom-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 6rem;
    max-width: 60%;
    gap: 4rem
}

.footer-address p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
    font-family: var(--font-body)
}

.footer-partners {
    display: flex;
    gap: 2rem;
    align-items: center
}

.partner-logo-box {
    border: 1px solid var(--text-light);
    padding: 0.8rem 1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-family: var(--font-heading);
    line-height: 1
}

.partner-logo-text {
    font-size: 0.9rem;
    line-height: 1.3;
    font-family: var(--font-body);
    text-transform: none
}

.footer-legal-text {
    font-size: 0.75rem;
    color: #666;
    max-width: 60%;
    line-height: 1.5;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 500
}

.footer-logo {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    width: 150px;
    height: auto;
    z-index: 2
}

::-webkit-scrollbar {
    width: 8px
}

::-webkit-scrollbar-track {
    background: var(--bg-dark)
}

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
    border: 2px solid var(--bg-dark)
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold)
}

* {
    scrollbar-width: thin;
    scrollbar-color: #d1d5db var(--bg-dark)
}

@media (max-width:768px) {
    .container {
        padding: 0 1.5rem
    }

    .hero-section {
        padding: 1.5rem;
        height: auto;
        min-height: 100vh;
        justify-content: flex-start
    }

    .hero-title {
        font-size: 15vw;
        margin-top: 15vh;
        text-align: left
    }

    .hero-title.presentation-title {
        font-size: 11.5vw;
    }

    .stadt-text {
        position: absolute;
        right: 1.5rem;
        top: 2rem;
        font-size: 1.2rem;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        letter-spacing: 0.1em
    }

    .hero-bio {
        margin-top: 4rem;
        margin-bottom: 2rem;
        max-width: 100%;
        font-size: 0.85rem
    }

    .scroll-indicator {
        position: absolute;
        bottom: 2rem;
        left: 0;
        right: 0
    }

    .gallery-section {
        padding: 4rem 1.5rem;
        min-height: auto
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .gallery-item.wide,
    .gallery-item.tall,
    .gallery-item.large {
        grid-column: auto;
        grid-row: auto
    }

    .info-section {
        padding: 4rem 1.5rem
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 3rem
    }

    .info-header h2 {
        font-size: 3rem
    }

    .info-bio p {
        font-size: 1.1rem
    }

    .footer-section {
        min-height: auto;
        padding: 4rem 1.5rem
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        margin-bottom: 4rem
    }

    .footer-bottom-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
        max-width: 100%;
        margin-bottom: 4rem
    }

    .footer-partners {
        flex-wrap: wrap
    }

    .footer-legal-text {
        max-width: 100%;
        margin-bottom: 6rem
    }

    .footer-logo {
        width: 100px;
        bottom: 2rem;
        right: 1.5rem
    }
}

.gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 5;
    pointer-events: none
}

.modal {
    visibility: hidden;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.8s ease, visibility 0.8s step-end
}

.modal.active {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.8s ease, visibility 0s step-start
}

.modal-content.news-layout {
    position: fixed;
    top: 0;
    right: 0;
    width: 50vw;
    height: 100%;
    max-width: 90vw;
    background-color: #ffffff;
    border-left: 1px solid #e5e7eb;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 40% 1fr;
    transform: translateX(100%);
    will-change: transform;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden
}

.modal.active .modal-content.news-layout {
    transform: translateX(0);
    transition-delay: 0.1s
}

.modal-content.datenschutz-layout {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 90vh;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    will-change: transform;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    z-index: 2001;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.modal.active .modal-content.datenschutz-layout {
    transform: translateY(0);
    transition-delay: 0.1s
}

.close-datenschutz-modal,
.close-impressum-modal {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.5rem;
    color: var(--text-light);
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
    line-height: 1;
}

.close-datenschutz-modal:hover,
.close-impressum-modal:hover {
    color: var(--text-dark);
}

.modal-image-wrapper {
    width: 100%;
    height: 100%;
    background-color: #f3f4f6;
    position: relative;
    border-bottom: 1px solid #e5e7eb
}

#modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.modal-text-content {
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    background-color: #ffffff;
    flex: 1;
    min-height: 0;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.news-date,
.news-title,
.news-divider,
.news-meta,
.news-desc {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1)
}

.modal.active .news-date,
.modal.active .news-title,
.modal.active .news-divider,
.modal.active .news-meta,
.modal.active .news-desc {
    opacity: 1;
    transform: translateX(0)
}

.modal.active .news-date {
    transition-delay: 0.3s
}

.modal.active .news-title {
    transition-delay: 0.4s
}

.modal.active .news-divider {
    transition-delay: 0.5s
}

.modal.active .news-meta {
    transition-delay: 0.55s
}

.modal.active .news-desc {
    transition-delay: 0.6s
}

.news-date {
    font-family: var(--font-mono);
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase
}

.news-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: var(--text-dark);
    letter-spacing: -0.02em
}

.news-divider {
    width: 100%;
    height: 1px;
    background-color: #e5e7eb;
    margin-bottom: 1.5rem
}

.news-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-gold)
}

.news-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    max-width: 100%
}

.news-desc h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.news-desc h2:first-child {
    margin-top: 0;
}

.news-desc p {
    margin-bottom: 1rem;
}

.news-desc strong {
    color: var(--text-dark);
    font-weight: 600;
}

.close-modal {
    display: none
}

@media (max-width:1024px) {
    .modal-content.news-layout {
        grid-template-columns: 1fr;
        grid-template-rows: 50vh 1fr;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        height: 100dvh;
        display: block;
        width: 100%;
        overscroll-behavior: contain
    }

    .modal-image-wrapper {
        height: 50vh;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #222;
        flex-shrink: 0
    }

    .modal-text-content {
        padding: 2rem;
        padding-bottom: 6rem;
        height: auto;
        min-height: 50vh;
        overflow-y: auto;
    }

    .news-title {
        font-size: 2.5rem
    }

    .close-modal {
        top: 1rem;
        right: 1.5rem;
        background: rgba(0, 0, 0, 0.5);
        width: 40px;
        height: 40px;
        text-align: center;
        border-radius: 50%;
        font-size: 2rem;
        display: block
    }
}

@media (max-width:768px) {
    .modal-content.news-layout {
        width: 100%;
        max-width: 100%;
        grid-template-rows: 35vh 1fr
    }

    .modal-text-content {
        padding: 2rem
    }

    .news-title {
        font-size: 2rem
    }
}

.design-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto
}

#design-info {
    background-color: var(--bg-dark);
    border-bottom: 1px solid rgba(231, 229, 223, 0.4)
}

.design-grid .info-header h2 {
    font-size: 8rem;
    line-height: 0.9;
    margin-bottom: 0;
    color: var(--text-dark)
}

.design-grid .info-header h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase
}

.design-img-wrapper {
    position: relative;
    display: inline-block
}

.design-img-wrapper img {
    max-width: 100%;
    height: auto;
    display: block
}

.stats-overlay {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 2;
    width: 300px;
    text-align: left
}

.stats-right {
    right: -380px
}

.stats-left {
    left: -380px;
    text-align: right
}

.stats-left .stat-row {
    flex-direction: row-reverse
}

.stat-item {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    border-radius: 0;
    box-shadow: none;
    transition: none;
    min-width: auto
}

.stat-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.2)
}

.stat-item:hover {
    transform: none;
    background: transparent;
    border-color: rgba(0, 0, 0, 0.4)
}

.stat-label {
    display: block;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.7;
    margin-bottom: 0.5rem;
    text-transform: none;
    letter-spacing: 0
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline
}

.stat-value {
    display: block;
    color: var(--text-dark);
    font-size: 4rem;
    font-weight: 300;
    line-height: 1;
    margin: 0
}

.stat-value.text-small {
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 400;
    max-width: 100%
}

.stat-dots {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    letter-spacing: 2px
}

.design-grid .info-bio {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.design-grid img,
.design-grid video {
    width: 100%;
    max-width: 900px;
    height: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3)
}

@media (max-width:768px) {
    .design-grid .info-header h2 {
        font-size: 15vw
    }

    .stats-overlay {
        position: relative;
        top: auto;
        transform: none;
        width: 100%;
        z-index: 2;
        margin-top: 2rem;
        text-align: left
    }

    .stats-right,
    .stats-left {
        right: auto;
        left: auto;
        text-align: left
    }

    .stats-left .stat-row {
        flex-direction: row
    }

    .design-img-wrapper {
        display: flex;
        flex-direction: column
    }
}

.design-img-wrapper img+img {
    margin-top: 4rem
}

/* Mission Section */
.info-header .subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 0;
    margin-bottom: 4rem;
    font-weight: 400;
    opacity: 0.7;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    width: 100%;
    max-width: 1600px;
    text-align: center;
}

.mission-col p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .info-header .subtitle {
        font-size: 1rem;
        letter-spacing: 0.1em;
    }
}

.info-bio .bio-subtitle {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    opacity: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.info-bio p {
    line-height: 1.8;
    letter-spacing: 0.06em;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.info-content-wrapper {
    gap: 6rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    margin: 0;
}

.feature-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
    margin: 0;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Vienna Map Section */
#vienna-map-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background-color: #1a1a1a;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

#vienna-map-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.map-overlay {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    pointer-events: none;
    z-index: 2;
}

.map-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--text-light);
    margin: 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.map-stats {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent-gold);
    margin-top: 1rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .map-title {
        font-size: 2.5rem;
    }
}

/* Ensure all text in Datenschutz and Impressum is black with better formatting */
#datenschutz-modal .modal-text-content,
#impressum-modal .modal-text-content {
    color: #000000;
    line-height: 1.8;
}

#datenschutz-modal .news-title,
#impressum-modal .news-title {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    color: #000000;
}

#datenschutz-modal .news-desc h2,
#impressum-modal .news-desc h2 {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #000000;
}

#datenschutz-modal .news-desc h3,
#impressum-modal .news-desc h3 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 700;
}

#datenschutz-modal .news-desc p,
#impressum-modal .news-desc p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    opacity: 1;
}

#datenschutz-modal .news-desc ul,
#impressum-modal .news-desc ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

#datenschutz-modal .news-desc li,
#impressum-modal .news-desc li {
    margin-bottom: 0.8rem;
    list-style-type: square;
}

#datenschutz-modal .news-desc a,
#impressum-modal .news-desc a {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

#datenschutz-modal .news-desc a:hover,
#impressum-modal .news-desc a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .modal-content.datenschutz-layout {
        height: 100dvh;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    #datenschutz-modal .modal-text-content,
    #impressum-modal .modal-text-content {
        padding: 4rem 1.5rem 6rem;
    }

    #datenschutz-modal .news-title,
    #impressum-modal .news-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    #datenschutz-modal .news-desc h2,
    #impressum-modal .news-desc h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }

    #datenschutz-modal .news-desc p,
    #impressum-modal .news-desc p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .close-datenschutz-modal,
    .close-impressum-modal {
        top: 1rem;
        right: 1.5rem;
        font-size: 2rem;
        background: rgba(0, 0, 0, 0.05);
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }
}

/* ===== SCROLL PROGRESS BAR ===== */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: #111827;
    z-index: 99997;
    transition: width 0.05s linear;
    pointer-events: none
}

/* ===== PAGE LOADER ===== */
#page-loader {
    position: fixed;
    inset: 0;
    background: #111827;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden
}

#page-loader img {
    width: 120px;
    height: auto;
    opacity: 0;
    animation: loaderPulse 0.6s ease forwards
}

@keyframes loaderPulse {
    0% {
        opacity: 0;
        transform: scale(0.92)
    }

    100% {
        opacity: 1;
        transform: scale(1)
    }
}

/* ===== GRAIN TEXTURE OVERLAY ===== */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 99996;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px
}

/* ===== FADE-UP ENTRANCE ANIMATIONS ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1)
}

[data-animate].in-view {
    opacity: 1;
    transform: translateY(0)
}

[data-animate]:nth-child(2) {
    transition-delay: 0.1s
}

[data-animate]:nth-child(3) {
    transition-delay: 0.2s
}

[data-animate]:nth-child(4) {
    transition-delay: 0.3s
}

/* ===== FEATURE ITEMS — LEFT BORDER + HOVER LIFT ===== */
.feature-item {
    border-left: 3px solid #111827;
    padding-left: 1.2rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: #3b82f6
}

.feature-item:hover .feature-title {
    color: #3b82f6
}

/* ===== MISSION COLUMNS — NUMBERED MARKERS ===== */
.mission-col {
    position: relative;
    padding-top: 3rem
}

.mission-col::before {
    content: attr(data-num);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    color: #3b82f6;
    opacity: 0.9
}

/* ===== GALLERY LABEL — ALWAYS VISIBLE ===== */
.gallery-label {
    transform: translateY(0)
}

/* ===== HERO SECTION — SCROLL FADE ===== */
.scroll-indicator span {
    animation: fadeInBlink 2s ease infinite
}

@keyframes fadeInBlink {

    0%,
    100% {
        opacity: 0.4
    }

    50% {
        opacity: 1
    }
}