* {
  box-sizing: border-box;
}

body {
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Cabin", sans-serif;
  background-color: black;
  padding-left: 5%;
  padding-right: 5%;
}

.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 3px;
}
.steinbock-header {
  width: 100%;
  border-radius: 20px;
  
}
.container-steinbock-header {
  background-color: white;
  padding: 2px;
  display: block;
  border-radius: 20px;
}
.headline {
  color: white;
  background-color: black;
}
.title {
  font-weight: weight;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
a {
  color: white;
  text-decoration: none;
  margin-left: 16px;
  font-weight: bold;
}
a:hover {
  color: #545453fa;
}
.name-headline {
  font-size: 80%;
}

.beschreibung-text {
  background-color: white;
  width: 100%;
  color: black;
  padding: 16px;
  border-radius: 20px;
}

@media (min-width: 850px) {
  .nav-links {
    display: flex;
    flex-direction: row; /* wichtig für horizontale Anordnung */
    gap: 32px; /* schöner Abstand */
    padding-right: 5%;
    flex-wrap: nowrap; /* verhindert Umbruch */
  }

  .nav-links a {
    margin-left: 0;
    white-space: nowrap;
  }
}

@media (max-width: 930px) {
  .navigation {
    position: relative;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: black;
    position: absolute;
    top: -20px;
    right: -70%;
    width: 130px; /* etwas breiter für Ausgleich */
    padding: 10px 12px 18px 12px; /* gleichmäßiger Innenabstand */
    color: white;
    border: 1px solid white;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    z-index: 1000;
    list-style: none;
    gap: 2px; /* gleichmäßiger Abstand zwischen Links */
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links .close-menu {
    align-self: flex-end;
    font-size: 20px;
    cursor: pointer;
    margin-bottom: 8px;
    color: white;
  }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
  }

  .nav-links a {
    color: white;
    display: block;
    padding: 4px 0;
    color: white;
    text-decoration: none;
    text-align: left;
    font-size: 0.95rem;
  }

  .nav-links a:hover {
    color: #5c5b5b;
  }
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: black;
  color: white;
  padding: 24px 0;
  gap: 16px;
}

.impressum-datenschutz {
  display: flex;
  gap: 24px;
}

footer .links {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

footer .links:hover {
  color: #888;
}

.instagram-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease;
}

.instagram-link:hover {
  transform: scale(1.1);
}

.instagram-icon {
  width: 32px;
  height: 32px;
  fill: white;
}

.copyright {
  font-size: 0.9rem;
  text-align: center;
}

.header-wrapper {
  max-width: 1200px;
  border: 2px solid white; /* erzeugt sichtbaren weißen Rahmen */
  border-radius: 20px;
  margin-top: 16px;
  margin-bottom: 16px;
  box-sizing: border-box; /* stellt sicher, dass die Breite korrekt bleibt */
}

.navbar {
  background-color: black;
  border-radius: 16px;
  padding-left: 16px;
  padding-right: 16px;
  margin: 2px; /* NEU hinzugefügt – simuliert den Abstand zum weißen Rand */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Gemeinsamer Wrapper für Header und Galerie */

/* Galerie mit flexiblem Grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 20px;
}

/* Karten-Design */
.card {
  position: relative;
  aspect-ratio: 3 / 2; /* 3:2 Seitenverhältnis */
  overflow: hidden;
  border-radius: 10px;
  display: block;
  text-decoration: none;
  border: 2px solid white;
}

/* Bild */
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.03);
}

/* Titelbalken */
.title-bar {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  background-color: rgba(50, 50, 50, 0.5);
  color: white;
  font-weight: bold;
  font-size: 1.1em;
  text-align: left;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}

@media (max-width: 422px) {
  body {
    padding-left: 0%;
    padding-right: 0%;
  }
}
@media (max-width: 380px) {
  .title {
    font-size: 26px;
  }
  .name-headline {
    font-size: 22px;
  }
}

@media (max-width: 328px) {
  .title {
    font-size: 22px;
  }
  .name-headline {
    font-size: 18px;
  }
}

.gallerie-beitrag {
  max-width: 1200px;
  color: white;
  background-color: black;
  border: 2px solid white;
  border-radius: 16px;
  padding-left: 16px;
  padding-right: 16px;
}

.gallerie-beitrag-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  justify-content: center;
  padding-bottom: 16px;
}

.thumb {
  height: 150px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #ddd;
  border-radius: 5px;
  transition: 0.3s;
}

.thumb:hover {
  border-color: #333;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  z-index: 1;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 3;
}

.gallerie-beitrag-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 60px;
  padding: 0 20px;
}

.prev,
.next {
  cursor: pointer;
  user-select: none;
}

.lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  max-height: 80vh;
  width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
}

.arrow {
  font-size: 60px;
  color: white;
  cursor: pointer;
  user-select: none;
  z-index: 2;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.2s;
}
.arrow:hover {
  background: rgba(255, 255, 255, 0.2);
}
.arrow.prev {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.arrow.next {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Mittlere Bildschirme (z.B. Tablets) */
@media (max-width: 768px) {
  .arrow {
    font-size: 40px;
    padding: 8px 16px;
  }
}

/* Kleine Bildschirme (Smartphones) */
@media (max-width: 480px) {
  .arrow {
    font-size: 28px;
    padding: 6px 12px;
  }
}

/*angebot*/
.gallerie-beitrag ul {
  list-style: none; /* keine Aufzählungspunkte */
  padding-left: 0; /* kein Einrücken */
  margin: 0; /* optional: kein Außenabstand */
}

.gallerie-beitrag li {
  margin-bottom: 1rem;
}

.gallerie-beitrag h3 {
  margin: 0; /* kein Abstand oben/unten */
}

.gallerie-beitrag p {
  margin: 0.2rem 0 0 1rem; /* oben 0.2rem Abstand, links eingerückt */
}

.thumb-angebot {
  height: 300px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #ddd;
  border-radius: 5px;
  transition: 0.3s;
  margin: 30px 0;
}

@media (max-width: 1040px) {
  .thumb-angebot {
    height: 220px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 5px;
    transition: 0.3s;
    margin: 30px 0;
  }
}
@media (max-width: 805px) {
  .thumb-angebot {
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 5px;
    transition: 0.3s;
    margin: 30px 0;
  }
}

@media (max-width: 600px) {
  .thumb-angebot {
    width: 100%; /* passt das Bild an die volle Breite des Containers an */
    height: auto; /* erhält das Seitenverhältnis */
    display: block; /* verhindert Inline-Spacing bei Bildern */
    margin: 10 auto; /* zentriert das Bild horizontal */
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 5px;
    transition: 0.3s;
  }
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
  background-color: black;
  border: 2px solid white;
  border-radius: 16px;
  color: white;
}

.about-text p {
  line-height: 1.5;
}

/* Standard: Bild 100% breit, unter dem Text */
.bild-about-lukas {
  width: 100%;
  height: auto;
  border: 2px solid white;
  border-radius: 12px;
  margin-bottom: 16px;
}

.about-separator {
  margin-top: 30px;
  padding-top: 16px;
}
/* Ab 700px: float Bild rechts */
@media (min-width: 700px) {
  .bild-about-lukas {
    float: right;
    width: 300px; /* fixe Breite */
    margin-left: 24px;
    margin-bottom: 16px;
  }
}

@media (max-width: 700px) {
  .about-separator {
    margin-top: 10px;
    padding-top: 0px;
  }
}

.mail-impressum {
  margin-left: 0px;
  padding-left: 0px;
}

.about-text::after {
  content: "";
  display: block;
  clear: both;
}
.link-class {
  padding: 0;
  margin: 0;
}

/*Slideshow*/

.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 100vh;
  padding: 2%;
  background-color: #000; /* schwarzer Rand bei Hochformat */
  overflow: hidden;
  border-radius: 20px;
}

.slide {
  position: absolute;
  width: 96%;
  height: 96%;
  object-fit: contain; /* passt sich an, ohne was abzuschneiden */
  object-position: center;
  opacity: 0;
  transition: opacity 1s;
}

.slide.active {
  opacity: 1;
}

.container-abstand {
  padding-top: 20px;
}

/*Banner*/
/* Grauer Overlay-Hintergrund */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* halbtransparentes Schwarz/Grau */
  display: none;
  z-index: 999;
}

/* Willkommensbanner zentriert im Overlay */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 999;
}

/* Willkommensbanner zentriert im Overlay */
#welcome-banner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: black;
  padding: 20px;
  border: 2px solid white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
  font-family: sans-serif;
  color: white;
  width: 90%;
  max-width: 400px;
  box-sizing: border-box;
}

/* Header mit Titel und Button */
.banner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner-title {
  font-size: 1.3em;
  margin: 0;
}

/* Body mit Beschreibungstext */
.banner-body {
  margin-top: 15px;
  font-size: 0.95em;
}

/* Schließen-Button */
#close-btn {
  background-color: black;
  border: 2px solid white;
  color: white;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1em;
}

/* Mobile Optimierung */
@media (max-width: 400px) {
  .banner-title {
    font-size: 1.1em;
  }

  .banner-body {
    font-size: 0.9em;
  }

  #close-btn {
    padding: 4px 8px;
    font-size: 1em;
  }
}

/*Angebot*/

.angebot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.angebot-card {
  background-color: #1a1a1a;
  border: 2px solid white;
  padding: 16px;
  border-radius: 12px;
  color: white;
  transition: transform 0.2s ease;
}

.angebot-card:hover {
  transform: scale(1.02);
}

.angebot-card h3 {
  margin-top: 0;
}

.preis {
  color: #999;
  font-weight: bold;
  margin-top: 8px;
}




/* Standard (Handy & Tablet) */
.angebot-galerie-korektur {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px 10px; /* 5px vertikal, 10px horizontal */
}

.angebot-galerie-korektur img.thumb-angebot {
  width: 100%;
  height: auto; /* Seitenverhältnis bleibt */
  object-fit: cover;
  border: 2px solid #ddd;
  border-radius: 5px;
}

/* Ab 800px: mehrere Bilder nebeneinander */
@media (min-width: 800px) {
  .angebot-galerie-korektur {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}





