/* === Global === */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  background-color: #1a1a1a;
  color: #f2f2f2;
  margin: 0;
  padding-top: 200px;
  line-height: 1.6;
}

/* === Header === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: #008b8b;
  padding: 10px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: inherit;
}

.logo-link:hover {
  opacity: 0.8;
  cursor: pointer;
}

.logo-img {
  height: 5cm;
  width: auto;
  display: block;
}

.header-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: #ffffff;
  line-height: 1.1;
}

.main-nav {
  margin-left: auto;
  margin-right: 2cm;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

.main-nav a:hover,
.main-nav a.active {
  text-decoration: underline;
}

/* === Hero Section === */
.hero {
  text-align: center;
  padding: 80px 20px;
}

.hero-title {
  font-family: 'Anton', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #00b3b3;
}

.btn-primary {
  display: inline-block;
  background-color: #008b8b;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #00a0a0;
}

/* === Abschnitte === */
.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section.dark {
  background-color: #111;
}

h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #00b3b3;
}

/* === Leistungen Grid === */
.leistungen-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 30px;
}

.leistung {
  flex: 1 1 280px;
  text-align: center;
}

.leistung-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #008b8b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.leistung h3 {
  margin-top: 10px;
  font-family: 'Orbitron', sans-serif;
  color: #ffffff;
}

/* === Galerie Vorschau === */
.gallery-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.gallery-preview img {
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid #008b8b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* === Formular === */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

input, textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
}

textarea {
  resize: vertical;
}

button[type="submit"] {
  background-color: #008b8b;
  color: #fff;
  padding: 12px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #00a0a0;
}

.radio-group {
  display: flex;
  gap: 20px;
}

/* === Footer === */
.site-footer {
  background-color: #111;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer a {
  color: #008b8b;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* === Galerie-Grid (galerie.html) === */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.gallery-grid img {
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid #008b8b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* === Lightbox === */
#lightbox-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}

#lightbox-image {
  max-width: 80vw;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 20px black;
}

#lightbox-close {
  position: fixed;
  top: 15px;
  right: 25px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  font-weight: bold;
  z-index: 1100;
}

#lightbox-close:hover {
  color: #00a0a0;
}

.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  z-index: 1100;
}

.lightbox-arrow:hover {
  background: rgba(0, 160, 160, 0.8);
  color: #e0ffff;
}

#prev-btn {
  left: 15px;
}

#next-btn {
  right: 15px;
}
