body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;

}

body {
  overflow-x: hidden;
}


  .cookie-warning {
    background-color: #fff3cd;
    color: #856404;
    padding: 1rem;
    border: 1px solid #ffeeba;
    border-radius: 6px;
    margin: 1rem 0;
    text-align: center;
  }

  .cookie-warning button {
    margin-left: 1rem;
    padding: 0.5rem 1rem;
  }

header {
    background-color: #c6b79b; /* Weinrot */
    color: white;
    text-align: center;
    padding: 2rem;
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
}

main {
    padding: 2rem 1rem;
    padding-bottom: 2rem;
    margin-top: 2rem;
}

/* Abschnitte */
section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 1.8rem;
    color: #c6b79b;
    margin-bottom: 1rem;
}

p, ul {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

ul {
    list-style-type: disc;
    margin-left: 2rem;
}

button {
    background-color: #c6b79b;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    text-transform: uppercase;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #8a5b2d;
}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    color: #f4f4f9;
}

/* Footer */
footer {
    background-color:#c6b79b;
    color: white;
    text-align: center;
    padding: 1rem;
    
    width: 100%;
   
}

/* Responsives Design */
@media (max-width: 768px) {


    header h1 {
        font-size: 2rem;
    }

    section {
        padding: 1rem;
    }

    button {
        width: 100%;
    }
}



/*Navigation*/

.navigation {
  height: 100vh; /* Volle HÃ¶he des Viewports */
  display: flex;
  justify-content: center; /* Zentriert den Inhalt horizontal */
  align-items: center; /* Zentriert den Inhalt vertikal */
  padding: 2rem;
  box-sizing: border-box;
 position: relative;
  z-index: 0; /* Hintergrund */
  width: 100%;
}



/* Grid Layout fÃ¼r Navigation */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Standard 3 Spalten */
  grid-template-rows: repeat(2, 1fr); /* 2 Reihen */
  gap: 2rem;
  width: 70%; /* Der Container nimmt 70% des Bildschirms ein */
  height: 70%; /* Die HÃ¶he der Navigation nimmt auch 70% des Bildschirms ein */
  max-width: 1200px; /* Maximalbreite des Containers */
  max-height: 900px; /* Maximale HÃ¶he */
  margin: 0 auto; /* Zentriert das Grid innerhalb des Containers */
}

/* Styling der Navigationspunkte (Buttons) */
.nav-item {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: white;
  transition: transform 0.3s ease;
   background-size: cover; /* Bild wird skaliert, um den gesamten Container auszufÃ¼llen */
  background-position: center; /* Bild wird zentriert */
}

/* Bild Styling */
.nav-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.1rem;
}

/* Text (Buttontext) Styling */
.nav-item span {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 1.3rem;
  font-weight: bold;
}

.nav-item:hover {
  transform: scale(1.02);
}

/* Tablet: 2 Spalten */
@media (max-width: 992px) {
  .nav-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 Spalten auf Tablets */
    grid-template-rows: repeat(3, 1fr); /* 3 Reihen */
  }
}

/* Mobile: 1 Spalte */
@media (max-width: 600px) {

  .navigation {
    height: auto; /* Nicht mehr 100vh */
    padding: 1rem;
    z-index: 0;
    padding-bottom: 300px;
  }
  .nav-grid {
    grid-template-columns: 1fr; /* 1 Spalte auf MobilgerÃ¤ten */
    grid-template-rows: repeat(6, 1fr); /* 6 Reihen */
    width: 100%
  }

  .nav-item span {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .nav-item {
    height: 180px;
  }
main {
    margin-top: 300px; /* HÃ¶he der Navigation plus etwas Puffer */
    padding: 1rem;
  }
}



.nav-content {
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  width: 100%;
  color: white;
  text-align: center;
}

.nav-button {
  position: absolute;
  bottom: 20px;  /* Button wird unten im Bild platziert */
  left: 50%;
  transform: translateX(-50%);  /* Zentriert den Button horizontal */
  background-color: #c6b79b;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.nav-button:hover {
    background-color: #8a5b2d;
}




.treffpunkt-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
    align-items: flex-start;
}

.map-container {
    flex: 1 1 300px;
    min-height: 300px;
    max-width: 600px;
}

.anreise-info {
    flex: 1 1 300px;
    max-width: 500px;
}

@media (max-width: 768px) {
    .map-container {
        width: 100% !important;
        height: 250px;
        max-width: 100%;
        overflow: hidden;
    }

    .map-container iframe {
        width: 100% !important;
        height: 100% !important;
        border: 0;
    }
}

.about-us {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 1100px;
    width: 95%;
}

.about-us h2 {
    font-size: 1.8rem;
    color: #c6b79b;
    margin-bottom: 1rem;
    text-align: center; /* Ãœberschrift zentriert */
}

.treffpunkt-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
    align-items: center;
}

#ueber-uns {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#ueber-uns h2 {
    font-size: 1.8rem;
    color: #c6b79b;
    margin-bottom: 1rem;
    text-align: center; /* Ãœberschrift zentriert */
}

/* Flexbox fÃ¼r das zweispaltige Layout */
.ueber-uns-container {
    display: flex;
    gap: 10rem;
    align-items: center;
    justify-content: space-between;
}

/* Textcontainer */
.ueber-uns-text {
    flex: 1;
    font-size: 1.1rem;
    color: #333;
}

/* Bildcontainer */
.ueber-uns-img-container {
    flex: 1;
    text-align: center;
}

/* Bild */
.ueber-uns-img {

    max-width: 70%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
display: block; 
}

@media (max-width: 768px) {
    .ueber-uns-container {
        flex-direction: column;
        text-align: center;
    }

    .ueber-uns-img {
        width: 60%;
    }
}

/*Links */
main a {
    color: #333;
    text-decoration: underline;
}

main a:hover {
    color: #c6b79b;
}

/* Links im Footer explizit weiÃŸ */
footer a {
    color: white;
    text-decoration: underline;
}

footer a:hover {
    color: #f4f4f9;
}



/* Kontaktformular*/
.contact-section {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    margin-top: 20px;
    width: 100%; /* Formular nimmt die gesamte Breite ein */
    box-sizing: border-box; /* stellt sicher, dass auch das Padding in die Breite einbezogen wird */
}

.contact-section h2 {
    font-size: 24px;
    color: #333;
    text-align: center;
}

.contact-section label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.contact-section .form-field {
    margin-bottom: 15px; /* Abstand zwischen den Feldern */
}

.contact-section input, 
.contact-section textarea {
    width: 100%; /* Input und Textarea nehmen die volle Breite ein */
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ddd;
    box-sizing: border-box; /* sorgt dafÃ¼r, dass Padding und Border in die Gesamtbreite einbezogen werden */
}

.contact-section button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%; /* Der Button nimmt ebenfalls die gesamte Breite ein */
    box-sizing: border-box; /* stellt sicher, dass der Button nicht Ã¼ber die Breite hinausgeht */
}

.contact-section button:hover {
    background-color: #45a049;
}

/* Startseite */
/* Hero Startbild */
.hero-startbild {
    background-image: url('hintergrund.jpg'); /* Passe den Pfad ggf. an */
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* Social Media Icons oben im Header */
.social-links {
    position: absolute;
    top: 20px; /* Abstand vom oberen Fensterrand */
    left: 50%;
    transform: translateX(-50%); /* Zentrieren der Icons */
    display: flex;
    gap: 30px; /* Abstand zwischen den Icons */
    font-size: 2.5rem; /* GrÃ¶ÃŸere Icons */
    z-index: 3; /* Damit die Icons Ã¼ber dem Hero-Overlay liegen */
    justify-content: space-between;
    align-items: center;
}

.social-link {
    color: #c6b79b;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white; /* Farbe beim Hover (beispielsweise braun) */
}

/* Hero Overlay */
.hero-overlay {
    background-color: rgba(0, 0, 0, 0.4); /* Halbtransparenter Hintergrund */
    padding: 2rem;
    border-radius: 12px;
    z-index: 1; /* Unter den Social-Links */
    position: relative; /* Stellt sicher, dass der Overlay-Inhalt richtig positioniert ist */
    display: flex;
    flex-direction: column;
    align-items: center; /* Zentriert den Text und Button */
    justify-content: center; /* Zentriert den Inhalt vertikal */
    text-align: center;
    color: white;
}

.hero-overlay h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-button {
    background-color: #c6b79b;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #8a5b2d;
}



/* ZurÃ¼ck nach oben Button */
.back-to-top {
    position: fixed;
    bottom: 120px; /* Abstand vom unteren Rand, der jetzt etwas grÃ¶ÃŸer ist, damit er Ã¼ber dem Footer erscheint */
    left: 50%;  /* Button bleibt mittig auf der Seite */
    transform: translateX(-50%); /* Korrektur der Position, damit der Button wirklich zentriert wird */
    background-color: rgba(0, 0, 0, 0.5); /* Durchsichtiger Hintergrund */
    color: white;
    padding: 15px; /* GrÃ¶ÃŸe des Kreises */
    font-size: 2rem; /* GrÃ¶ÃŸe des Pfeilsymbols */
    border-radius: 50%; /* Runde Form */
    text-align: center;
    display: none; /* Button zunÃ¤chst unsichtbar */
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Ein bisschen Schatten */
}

.back-to-top:hover {
    background-color: rgba(0, 0, 0, 0.7); /* Hover-Effekt mit stÃ¤rkerem Hintergrund */
}

/* Button sichtbar machen */

.show {
    display: block; /* Button sichtbar */}


/*Logo */

.logo-container {
    position: absolute;  /* Positioniert das Logo relativ zum Header */
    top: 0%;  /* Vertikal mittig */
    right: 0%;  /* rechts auÃŸen */
    padding: 10px;           /* Optional: Abstand zum Rand */

    
    z-index: 2;  /* Zwischen den Social Links und dem Hero-Overlay */
}

.logo {
    width: auto;
    max-height: 200px; /* Oder die gewÃ¼nschte HÃ¶he fÃ¼r das Logo */
    max-width: 100%; /* Verhindert, dass das Logo zu groÃŸ wird */
}



.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
  text-decoration: none;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

war-erwartet-container,
.was-erwartet-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.was-erwartet-text {
  flex: 1 1 60%;
}

.was-erwartet-logo img {
  max-width: 200px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 600px) {
  .logo {
    max-height: 100px;
  }

  .logo-container {
    padding: 5px;
    top: 10px;
    right: 10px;
  }
}


