/* ==============================
   ZENTRALE VARIABLEN
================================ */
:root {
  --header-height: 70px;
  --footer-height: 60px;
  --banner-height: 320px;
}

/* ==============================
   RESET & BASIS
================================ */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  padding-top: var(--header-height);
  padding-bottom: var(--footer-height);
  background: #fff;
  color: #111;
}

/* ==============================
   HEADER (FIXED)
================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: #111;
  color: #fff;
  z-index: 2000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Logo links, Menü rechts */
  margin-right: 10px;
}

.header .logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  margin-right: auto; /* schiebt alles andere nach rechts */
  margin-left: 10px;
  margin-top: 10px;
}

.header .logo:hover {
  color: #ffd700; /* optional: Farbe ändern beim Hover */
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 400;
}

.main-nav a.active {
  color: #ffd700; /* gewünschte Farbe */
  font-weight: bold;
  border-bottom: 2px solid #ffd700; /* optional */
}

/* ==============================
   BANNER
================================ */
.banner {
  position: relative;
  height: 250px; /* Bannerhöhe nach Wunsch */
  background: url('dein-banner.jpg') center/cover no-repeat; /* optionales Bild */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

/* Halbtransparente graue Überlagerung */
.banner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(68, 68, 68, 0.6); /* Grauer Overlay */
  z-index: 1;
}

/* Text & Button über Overlay */
.banner h1,
.banner .back-arrow {
  position: relative;
  z-index: 2;
}

/* Zur Galerie Button links oben */
.banner .back-arrow {
  position: absolute; /* absolut positioniert */
  left: 20px;        /* linker Rand */
  top: 20px;         /* Abstand von oben */
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  background: rgba(0,0,0,0.5);
  padding: 6px 12px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.banner .back-arrow:hover {
  background: rgba(0,0,0,0.8);
}

/* ==============================
   CONTENT
================================ */
.content {
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

.page {
  padding: 40px 0;
}

/* Single Column (Home & Kontakt) */
.single-column {
  width: 60%;
  margin: 0 auto;
}

/* ==============================
   FOOTER (FIXED)
================================ */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--footer-height);
  background: #111;
  color: #fff;
  z-index: 2000;

  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 400;
}

/* ==============================
   MOBILE
================================ */
@media (max-width: 768px) {
  .single-column {
    width: 95%;
  }

  .main-nav a {
    margin-left: 12px;
  }
}

/* Burger Icon */
.burger {
display: none;
flex-direction: column;
cursor: pointer;
width: 25px;
height: 20px;
justify-content: space-between;
}


.burger span {
display: block;
height: 3px;
width: 100%;
background: #fff;
border-radius: 2px;
transition: all 0.3s ease;
}


/* Mobile Menü aktivieren */
.main-nav {
display: flex;
align-items: center;
}


/* Mobile Ansicht */
@media (max-width: 768px) {
.burger {
display: flex;
}


.main-nav {
position: fixed;
top: var(--header-height);
right: 0;
height: calc(100% - var(--header-height));
width: 200px;
background: #111;
flex-direction: column;
align-items: center;
justify-content: flex-start;
padding-top: 20px;
transform: translateX(100%);
transition: transform 0.3s ease;
z-index: 1500;
}


.main-nav a {
margin: 15px 0;
font-size: 1.2rem;
}


/* Aktivierte Klasse */
.main-nav.nav-active {
transform: translateX(0);
}


/* Burger Animation */
.burger.toggle span:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}
.burger.toggle span:nth-child(2) {
opacity: 0;
}
.burger.toggle span:nth-child(3) {
transform: rotate(-45deg) translate(5px, -5px);
}
}
/* ==============================
   GALERIE GRID STYLES
================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px; /* Zeilen- und Spaltenabstand anpassbar */
  padding: 40px 20px;
}

.gallery-item img {
  width: 100%;
  display: block;
  border-radius: 5px;
  transition: filter 0.5s ease;
  cursor: pointer;
}

.gallery-item:hover img {
  filter: brightness(95%);
}

/* Optional: Bildtitel auf Hover (zentriert) */
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
/* ==============================
   GALERIE ITEM OVERLAY MIT ALBUMNAME
================================ */

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  display: block;
  border-radius: 5px;
  transition: filter 0.5s ease;
  cursor: pointer;
}

.gallery-item:hover img {
  filter: brightness(95%);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  background: rgba(0,0,0,0.4); /* halbtransparent */
  opacity: 0;
  transition: opacity 0.5s ease;
  text-align: center;
  padding: 0 10px;
}

.gallery-item:hover .overlay {
  opacity: 1;
  transition-duration: 0.5s;
}

.gallery-item:not(:hover) .overlay {
  transition-duration: 0.25s;
}

/* Mobile */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
/* Lightbox Container */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease;
}

/* Bild */
.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* Close Button */
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* Navigation Pfeile */
.lightbox .nav {
  position: absolute;
  top: 50%;
  color: #fff;
  font-size: 50px;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
  padding: 10px;
}

.lightbox .prev { left: 10px; }
.lightbox .next { right: 10px; }


/* FORMULAR */
.contact-page {
  max-width: 600px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Roboto', sans-serif;
}

.contact-form label {
  display: block;
  margin-top: 15px;
  font-weight: 500;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #444;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  margin-top: 20px;
  padding: 12px 25px;
  background-color: #444;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s, transform 0.2s;
}

.contact-form button:hover {
  background-color: #666;
  transform: translateY(-2px);
}

.required {
  color: #d00;
  margin-left: 2px;
}

/* Animation: Fade-In + Fade-Out */
@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(-10px); }
  10% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-10px); }
}

.success, .error {
  opacity: 0; /* standardmäßig unsichtbar */
  animation: fadeInOut 5s forwards; /* 5 Sekunden sichtbar, dann ausblenden */
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-weight: bold;
}

.success {
  background-color: #e0f7e0;
  color: #27632a;
}

.error {
  background-color: #fde0e0;
  color: #a20000;
}

/* Responsive für Mobile */
@media (max-width: 600px) {
  .contact-page {
    padding: 0 15px;
  }

  .contact-form button {
    width: 100%;
  }
}
/* Datenschutz/Impressum Textseiten */
.privacy h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.4;
}

.privacy p {
  margin: 10px 0;
  line-height: 1.65;
}

.privacy ul {
  margin: 10px 0 10px 20px;
}

.privacy li {
  margin: 6px 0;
  line-height: 1.6;
}