﻿/* =========================================================
   style_ManuMot.css
   Spezielle Gestaltung der ManuMot-Seiten
   ========================================================= */

/* ---------- Kopfbereich ---------- */

.manuMotSeite header {
    position: relative;
    text-align: left;
    background-color: #FADFAD;
    background-image: url("../m_images/Knubbel9_Ausgef.jpg");
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 800px 95px;
}

.manuMotSeite header .headerInhalt {
display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 95px;
    min-height: 95px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.manuMotSeite header .headerText {
    text-align: left;
}

.manuMotSeite header .headerLogo {
    position: absolute;
    left: 800px;
    
    top: -4px;
    height: 95px;
    z-index: 3;
}

.manuMotSeite header .headerLogo img {
    width: 100px;
    height: 95px;
    object-fit: contain;
    display: block;
    padding: 0;
    margin: 0;
}

.manuMotSeite header h2 {
    color: aqua;
    margin: 0 0 0 18px;
    padding: 54px 0 0 0;
    font-size: large;
}

.manuMotSeite header h3 {
    color: aqua;
    margin: 0 0 5px 18px;
    padding: 0;
    font-size: x-small;
}

/* ---------- Navigation ---------- */

.manuMotSeite nav {
    border-top: 2px solid blue;
    border-bottom: 2px solid blue;
    background-color: #FADFAD;
    overflow: hidden;
}

.manuMotSeite nav ul {
    height: auto;
    margin: 0;
    padding: 0;
}

.manuMotSeite nav li {
    display: block;
    float: left;
    margin: 0;
    padding: 0;
}

.manuMotSeite nav a {
    display: block;
    padding: 5px;
    font-weight: bold;
    text-decoration: none;
    color: #8b0000;
    background-color: #FADFAD;
}

.manuMotSeite nav a:hover {
    color: #FADFAD;
    background-color: #8b0000;
}

/* ---------- ManuMot Content ---------- */

.indexBodyImg {
    float: right;
    width: 200px;
    height: auto;
    margin: 0 0 20px 20px;
    padding: 0;
}

.manuMotSeite > section {
    background-color: #FFF7E8;
    padding-bottom: 20px;
    width: 99%;
}

.manuMotSeite > section img {
    width: 200px;
    height: auto;
}

/* ---------- Spalten ---------- */

.manuMotSeite article {
    width: 73%;
    padding: 5px;
}

.manuMotSeite aside {
    width: 18%;
    top: 0;
    right: 0;
    padding: 26px 19px 0 0;
    text-align: right;
}

/* ---------- Fußbereich ---------- */

.manuMotSeite footer {
    margin-top: 30px;
    text-align: center;
    border-top: 2px solid blue;
    padding-bottom: 10px;
}

.manuMotSeite footer p {
    font-size: x-small;
    color: #000;
}

/* ---------- ManuMot-Schrift ---------- */

.manuMot {
    font-family: Cambria, Georgia, serif;
    font-size: calc(1em + 5px);
    font-weight: bold;
    color: #365F91;
}

/* ---------- Preistabelle ---------- */

.preise {
    width: 450px;
    max-width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    border: 1px solid #365F91;
    background-color: #FFF7E8;
}

.preise th {
    background-color: #FFF7E8;
    color: #365F91;
    font-weight: bold;
    text-align: center;
    padding: 8px;
    border: 1px solid #365F91;
}

.preise td {
    padding: 7px 12px;
    border: 1px solid #B8C7D9;
}

.preise td:first-child {
    text-align: center;
}

.preise td:nth-child(2) {
    text-align: right;
    font-weight: bold;
}

.preise tr:last-child td {
    text-align: center;
    font-style: italic;
    font-weight: normal;
    color: #365F91;
}

/* ---------- Vorschau-Bilder und Videos ---------- */

.manuMotVorschau {
    display: inline-block;
    width: 220px;
    height: 220px;
    margin: 10px;
    overflow: hidden;
    cursor: pointer;
    vertical-align: top;
}

.manuMotVorschau img,
.manuMotVorschau video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- Bild-/Video-Overlay ---------- */

.manuMotOverlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.manuMotSeite .manuMotOverlay img,
.manuMotSeite .manuMotOverlay video {
    display: block;
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    padding: 0;
    margin: 0;
}

.manuMotOverlay.aktiv {
    display: flex;
}

/* ---------- ManuMot Titel / Logo ---------- */

.manuMotTitel {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.manuMotTitel h1 {
    margin-right: 20px;
}

.manuMotLogo {
    float: none;
    width: 120px;
    height: 120px;
    object-fit: contain;
    padding: 0;
    margin: 0 30px 0 10px;
}

/* ---------- Formen-Galerie ---------- */

.formenTitel {
    margin-top: 30px;
    margin-bottom: 15px;
}

.formenGalerie {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    width: 100%;
}

.formKarte {
    border: 1px solid #888;
    background-color: #FFF7E8;
    overflow: hidden;
}

.formKarte img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: contain;
    padding: 5px;
}

.formBilder {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 220px;
    padding: 5px;
    cursor: pointer;
}

.formBilder img {
    width: 50%;
    height: 210px;
    object-fit: contain;
    padding: 0;
    margin: 0;
}

.formBeschreibung {
    border-top: 1px solid #888;
    padding: 8px;
    font-size: 17px;
    line-height: 1.3;
}


/* ---------- Besucherzähler ---------- */

.besucherzaehler {
    text-align: center;
    font-size: small;
    margin: 10px 0;
}

/* ---------- Responsive ManuMot ---------- */

@media (max-width: 850px) {

    .manuMotSeite header {
        background-size: cover;
    }

    .manuMotSeite header .headerLogo {
        left: auto;
        right: 5px;
    }

    .manuMotSeite header .headerInhalt {
        padding-right: 110px;
    }

    .manuMotSeite article,
    .manuMotSeite aside {
        width: 100%;
        float: none;
    }

    .manuMotSeite aside {
        padding: 10px;
        text-align: left;
    }
}

@media (max-width: 700px) {

    .manuMotSeite nav li {
        float: none;
        display: block;
    }

    .manuMotSeite nav a {
        padding: 7px 8px;
    }

    .manuMotSeite header .headerInhalt {
        min-height: 95px;
    }

    .manuMotSeite header h2 {
        margin-left: 10px;
        padding-top: 40px;
    }

    .manuMotSeite header h3 {
        margin-left: 10px;
    }

    .formenGalerie {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .formKarte img {
        height: 200px;
    }

    .preise {
        width: 100%;
    }
}

@media (max-width: 450px) {

    .manuMotSeite header .headerLogo {
        display: none;
    }

    .manuMotSeite header .headerInhalt {
        padding-right: 0;
    }

    .formenGalerie {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .formKarte img {
        height: 250px;
    }

    .formBeschreibung {
        font-size: 16px;
    }

    .manuMotVorschau {
        width: calc(50% - 20px);
        height: auto;
        aspect-ratio: 1 / 1;
    }
}
