/* Allgemeines Styling */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


html, body {
    /*overflow-x: hidden;  Verhindert horizontales Scrollen */
    width: 100%;
    margin: 0;
    padding: 0;
}


body.index-body {
    background-color: rgb(43, 43, 43);
    color: #e0e0e0;
    font-family: 'Poppins', sans-serif;
}

body.impressum-body {
    background-color: rgb(43, 43, 43);
    color: #e0e0e0;
    font-family: 'Poppins', sans-serif;
}

body.login-page {
    background-color: rgb(43, 43, 43);
    color: #e0e0e0;
    font-family: 'Poppins', sans-serif;
}

body h1 {
    font-size: 2.5em;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}
body h3 {
    color: #C8A86E;
    font-size: 1.5em;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.page-wrapper{
    padding-top: 90px;;
}


/* Spacing */
.spacing {
    height: 20vh;
    width: 100%;
    background-color: transparent;
    z-index: 1;
    position: relative;
}

@media (max-width: 768px) {
    .spacing {
        height: 25vh;
    }
}


/* Header */
header {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(43, 43, 43, 0.96);
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #C8A86E;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Navigation */
.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    margin: 0 10px;
}
/* Optional: Hover-Effekt für Links */
.nav-link:hover {
    text-decoration: underline;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    left: 20%;
    transform: translateX(-20%); /* Genau mittig ausrichten */
}
nav ul.active {
    display: block; /* Wird sichtbar, wenn .active hinzugefügt wird */
}
nav ul li a {
    text-decoration: none;
    color: #e0e0e0;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #C8A86E;
}

/* Burgermenü für Mobilgeräte */
.menu-toggle {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    color: black;
    cursor: pointer;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 400px;
        background-color: rgba(43, 43, 43, 0.96);
        border-radius: 24px;
        padding: 15px 0;
        margin-top: 10px;
        z-index: 1000;
    }
  
    nav ul.active {
      display: flex;
    }

    nav ul li {
      width: 100%;
      text-align: center;
    }

    nav ul li a {
        display: block; 
        padding: 15px 20px; 
        font-size: 1.4em;
        color: #e0e0e0;
        text-decoration: none;
        transition: color 0.3s, background-color 0.3s;
        border-radius: 8px;
        margin: 5px 10px;
      }
  
      /* Hover-Effekt für die Links */
      nav ul li a:hover,
      nav ul li a:active {
        color: #C8A86E; 
        background-color: rgba(255, 255, 255, 0.1); 
      }
  
      /* Burger-Menü-Button bleibt sichtbar */
      .menu-toggle {
        display: block;
        font-size: 2rem; 
        cursor: pointer;
        color: #fff; 
        background: none; 
        border: none; 
        padding: 0; 
        margin-right: 10px; 
      }
  }
  

/* Bereiche mit Blur-Effekt */
.blur-bereich {
    width: 100%;
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.801);
    backdrop-filter: blur(10px);
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Button */
.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background: linear-gradient(45deg, #C8A86E, #8D7543);
    color: black;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(200, 168, 110, 0.3);
}
.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(200, 168, 110, 0.5);
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 5vh;
    padding-bottom: 10vh;
    width: 100%;
    height: 120vh;
}
  

.hero-content {
    position: fixed;
    width: 100%;
    top: 85vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    pointer-events: auto;
}
  
  

.hero-image {
    position: sticky;
    top: 10vh;
    width: 90vw;
    height: 80vh;
    overflow: hidden;
    border-radius: 24px;
    margin-top: 15vh;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1;
    transition: all 0.3s ease;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    font-family: 'Oswald', sans-serif;
    color: white;
    pointer-events: none;
}

.hero-fade {
    transition: opacity 0.3s ease;
}

.hero-above-text {
    position: absolute;
    top: 28vh;
    left: 50%;
    transform: translate(-50%, -100%);
    z-index: 10;
    pointer-events: none;
}
  
.above-image {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 8vw, 9rem);
    color: white;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
    margin: 0;
    white-space: nowrap;
}
  

.in-image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(2rem, 10vw, 8rem);
    color: rgb(43, 43, 43);
}

@media (max-width: 768px) {
    .hero-above-text {
        top: 15vh;
    }
    .hero-image {
        margin-top: 0px;
        height: 60vh;
    }
}
/* Einleitungsbereich */
.einleitung {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 50px 0;
    width: 80vw;
    margin: auto;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 2em;
}
.einleitung .strich {
    width: 0;
    height: 120px;
    background: linear-gradient(45deg, #C8A86E, #8D7543);
    transform: skew(-20deg);
    transition: width 2s ease-in-out 1s;
}
.einleitung.visible .strich {
    width: 10px;
}
.einleitung .text {
    font-size: 0.6em;
    text-transform: none;
    font-weight: normal;
}

@media (max-width: 768px) {
    .einleitung {
        flex-direction: column;
        width: 90vw;
        gap: 15px;
        font-size: 1.5em;
        text-align: center;
    }
    .einleitung .strich {
        height: 4px;
        width: 0;
        margin: 15px auto;
        transform: skewX(-20deg);
        transition: width 1.5s ease-in-out 0.5s;
    }
    .einleitung.visible .strich {
        width: 80%;
    }
    .einleitung .text {
        font-size: 0.8em;
    }
    .catch-phrase {
        font-size: 1.8em;
        text-align: center;
    }
}
/* Features */
.features {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 20px;
    padding: 50px 0;
}
.feature {
    background: rgba(139, 118, 77, 0.6);
    padding: 20px;
    border-radius: 24px;
    text-align: center;
    width: 300px;
    transition: background 0.3s, transform 0.3s;
}


.feature img {
    height: 150px; /* Höhe anpassen */
    justify-content: center;
    align-items: center;
}

.feature ul {
    list-style-type: none;
    padding-left: 0;
}
.feature ul li {
    padding: 5px;
    text-align: center; 
}
.feature:hover {
    background: rgba(139, 118, 77, 0.8);
    transform: scale(1.05);
}

@media (max-width: 1040px) {
    .features {
      flex-direction: column;
      align-items: center;
      gap: 30px;
      width: 100%;
    }
  
    .feature {
      width: 80%;
      max-width: 450px;
      padding: 30px;
      min-height: 350px;
    }
  }
  
@media (max-width: 500px) {
.feature {
    width: 90%;
    padding: 25px;
    min-height: 435px;
}
}

/* Content */
.bild-text-bereich {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 50px;
    width: 80vw;
    margin: auto;
}

.bild-text-bereich img {
    width: 45%;
    border-radius: 10px;
}
.text-bereich {
    width: 60%;
}

@media (max-width: 768px) {
    .bild-text-bereich {
        flex-direction: column;
        width: 90vw;
        gap: 30px;
        padding: 30px 15px;
        text-align: center;
    }
    .bild-text-bereich img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }
    .text-bereich {
        width: 100%;
    }
}

/* Galerie-Karussell */
.galerie-container {
    position: relative;
    width: 90vw;
    height: 75vh;
    padding-bottom: 40px;
    margin: auto;
    overflow: hidden;
}

@media (max-width: 768px) {
    .galerie-container {
        width: 90vw;
        height: 70vh;
    }
}

@media (max-width: 1000px) and (orientation: landscape) {
    .galerie-container {
        width: 95vw;
        height: 95vh;
    }
}

.swiper-wrapper{
    border-radius: 24px;
}

.swiper-slide {
   border-radius: 24px;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;  
}

/* Preis */
.preis-bereich {
    text-align: center;
    padding: 50px 0;
    width: 100%;
}
.preis-box {
    background: rgba(139, 118, 77, 0.6);
    padding: 30px;
    border-radius: 15px;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
}


.preis-box h3 {
    font-size: 3em; /* Größe anpassen */
    margin-top: 10px;
    margin-bottom: 10px;
}
.preis-box p {
    color: #141414; /* Goldene Farbe */
    font-weight: bold; /* Falls gewünscht, fett machen */
    text-transform: uppercase; /* Optional: Großbuchstaben */
    text-align: center; /* Optional: zentrieren */
    margin-bottom: 0px;
    margin-top: 0px;
}
.preis-box ul {
    margin-top: 10px;
    width: 100%;
}
.preis-box ul li {
    padding: 5px;
}

@media (max-width: 1040px) {
    .preis-box {
        width: 80%;
        max-width: 450px;
        padding: 30px;
        min-height: 350px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 500px) {
    .preis-box {
        width: 90%;
        padding: 25px;
        min-height: 435px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Kontakt */
.kontakt-bereich {
    text-align: center;
    padding: 50px 0;
    width: 100%;
}
.kontakt-box {
    background: rgba(200, 168, 110, 0.4);
    padding: 30px;
    border-radius: 15px;
    width: 40vw;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.kontakt button {
    padding: 12px 24px;
    background: linear-gradient(45deg, #C8A86E, #8D7543);
    color: black;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(200, 168, 110, 0.3);
}
.kontakt button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(200, 168, 110, 0.5);
}
.kontakt input, .kontakt textarea {
    width: 90%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid rgba(200, 168, 110, 0.5);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1em;
    transition: border 0.3s;
}
.kontakt input:focus, .kontakt textarea:focus {
    border-color: #C8A86E;
    outline: none;
}
#kontakt-formular {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
#kontakt-formular input,
#kontakt-formular textarea {
    width: 90%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid rgba(200, 168, 110, 0.5);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1em;
    transition: border 0.3s;
}
#kontakt-formular input:focus,
#kontakt-formular textarea:focus {
    border-color: #C8A86E;
    outline: none;
}
#kontakt-formular input[type="date"] {
    /* Wichtig: Standard-Aussehen erzwingen, um nativen Kalender zu triggern */
    appearance: revert !important;
    -webkit-appearance: revert !important;

    /* Beibehaltung der allgemeinen Feldgröße und des Rahmens für Konsistenz */
    width: 90% !important; /* Behält die Breite bei */
    padding: 12px !important; /* Behält das Padding bei */
    margin: 10px 0 !important; /* Behält den Margin bei */
    border-radius: 5px !important; /* Behält den Radius bei */
    border: 1px solid rgba(200, 168, 110, 0.5) !important; /* Behält den Rand bei */
    font-size: 1em !important; /* Behält die Schriftgröße bei */
    min-height: calc(1.5em + 0.75rem + 2px + (2 * 12px)) !important; /* Höhe anpassen: Basis + Padding */
    /* Höhe explizit setzen, um Schrumpfen zu verhindern.
       Berechnung: ca. Bootstrap-Höhe + vertikales Padding (2 * 12px)
       Alternativ einen festen Wert probieren, z.B. height: 48px; */
    height: calc(1em * 1.5 + 2 * 12px + 2px) !important; /* Höhe basierend auf font-size, line-height (angenommen 1.5), padding, border */


    /* Hintergrund und Farbe entfernen/zurücksetzen, um native Darstellung zu fördern */
    background: transparent !important; /* Oder 'white', falls transparent Probleme macht */
    color: #e0e0e0 !important; /* Helle Textfarbe für Lesbarkeit im dunklen Theme,
                                  ggf. anpassen, wenn der Browser es überschreibt */

    /* Übergänge entfernen, da sie manchmal stören können */
    transition: none !important;
}

#kontakt-formular input[type="date"]:focus {
    /* Beibehaltung der Größe */
    padding: 12px !important;
    border-width: 1px !important; /* Sicherstellen, dass die Border-Breite gleich bleibt */

    /* Fokus-Indikator beibehalten */
    border-color: #C8A86E !important;
    outline: none !important;
    /* Optional: Box-Shadow als Fokusindikator, wenn gewünscht */
    box-shadow: 0 0 0 0.2rem rgba(200, 168, 110, 0.25) !important;

    /* Wichtig: Auch im Fokus das Aussehen beibehalten */
    appearance: revert !important;
    -webkit-appearance: revert !important;
    background: transparent !important; /* Oder 'white' */
    color: #e0e0e0 !important; /* Helle Textfarbe */
}

/* Spezifische Anpassung für den Placeholder-Text im Datumsfeld,
   da dieser auf manchen mobilen Browsern sonst schlecht lesbar sein könnte */
#kontakt-formular input[type="date"]::placeholder {
    color: rgba(0, 0, 0, 0.6) !important; /* Dunklerer Placeholder für bessere Lesbarkeit, falls der Hintergrund hell ist */
    opacity: 1;
}

#kontakt-formular input[type="date"]::placeholder {
    color: rgba(224, 224, 224, 0.7) !important; /* Hellerer Placeholder */
    opacity: 1;
}

#kontakt-formular p {
    text-align: left !important;
}
  

@media (max-width: 768px) {
    .kontakt-box {
        width: 90%;
        padding: 20px;
    }
}

/* Spezifisch für Login und Galerie */
.card {
    margin-top: 20px;
    background-color: rgba(185, 34, 34, 0.5);  /* dunkler, halbtransparenter Hintergrund */
    color: inherit
}
.gallery-card {
    background: rgba(0, 0, 0, 0.253); /* Halbtransparenter Hintergrund */
    backdrop-filter: blur(10px); /* Blur-Effekt */
    -webkit-backdrop-filter: blur(10px); /* Für Safari */
    border-radius: 24px; /* Abgerundete Ecken */
    padding: 5px; /* Abstand für das Bild */
    margin: 2px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.gallery-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Das Bild etwas kleiner machen, damit die Kachel sichtbar bleibt */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px; /* Abstand vom Rand */
}

.card-img-top {
    width: 99%; /* Bild leicht verkleinern */
    height: auto;
    border-radius: 10px; /* Abgerundete Ecken für das Bild */
}

.gallery-card-body {
    display: flex;
    justify-content: center;
    align-items: right;
    gap: 10px;
    width: 99.5%;
    padding: 5px; /* Weniger Padding als .card-body */
}

/* Standard `.card-body` für Login bleibt gleich */
.card-body {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0);
    border-radius: 10px;
    color: black;
}


.share-icon, .download-icon {
    font-size: 22px; /* Größere Icons */
    cursor: pointer; /* Zeigt, dass es klickbar ist */
    transition: transform 0.2s ease-in-out;
}

.share-icon:hover{
    transform: scale(1.2); /* Kleiner Zoom-Effekt beim Hover */
}
.download-icon:hover{
    transform: scale(1.2); /* Kleiner Zoom-Effekt beim Hover */
}

.card-header{
    background-color: transparent !important; /* Hintergrundfarbe entfernen */
    border: none !important; /* Rahmen entfernen */
}

/* Spezifische Farben für Icons */
.share-icon {
    color: #C8A86E; /* Goldene Farbe */
}

.download-icon {
    color: #ffffff; /* Weiße Farbe */
}
.btn-dark {
    background: linear-gradient(45deg, #C8A86E, #8D7543);
    color: black;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-dark:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(200, 168, 110, 0.5);
}


/* Milchglas-Effekt für den Login-Container */
.login-container {
    background: rgba(255, 255, 255, 0.1) !important; /* halbtransparenter weißer Hintergrund */
    border-radius: 25px !important;                  /* abgerundete Ecken */
    padding: 20px;
    backdrop-filter: blur(10px) !important;          /* Unschärfe-Effekt */
    -webkit-backdrop-filter: blur(10px) !important;  /* für Safari */
    /*border: 1px solid rgba(255, 255, 255, 0.3); /* optional: leichter Rahmen */
    color: #e0e0e0 !important; /* Textfarbe */
}



/* Footer */
footer {
    background: transparent;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    width: 100%;
}

footer a {
    color: #C8A86E;
    text-decoration: none;
    transition: color 0.3s;
}
footer a:hover {
    color: #8D7543;
}



