﻿/* MAP Architekten – V10 Layoutkorrektur
   Abstand zwischen Navigation und Seiteninhalt
*/

:root {
    --map-content-offset: 115px;
}

/* Inhaltsbereich unterhalb der Navigation */
main.page__content {
    padding-top: var(--map-content-offset);
    box-sizing: border-box;
}

/* Rechtstexte lesbar darstellen */
.map-rechtstext {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 30px 60px;
    box-sizing: border-box;
}

.map-rechtstext h1 {
    margin-top: 0;
    margin-bottom: 30px;
    line-height: 1.3;
}

.map-rechtstext p,
.map-rechtstext li {
    line-height: 1.65;
}

/* Kleinere Bildschirme */
@media (max-width: 768px) {
    :root {
        --map-content-offset: 145px;
    }

    .map-rechtstext {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* V10 – Dezente Rechtslinks im bestehenden Footer */
.page__footer .map-legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.page__footer .map-legal-links a {
    font-size: 13px;
    text-decoration: none;
}

.page__footer .map-legal-links a:hover {
    text-decoration: underline;
}

/* V10 – Rechtslinks bündig mit MAP Architekten */
.page__footer .map-legal-links {
    width: 100%;
    max-width: 100%;
    margin: 20px 0 0 0;
    padding: 0;
    box-sizing: border-box;
}

/* V10 – Rechtslinks innerhalb des Footer-Containers */
.page__footer .map-footer-inner {
    flex-wrap: wrap;
}

.page__footer .map-footer-inner .map-legal-links {
    flex-basis: 100%;
    width: 100%;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

/* V10 – Logo und Hauptnavigation horizontal ausrichten */
@media (min-width: 769px) {

    .page__header .map-header-inner {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .page__header .map-logo {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .page__header .map-navigation {
        display: flex;
        align-items: center;
        margin-top: 0;
        margin-bottom: 0;
        align-self: center;
    }
}

/* MAP V10 – Optische Zentrierung der Desktop-Navigation */
@media (min-width: 901px) {
    .page__header .map-navigation {
        transform: translate(325px, -16px);
    }
}
/* MAP V10 - Einheitliches Inhaltsraster
   Projektgalerie an die Textbereiche angleichen
*/

@media (min-width: 901px) {

    .page__content > .map-project-grid-v3 {
        width: 100%;
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
    }

}




