/* ==================================================
   Mohair Beauty – Sitepackage
   Eigene CSS-Regeln
   ================================================== */

/* ==================================================
   Mohair Beauty – Designsystem
   ================================================== */

/* --------------------------------------------------
   0.1 Designsystem – Farben
   -------------------------------------------------- */

:root {
    --mohair-color-text: #666666;
    --mohair-color-heading: #555555;
}


/* --------------------------------------------------
   0.2 Designsystem – Typografie
   -------------------------------------------------- */

/* --------------------------------------------------
   0.3 Designsystem – Abstände
   -------------------------------------------------- */

/* --------------------------------------------------
   0.4 Designsystem – Layout
   -------------------------------------------------- */

/* --------------------------------------------------
   0.5 Designsystem – Radius
   -------------------------------------------------- */

/* --------------------------------------------------
   0.6 Designsystem – Schatten
   -------------------------------------------------- */

/* --------------------------------------------------
   0.7 Designsystem – Animationen / Übergänge
   -------------------------------------------------- */

/* --------------------------------------------------
   0.8 Designsystem – Buttons
   -------------------------------------------------- */

/* --------------------------------------------------
   0.9 Designsystem – Trenner
   -------------------------------------------------- */






/* ==================================================
   1. Allgemeine Grundeinstellungen
   ================================================== */






/* ==================================================
   2. Header
   ================================================== */


/* --------------------------------------------------
   2.1 Header – Grundstruktur
   -------------------------------------------------- */
.site-header {
    padding: 1rem 0;
}


/* --------------------------------------------------
   2.2 Header – Logo
   -------------------------------------------------- */
.header-logo {
    max-width: 255px;
    height: auto;
}


/* --------------------------------------------------
   2.3 Header – Firmenname / Slogan
   -------------------------------------------------- */
.header-brand p {
    margin-bottom: 0.5rem;
}

.header-brand p:last-child {
    margin-bottom: 0;
}

.header-company {
    font-size: 1.8rem;
    font-weight: 400;
}

.header-slogan {
    font-size: 1.25rem;
    font-weight: 400;
}




/* --------------------------------------------------
   2.4 Header – Kontakt
   -------------------------------------------------- */
/* Abstände der Kontaktzeilen */

   .header-contact p {
    margin-bottom: 0.5rem;
}

.header-contact p:last-child {
    margin-bottom: 0;
}


/* Icons und Ausrichtung */
.header-phone,
.header-email {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #444444;
}

.header-phone::before,
.header-email::before {
    content: "";
    flex: 0 0 auto;

    width: 1.35rem;
    height: 1.35rem;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.header-phone::before {
    background-image: url("../Images/Icons/phone.svg");
}

.header-email::before {
    background-image: url("../Images/Icons/mail.svg");
}




/* --------------------------------------------------
   2.5 Header – Responsive / Mobile
   -------------------------------------------------- */
@media (max-width: 767.98px) {

    .site-header {
        padding: 1.5rem 0 1.25rem;
    }

    .site-header .col-12.col-md-4 {
        margin-top: 0 !important;
    }

    .header-logo {
        width: 140px;
    }

    .header-brand {
        margin-top: 1rem;
        text-align: center;
    }

    .header-company {
        margin-bottom: 0.5rem;
    }

    .header-slogan {
        margin-bottom: 0;
    }

    .header-contact {
        margin-top: 0.75rem;
        text-align: center;
    }

    .header-phone,
    .header-email {
        margin-bottom: 0.4rem;
    }

    .header-email {
        margin-bottom: 0;
    }

}

/* ==================================================
   3. Navigation
   ================================================== */


/* --------------------------------------------------
   3.1 Navigation – Grundstruktur
   -------------------------------------------------- */


/* --------------------------------------------------
   3.2 Navigation – Links
   -------------------------------------------------- */
.navbar {
    padding: 0;
}

.navbar-nav {
    gap: 1.5rem;
}

.navbar-nav .nav-link {
    padding: 0.5rem 0;
    text-decoration: none;
}


/* --------------------------------------------------
   3.3 Navigation – Aktiver Menüpunkt
   -------------------------------------------------- */


/* --------------------------------------------------
   3.4 Navigation – Dropdown
   -------------------------------------------------- */


/* --------------------------------------------------
   3.5 Navigation – Responsive / Mobile
   -------------------------------------------------- */


@media (max-width: 767.98px) {

    .navbar .container {
        justify-content: center;
    }

    .navbar-toggler {
        margin: 0.75rem 0;
    }

}


   

/* ==================================================
   4. Hero
   ================================================== */


/* --------------------------------------------------
   4.1 Hero – Grundstruktur
   -------------------------------------------------- */
.hero {
    padding: 4rem 0;
    background-color: #F0E7DC;
    
}


/* --------------------------------------------------
   4.2 Hero – Bild
   -------------------------------------------------- */
.hero-image-placeholder {
    min-height: 30rem;
    background-color: #e5d8c9;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    height: 34rem;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* --------------------------------------------------
   4.3 Hero – Typografie
   -------------------------------------------------- */
.hero-content h1{
    color: var(--mohair-color-heading);
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hero-content h2 {
    color: var(--mohair-color-heading);
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.hero-content p {
    color: #444444;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
}


/* --------------------------------------------------
   4.4 Hero – Info / Accordion
   -------------------------------------------------- */
.hero-info {
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.hero-info-trigger {
    width: 100%;
    padding: 0.75rem 0;

    border: 0;
    background: transparent;

    color: var(--mohair-color-heading);

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 1rem;
    text-align: left;
    
}

.hero-info-toggle {
    font-size: 1.5rem;
    line-height: 1;
}

.hero-info-content {
    padding: 0 0 1rem;
}

.hero-info-content p {
    margin-bottom: 0;
    line-height: 1.6;
}


/* --------------------------------------------------
   4.5 Hero – Responsive / Mobile
   -------------------------------------------------- */


/* ==================================================
   5. Content
   ================================================== */


/* --------------------------------------------------
   5.1 Content – Grundeinstellungen
   -------------------------------------------------- */


/* --------------------------------------------------
   5.2 Content – Überschriften
   -------------------------------------------------- */

h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;

    font-size: 2rem;
    font-weight: 400;
    line-height: 1.2;

}

h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;

    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.3;

}


h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;

    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.4;

}



/* --------------------------------------------------
   5.3 Content – Text
   -------------------------------------------------- */

body {
    font-size: 1rem;
    line-height: 1.6;
}

p {
    margin-bottom: 1rem;
    color: var(--mohair-color-text);
}



/* --------------------------------------------------
   5.4 Content – Auflistungen
   -------------------------------------------------- */


/* --------------------------------------------------
   5.5 Content – Text & Medien
   -------------------------------------------------- */
.ce-textpic .ce-bodytext h3 {
    margin-top: 0;
}

.ce-gallery .image-embed-item {
    max-width: 100%;
    height: auto;
    display: block;
}




/* --------------------------------------------------
   5.6 Content – Raster-Elemente
   -------------------------------------------------- */
.mohair-raster-50-50,
.mohair-raster-75-25,
.mohair-raster-33-33-33 {
    padding-top: 1.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.mohair-raster-50-50 .ce-header h2,
.mohair-raster-75-25 .ce-header h2,
.mohair-raster-33-33-33 .ce-header h2 {
    margin-top: 0;
}


@media (max-width: 767.98px) {

    .mohair-raster-50-50 .ce-gallery,
    .mohair-raster-50-50 .ce-row,
    .mohair-raster-50-50 .ce-column {
        width: 100%;
        max-width: 100%;
    }

    .mohair-raster-50-50 .image-embed-item {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
    }

}





/* --------------------------------------------------
   5.7 Content – Galerie
   -------------------------------------------------- */

.ce-gallery .ce-row + .ce-row {
    margin-top: 1rem;
}



/* Galerie – Responsive / Mobile */

@media (max-width: 767.98px) {
    .ce-gallery .ce-row .ce-column + .ce-column {
        margin-top: 1rem;
    }
}



/* --------------------------------------------------
   5.7.1 Content Galerie – Lightbox
   -------------------------------------------------- */

body.altmann-lightbox-open {
    overflow: hidden;
}

.altmann-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;

    display: grid;
    place-items: center;

    padding: 1.5rem;

    background: rgba(0, 0, 0, 0.88);
}

.altmann-lightbox-overlay[hidden] {
    display: none;
}

.altmann-lightbox-dialog {
    position: relative;

    display: grid;
    place-items: center;

    width: min(100%, 1200px);
    max-height: 100%;
}

.altmann-lightbox-figure {
    margin: 0;
    text-align: center;
}

.altmann-lightbox-image {
    display: block;

    max-width: 100%;
    max-height: calc(100vh - 8rem);

    margin-inline: auto;

    object-fit: contain;
}

.altmann-lightbox-caption {
    margin-top: 0.5rem;
    color: #ffffff;
}

.altmann-lightbox-close,
.altmann-lightbox-prev,
.altmann-lightbox-next {
    position: absolute;
    z-index: 1;

    display: grid;
    place-items: center;

    width: 2.75rem;
    height: 2.75rem;
    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;

    font-size: 2rem;
    line-height: 1;

    cursor: pointer;
}

.altmann-lightbox-close {
    top: -3.25rem;
    right: 0;
}

.altmann-lightbox-prev {
    top: 50%;
    left: -3.5rem;

    transform: translateY(-50%);
}

.altmann-lightbox-next {
    top: 50%;
    right: -3.5rem;

    transform: translateY(-50%);
}

.altmann-lightbox-close:hover,
.altmann-lightbox-prev:hover,
.altmann-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.altmann-lightbox-close:focus-visible,
.altmann-lightbox-prev:focus-visible,
.altmann-lightbox-next:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

@media (max-width: 767.98px) {

    .altmann-lightbox-overlay {
        padding: 1rem;
    }

    .altmann-lightbox-image {
        max-height: calc(100vh - 6rem);
    }

    .altmann-lightbox-close {
        top: -3rem;
    }

    .altmann-lightbox-prev {
        left: 0.25rem;
    }

    .altmann-lightbox-next {
        right: 0.25rem;
    }
}








/* --------------------------------------------------
   5.8 Content – Accordion
   -------------------------------------------------- */

.accordion {
    border-top: 1px solid rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.accordion-item {
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 0;
    background: transparent;
}

.accordion-item:last-child {
    border-bottom: 0;
}

.accordion-button {
    padding: 0.75rem 0;

    border: 0;
    border-radius: 0;
    background: transparent;

    color: #444444;

    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.3;

    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: transparent;
    color: inherit;
    box-shadow: none;
}

.accordion-button:focus {
    border: 0;
    box-shadow: none;
}

.accordion-body {
    padding: 0.25rem 0 1rem;
}

.accordion-body .d-flex {
    padding: 0.2rem 0;
    color: #666666;
}

.accordion-body .d-flex span:last-child {
    margin-left: 2rem;
    text-align: right;
    white-space: nowrap;
}

/* --------------------------------------------------
   5.8.1 Content Accordion – Öffnungszeiten: Uhrzeit 
   -------------------------------------------------- */
.mohair-accordion-title-opening-hours {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.mohair-accordion-title-icon {
    width: 1.4rem;
    height: 1.4rem;
    flex: 0 0 auto;
    display: block;
    margin-right: 0.5rem;
}









/* --------------------------------------------------
   5.9 Content – Buttons
   -------------------------------------------------- */

/* --------------------------------------------------
   5.10 Content – Trenner
   -------------------------------------------------- */
.frame-type-div {
    margin: 1.5rem 0;
}

.ce-div {
    margin: 0;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}



/* --------------------------------------------------
   5.11 Content – Responsive / Mobile
   -------------------------------------------------- */


/* ==================================================
   6. Footer
   ================================================== */
.site-footer {
    padding: 3rem 0 1.5rem;
}

.site-footer .row:first-child {
    align-items: flex-start;
}

.site-footer .footer-logo {
    width: 180px;
    max-width: 100%;
    height: auto;
}

.site-footer p {
    margin-bottom: 0.75rem;
    color: var(--mohair-color-text);
}

.site-footer p:last-child {
    margin-bottom: 0;
}

.site-footer a {
    color: var(--mohair-color-text);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.site-footer .col-md-4:nth-child(2),
.site-footer .col-md-4:nth-child(3) {
    padding-top: 0.25rem;
}

.site-footer .row:last-child {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.site-footer .row:last-child p {
    margin-bottom: 0;
}

/* --------------------------------------------------
   6.1 Footer – Kontakt Phone/E-Mail
   -------------------------------------------------- */

.footer-phone,
.footer-email {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
}

.footer-phone::before,
.footer-email::before {
    content: "";
    flex: 0 0 auto;

    width: 1.1rem;
    height: 1.1rem;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.footer-phone::before {
    background-image: url("../Images/Icons/phone.svg");
}

.footer-email::before {
    background-image: url("../Images/Icons/mail.svg");
}





/* --------------------------------------------------
   6.1 Footer – Responsive / Mobile
   -------------------------------------------------- */

@media (max-width: 767.98px) {

    .site-footer {
        padding: 2.5rem 0 1.5rem;
        text-align: center;
    }

    .site-footer .footer-logo {
        width: 150px;
        margin-bottom: 1.5rem;
    }

    .site-footer .col-md-4 {
        margin-bottom: 1.5rem;
    }

    .site-footer .col-md-4:nth-child(2),
    .site-footer .col-md-4:nth-child(3) {
        padding-top: 0;
    }

    .footer-phone,
    .footer-email {
        justify-content: center;
    }

    .site-footer .row:last-child {
        margin-top: 0.5rem;
    }

}






/* ==================================================
   7. Social Media
   ================================================== */

.mohair-social-media {
    padding: 4.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

.mohair-social-media-items {
    display: flex;
    align-items: center;
    justify-content: space-evenly;

    width: 100%;

    gap: 1rem;
    flex-wrap: wrap;
}

.mohair-social-media-item {
    margin: 0;
}

.mohair-social-media-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 4rem;
    height: 4rem;

    text-decoration: none;
}

.mohair-social-media-link img {
    width: 4rem;
    height: 4rem;

    object-fit: contain;
    display: block;
}


/* ==================================================
   7.1 Social Media – Externer Link Dialog
   ================================================== */

body.mohair-social-dialog-open {
    overflow: hidden;
}

.mohair-social-dialog {
    position: fixed;
    inset: 0;
    z-index: 1200;

    display: grid;
    place-items: center;

    padding: 1.5rem;
}

.mohair-social-dialog[hidden] {
    display: none;
}

.mohair-social-dialog-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.55);
}

.mohair-social-dialog-box {
    position: relative;
    z-index: 1;

    width: min(100%, 32rem);

    padding: 2rem;

    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.mohair-social-dialog-box h2 {
    margin: 0 0 1rem;

    color: #444444;

    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.3;
}

.mohair-social-dialog-text {
    margin-bottom: 1.5rem;

    color: var(--mohair-color-text);

    line-height: 1.6;
}

.mohair-social-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.mohair-social-dialog-cancel,
.mohair-social-dialog-confirm {
    padding: 0.65rem 1rem;

    border: 1px solid rgba(0, 0, 0, 0.25);
    background: transparent;

    color: #444444;

    font: inherit;
    cursor: pointer;
}

.mohair-social-dialog-confirm {
    background: #444444;
    border-color: #444444;

    color: #ffffff;
}

.mohair-social-dialog-cancel:hover,
.mohair-social-dialog-confirm:hover {
    opacity: 0.85;
}

.mohair-social-dialog-cancel:focus-visible,
.mohair-social-dialog-confirm:focus-visible {
    outline: 2px solid #444444;
    outline-offset: 3px;
}


/* --------------------------------------------------
   7.1.1 Social Media – Dialog Responsive / Mobile
   -------------------------------------------------- */

@media (max-width: 767.98px) {

    .mohair-social-dialog {
        padding: 1rem;
    }

    .mohair-social-dialog-box {
        width: 100%;
        padding: 1.5rem;
    }

    .mohair-social-dialog-box h2 {
        font-size: 1.35rem;
    }

    .mohair-social-dialog-actions {
        flex-direction: column-reverse;
    }

    .mohair-social-dialog-cancel,
    .mohair-social-dialog-confirm {
        width: 100%;
    }

}







/* ==================================================
   8. Hilfsklassen / Sonstiges
   ================================================== */