/* Grundlayout */
body {
    font-family: 'Lucida Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: black;
    background: #faf7f3;
}
html{
    scroll-behavior: smooth;
}

/*Header der Seite*/
.page-header {
    display: flex;
    flex-direction: column;
    padding: 6px 20px; /* sehr wenig Abstand oben/unten */
    align-items: center;
    justify-content: center;

    border-bottom: 1px solid #eee;
    margin-bottom: 0;


    /* sticky header */
    position: sticky;
    top: 0;
    z-index: 2000;

    background-size: cover;
    background-position: center;
}

/*Logo*/
.logo-img {
    height: 80px;
    width: auto;
    position: relative;
    z-index: 2;
}

.header-banner{
    background-image: url('/images/Salzstein_Banner(schmaler).jpeg');
    background-size: cover;
    background-position: center;
    filter: brightness(1.0);
    position: sticky;
}

.header-banner::before{
    content:"";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 240, 220, 0.1);
    z-index: -1;
}

/* HERO SECTION */
.hero {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(180deg, #f8f3ee 0%, #e9dfd6 100%);
    color: #6b5e52;
    font-size: 1.3rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #6b5e52;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* NAVIGATIONS MENÜ */
/* Burger Icon Grundstruktur */
.nav-toggle {
    display: flex;
    width: 30px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: absolute;
    left: 20px;
    top: 50px;
    transform: translateY(-50%);
    z-index: 1000;
}

.nav-toggle span {
    display: block;
    height: 4px;
    background: #4a3f35;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Animation: Burger -> X */
.nav-toggle.active span:nth-child(1){
    transform: translateY(9px) rotate(45deg)
}

.nav-toggle.active span:nth-child(2){
    opacity: 0;
}

.nav-toggle.active span:nth-child(3){
    transform: translateY(-9px) rotate(-45deg)
}

.nav-links {
    list-style: none;
    display: none;
    pointer-events: none;
    flex-direction: column;
    text-align: left;
    gap: 20px;
    position: absolute;
    top: 80px;
    left: 20px;
    background: #f3ede6;
    width: auto;
    padding: 15px 30px;
    border-radius: 6px;
    z-index: 3000;

    /* Animation + Schatten */
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s ease,
                transform 0.25s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.nav-links li a {
    text-decoration: none;
    color: #4a3f35;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #8a7f75;
}

.nav-links.show {
    display: flex;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.nav-toggle{
    display: flex;
}

.nav-links a.active{
    font-weight: bold;
    color: #000;
}

/*GESCHÄFTSDETAILS*/
.company-details-page{
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #4a3f35;
}

.company-details-page h1{
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.4rem;
    position: relative;
}

.company-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}


.company-details-page h1::after {
    content: "";
    width: 80px;
    height: 3px;
    background: #c8a27e;
    display: block;
    margin: 12px auto 0;
    border-radius: 2px;
}

.company-box{
   background: #f0e9e1;
   padding: 30px 35px;
   border-radius: 14px;
   min-height: 260px;
   box-shadow: 0 2px 10px rgba(0,0,0,0.06);
   transition: box-shadow 0.3s ease;
}

.company-box:hover{
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.company-box h3::before{
    margin-right: 8px;
    color: #c8a27e;
}

.company-box h3{
    margin-bottom: 10px;
    color: #c8a27e;
    margin-bottom: 10px;
}

.company-box p{
    line-height: 1.6;
}

.company-box a {
    color: #4a3f35;
    text-decoration: none;
    font-weight: 500;
}

/* Termin Anfragen Button */
.btn-primary {
    padding: 12px 28px;
    background: #c47b59;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* INFO + Termin */
.info, .appointment {
    padding: 10px 20px;
    text-align: center;
}

.info h2, .appointment h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.info h2 {
    margin-top: 70px;
    margin-bottom: 25px;
    color: #4a3f35;
}

.info h2:nth-of-type(2){
    margin-top: 70px;
}

.info p {
    max-width: 600px;
    margin: 0 auto 20px auto;
    line-height: 1.8;
    color: #6b5e52;
    text-align: center;
}

.info .comming-back{
    text-align: left !important;
}

/*Text + Diashow nebeneinander*/
.info-with-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 60px auto;
    max-width: 1000px;
}

.info-gallery {
    position: relative;
    height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #faf7f3;
    border-radius: 10px;
}

 /*Text*/
.info-text h2 {
    margin-bottom: 20px;
    color: #4a3f35;
}

.info-text p {
    line-height: 1.6;
    color: #6b5e52;
}

/*Diashow - Salzgrotten Bilder*/
.slideshow img {
    position: absolute;
    width: 100%;
    height: auto;
    border-radius: 10px;
    opacity: 0;
    object-fit: contain; /*Bild bleibt vollständig sichtbar*/
    top: 0;
    left: 0;
    transition: opacity 1.5s ease-in-out;
}

.slideshow img.active {
    display: block;
    opacity: 1;
}


.visit-list{
    list-style: none;
    list-style-position: inside;
    padding: 0;
    margin: 0 auto 40px auto;
    max-width: 600px;
    text-align:left;
    line-height: 1.8;
    color: #6b5e52;
}

.visit-list li{
    margin-bottom: 25px;
}
 
.visit-list strong {
    color: #4a3f35;
    font-size: 1.1rem;
}

/* WARUM UNSERE KUNDEN GERRNE WIEDER KOMMEN*/
.comming-back {
    list-style-position: outside;
    list-style: circle;
    padding-left: 20px;
    margin: 0 auto 0px auto;
    max-width: 600px;
    line-height: 1.8;
    color: #6b5e52;
}

.comming-back li{
    margin-bottom: 12px;
}

/* Review Slider*/
.review-slider {
    max-width: 700px;
    margin: 40px auto;
    position: relative;
    display: block;
}

/*Wrapper bestimmt die Höhe automatisch*/
.review-wrapper {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}

/*Nur aktive Reviews sichtbar*/
.review {
    display: none;
    height: 100%;
}

.review.active {
    display: block;
}

/*Bild bestimmt die Höhe*/
 .review img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    max-width: 70%;
    max-height: 70%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 180, 100, 0.3);
 }

 /*Pfeil Button*/
.review-prev,
.review-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a85c3b;
    font-size: 4rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.review-prev {
    left: -2px;
    
}

.review-next {
    right: -2px;
}

.review-prev:hover,
.review-next:hover {
    transform: translateY(-50%) scale(1.25);
}

.info-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 40px;
    max-width: 900px;
    margin: auto;
    margin-bottom: 60px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #4a3f35;
    font-size: 1.2rem;
    line-height: 1.4;
}

.info-item p {
    line-height: 1.5;
}

.bullet-icon {
    width: 70px; /* Größe des Icons */
    height: 70px;
}

/*Preislisten*/
.price-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Preislisten Items */
.price-item {
    background: #f3ede6;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Preislisten Hover Effekt */
.price-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* Preislisten Überschrift */
.price-item h3{
    margin-bottom: 8px;
    font-size: 1rem;
    color: #333;
}

/* Preislisten Beschreibung */
.price-item p {
    margin: 0;
    color: #666;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

/* Preislisten Preis */
.price-item strong {
    display: block;
    margin-top: 12px;
    font-size: 1rem;
    color: #000;
}

.UST {
    font-size: 15px;
    margin-top: 20px;
}

.price-changes {
    font-size: 15px;
    margin-top: 2px;
}

.diclaimer {
    margin-top: 30px;
    padding: 18px 22px;
    background: #f8f3ee;
    border-left: 4px solid #c47b59;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.disclaimer strong {
    font-size: 1rem;
    color: #c47b59;
}

/* Kontakt Seite */
.contact-page{
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.contact-page h1 {
   text-align: center;
   font-size: 2.4rem;
   margin-bottom: 40px;
   color: #4a3f35;
   position: relative;
}

/* Kontakt Seite Überschrift Unterstreichung */
.contact-page h1::after {
     content: "";
     width: 80px;
     height: 3px;
     background: #c8a27e;
     display: block;
     margin: 12px auto 0;
     border-radius: 2px;
}


.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 40px;
}

/* --- Info Box --- */
.contact-info-box {
    background: #f3ede6;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    color: #4a3f35;
}

.contact-info-box h3{
    margin-top: 25px;
    margin-bottom: 8px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Kontakt Info Box Icons */
.contact-info-box h3::before{
    font-size: 1.2rem;
    color: #c8a27e;
}

 .contact-info-box h3:nth-of-type(1)::before { content: "📍"; }
 .contact-info-box h3:nth-of-type(2)::before { content: "📞"; }
 .contact-info-box h3:nth-of-type(3)::before { content: "✉️"; }
 .contact-info-box h3:nth-of-type(4)::before { content: "⏰"; }

 .contact-info-box a{
     color: #4a3f35;
     text-decoration: none;
     font-weight: 500;
 }

 .contact-info-box a:hover{
     text-decoration: underline;
 }

 /* Google Maps Box */
 .map-box {
     background: #f3ede6;
     padding: 20px;
     border-radius: 14px;
     box-shadow: 0 4px 14px rgba(0,0,0,0.08);
     color: #4a3f35;
     margin-top: 20px;
 }

 .map-box iframe{
     width: 100%;
     height: 350px;
     border: 0;
     border-radius: 14px;
     box-shadow: 0 4px 14px rgba(0,0,0,0.08);
     margin-top: 0px;
 }

 /*Platzhaltertext für Google Maps */
 .map-placeholder {
     background: #f8f2ea;
     padding: 30px;
     border-radius: 14px;
     text-align: center;
     box-shadow: 0 4px 14px rgba(0,0,0,0.08);
     color: #4a3f35;
 }

 /*Button zum Laden der Google Maps Karte */
 .map-placeholder button {
     margin-top: 15px;
     padding: 10px 20px;
     background: #c47b59;
     color: white;
     border: none;
     border-radius: 6px;
     cursor: pointer;
     font-size: 1rem;
 }

 .map-placeholder button:hover {
     background: #a85c3b;
 }

/* KONTAKT FORM */
.appointment-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.appointment-form input,
.appointment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

/* Uhrzeit wählen */
.appointment-form select{
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 13px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
}

.appointment-form button {
    border: none;
    cursor: pointer;
    padding: 12px;
    background: #c47b59;
    color: white;
    border-radius: 6px;
    font-size: 1rem;
}

/* Datenschutz / Privacy Section */
.privacy-section{
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #fffaf5;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 180, 100, 0.2);
}

.privacy-section h1,
.privacy-section h2{
    color: #a85c3b;
}

.privacy-section p{
    line-height: 1.6;
    color: #333;
}

/*Über Uns Seite*/
.aboutUs {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
    color: #4a3f35;
}

.aboutUs h1 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    position: relative;
}

.aboutUs h1::after {
    content: "";
    width: 80px;
    height: 3px;
    background: #c8a27e;
    display: block;
    margin: 12px auto 0;
    border-radius: 2px;
}

.aboutUs-content {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #f3ede6;
    padding: 40px 35px;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    margin-top: 40px;
    text-align: left;
}

.aboutUs-text {
    flex: 1;
}

.aboutUs-content h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #4a3f35
}

.aboutUs-content p {
    line-height: 1.7;
    margin-bottom: 18px;
    font-size: 1.05rem;
}

/*Profilbild*/
.profil-picture {
    margin-bottom: 30px;
    text-align: center;
}

.profil-picture img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.toast {
    position: fixed;
    top: 20px;
    right: -300px;
    background: #4caf50; /*Grün für erfolg*/
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-size: 16px;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 9999;
}
  
.toast.error {
    background: #e74c3c; /*Rot für Fehler*/
}

.toast.show {
    opacity: 1;
    right: 20px; /*Rein sliden*/
}

/* Footer Section */
.footer {
    background: #f3ede6;
    padding: 50px 20px 30px 20px;
    color: #4a3f35;
    margin-top: 80px;
    border-top: 1px solid #e0d8cf;
    font-family: "Lucida Sans", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.footer-grid {
    max-width: 1050px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 60px;
    text-align: left;
    border-bottom: 1px solid #e0d8cf;
    padding-bottom: 30px;
}

.footer-col{
    line-height: 1.7;
}

.footer-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #4a3f35;
}

.footer-address,
.footer-hours,
.footer-contact {
    color: #6b5e52;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: #8a7f75;
    margin-top: 40px;
}

.footer a {
    color: #4a3f35;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .footer a:hover {
        color: #8a7f75;
        text-decoration: underline;
    }

/*Handy Ansicht*/
@media (max-width: 760px){
    .nav-links {
        display: none;
        pointer-events: none;
        opacity: 0;
    }

    .nav-links.show {
        display: flex;
        pointer-events: auto; /*Erlaubt Klicks, wenn sichtbar*/
        opacity: 1;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 380px;
        margin: 0 auto 50px auto;
    }

    .info-item{
        text-align: center;
        margin: 0 auto;
    }

    .bullet-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    .info h2{
        font-size: 1.6rem;
        margin-top: 50px;
        margin-bottom: 15px;
    }

    .info p{
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 12px;
    }

    .info-with-gallery {
        grid-template-columns: 1fr /*1 Spalte */
    }

    .info.info-text {
        order: 1; /*Text zuerst anzeigen auf Handy*/
    }

    .info-gallery {
        order: 2; /*Galerie danach anzeigen*/
        height: 260px;
    }

    .visit-list{
        max-width: 350px;
        padding: 0 10px;
    }

    .visit-list li{
        margin-bottom: 20px;
    }

    .hero{
        padding: 80px 20px;
    }

    .hero h1{
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .btn-primary{
        padding: 10px 22px;
        font-size: 1rem;
    }

    .contact-grid{
        grid-template-columns: 1fr;
    }

    .map-box{
        margin-top: 0;
    }

    .company-grid{
        grid-template-columns: 1fr;
    }

    .review-slider {
        max-width: 95%; /*passt sich der Handybreite an*/
        margin: 20px auto;
    }

    .review-wrapper {
        height: 220px;
        overflow: visible; /*Pfeile bleiben sichtbar*/
        position: relative;
    }

    .review img {
        max-height: 85%;
        transform: translate(-50%, -50%);
    }

    .review-prev,
    .review-next {
        font-size: 2.6rem; /*Pfeile kleiner*/
        top: 50%; /*Mittig gesetzt*/
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #a85c3b;
        cursor: pointer;
        z-index: 10;
    }

    .review-prev {
        left: 10px;
    }

    .review-next {
        right: 10px;
    }

    /*leichte vergrößerung beim Hover*/
    .review-prev:hover,
    .review-next:hover {
        transform: translateY(-50%) scale(1.2);
    }

    .aboutUs-content {
        flex-direction: column;
        text-align: center;
    }

    .aboutUs-text {
        text-align: left;
    }

    .footer-grid{
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }

    .footer-col{
        text-align: center;
    }

    .footer-bottom{
            margin-top: 30px;
    }

}