/* Allgemeine Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-image: url('background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #f5f5f5;
  position: relative;
}

/* Dunkler Overlay für bessere Lesbarkeit */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #444;
  z-index: -1;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: rgba(17,17,17,0.85);
  border-bottom: 2px solid #0080ff;
  position: sticky;
  top: 0;
  z-index: 10;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #d0d0d0;
  font-weight: bold;
}

nav a:hover, nav a.active {
  color: #0080ff;
}

.logo img {
  height: 50px; /* oder max-height: 50px; */
  width: auto;
}

.logo {
  height: 50px; /* oder max-height: 50px; */
  width: auto;
}

/* Hero Section */
/*.hero {
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

.hero h2 {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #0080ff;
}

.hero p {
  font-size: 1.2em;
  color: #ccc;
}*/

.hero {
  text-align: center;
  padding: 150px 20px;
  background-image: url('img/Homepage_Logo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #ffffff;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 0;
}

.hero * {
  position: relative;
  z-index: 1;
}

.hero-slogan {
  display: block;
  position: absolute;
  bottom: 50Spx;       /* Abstand von unten */
  left: 50%;           /* horizontal zentrieren */
  transform: translateX(-50%);
  font-size: 1.5em;    /* Schriftgröße anpassen */
  font-weight: bold;
  color: #1e90ff;      /* Farbe für Kontrast */
  background: rgba(0,0,0,0.4); /* optional leichter Hintergrund für bessere Lesbarkeit */
  padding: 10px 20px;
  border-radius: 8px;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1.5s forwards 0.5s; /* Delay 0.5s */
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.hero-slogan:hover {
  transform: translateX(-50%) scale(1.05);
  transition: transform 0.3s ease;
}

/* Shop Styles */
/*.shop-section {
  padding: 60px 20px;
  text-align: center;
  background-image: url('img/Homepage_Logo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #ffffff;
}

/*.shop-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 0;
}*/

.shop-section {
  text-align: center;
  padding: 150px 20px;
  background-image: url('img/Homepage_Logo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #ffffff;
}

.shop-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 0;
}

.shop-section * {
  position: relative;
  z-index: 1;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.product {
  background: rgba(26,26,26,0.85);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #333;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 128, 255, 0.4);
}

.product img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.product a {
  color: #0080ff;
  text-decoration: none;
  font-weight: bold;
}

/*.slider {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
}

.slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px;
  object-fit: cover;
  opacity: 0;
  transition: opacity .4s ease-in-out;
}*/

.slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
}

.slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  will-change: opacity;
  transition: opacity .4s ease-in-out;
}

.slider img.active {
  opacity: 1;
}

/* Pfeile */
.slider .prev,
.slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  padding: 5px 10px;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
}

.slider .prev { left: 10px; }
.slider .next { right: 10px; }

.slider .prev:hover,
.slider .next:hover {
  background: rgba(0,0,0,0.6);
}

/* Kontaktseite Styles */
.contact-section {
  padding: 60px 20px;
  text-align: center;
  background-image: url('img/Homepage_Logo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #ffffff;
}

.contact-form {
  max-width: 500px;
  margin: auto;
  background: rgba(26,26,26,0.85);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #333;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid #444;
  background: #0f0f0f;
  color: #eee;
}

button {
  padding: 12px 20px;
  background: #1e90ff;
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

button:hover {
  background: #0084ff;
}

/* Impressum Styles */
.impressum-section {
  text-align: center;
  padding: 175px 20px;
  background-image: url('img/Homepage_Logo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #ffffff;
}

.impressum-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 0;
}
.impressum-section * {
  position: relative;
  z-index: 1;
}

/* Footer Styles */
footer {
  text-align: center;
  padding: 20px;
  background: #444;
  color: #f5f5f5; 
  border-top: 1px solid #333;
  margin-top: 50px;
}

footer a {
  color: #0080ff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}