/*=======================
GRUNDSTILE
=======================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(180deg, #ffffff, #f5f5f5);
  scroll-behavior: smooth;
}

/*=======================
HEADER
=======================*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(0, 0, 0, 0.6);
}

header .logo {
  max-width: 70px;
}

header nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  justify-content: center;
  align-items: center;
}

header nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  padding: 5px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

header nav ul li a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

/*=======================
HERO / INTRO
=======================*/
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  flex-direction: column;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 15px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.4);
}

.hero-text p {
  font-size: 1.4rem;
  max-width: 700px;
  line-height: 1.5;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

/* Kleinere Hero Variante */
.hero-small {
  height: 50vh;
}

.hero-small .hero-text h1 {
  font-size: 2.5rem;
}

.hero-small .hero-text p {
  font-size: 1rem;
  max-width: 500px;
}

.hero-note {
  padding: 20px 10%;
  text-align: center;
  background-color: #f5f5f5;
  font-size: 1rem;
  color: #555;
}

/*=======================
MAIN CONTENT / SECTIONS
=======================*/
main {
  padding-top: 100px; /* Platz für fixierten Header */
}

.container {
  padding: 80px 10%;
  text-align: center;
}

.container h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
}

.container h2::after {
  content: '';
  width: 60px;
  height: 3px;
  background: #ffcc00;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.container p {
  max-width: 750px;
  margin: 0 auto 40px;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Content Sections */
.content-section {
  padding: 60px 10%;
  background: #fff;
  margin: 20px auto;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  text-align: left;
}

.content-section h2 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 15px;
}

.content-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/*=======================
BILDER / GALLERY
=======================*/
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.image-item {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-align: center;
}

.image-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.image-item img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

/*=======================
INSTAGRAM LINKS
=======================*/
.instagram-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.instagram-links a {
  text-decoration: none;
  color: #fff;
  background: #e1306c;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.instagram-links a:hover {
  background: #c1275b;
  transform: translateY(-3px);
}

/*=======================
KONTAKTFORMULAR
=======================*/
form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input, form select, form textarea {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
}

form button {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  background-color: #0077cc;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background-color: #005fa3;
}

details {
  margin: 10px 0;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  font-size: 0.95rem;
}

details summary {
  font-weight: 600;
  cursor: pointer;
}

/*=======================
GALLERY / LIGHTBOX
=======================*/
.gallery-section {
  padding: 80px 10%;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.gallery-item img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.lightbox-overlay {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 15px;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}

.lightbox-close {
  top: 20px;
  left: 30px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  color: #ffcc00;
}

/*=======================
LEISTUNGEN
=======================*/
/* Intro */
.leistungen-intro {
  padding: 120px 10% 60px 10%;
  text-align: center;
  background-color: #e6f0fa;
}

.leistungen-intro h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: #0077cc;
}

.leistungen-intro p {
  font-size: 1.3rem;
  max-width: 850px;
  margin: 0 auto;
  color: #333;
  line-height: 1.7;
}

/* Switch */
.switch-section {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.switch-container {
  position: relative;
  width: 320px;
  height: 55px;
  background: #ddd;
  border-radius: 30px;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
}

.switch-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: #0077cc;
  border-radius: 30px;
  transition: left 0.3s ease;
  z-index: 2;
}

.switch-option {
  position: absolute;
  width: 50%;
  height: 100%;
  line-height: 55px;
  font-weight: 600;
  text-align: center;
  z-index: 1;
  transition: color 0.3s ease;
  color: #0077cc;
}

.switch-option[data-type="catering"] { left: 0; }
.switch-option[data-type="reinigung"] { left: 50%; }

.switch-container.active .switch-option[data-type="catering"] { color: #fff; }
.switch-container.active .switch-option[data-type="reinigung"] { color: #0077cc; }

/* Leistungscontainer */
.leistungen-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 80px 20px;
}

.leistung-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 60px;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  background: #fff;
  min-height: 350px;
}

.leistung-block:nth-child(even) { flex-direction: row-reverse; }

.leistung-image { flex: 1; min-width: 300px; overflow: hidden; }
.leistung-image img { width: 100%; height: 100%; object-fit: cover; }

.leistung-text { flex: 2; padding: 40px; }
.leistung-text h3 { font-size: 2rem; color: #0077cc; margin-bottom: 20px; }
.leistung-text p { font-size: 1.15rem; line-height: 1.7; color: #333; }

/*=======================
FOOTER
=======================*/
footer {
  padding: 40px 10%;
  background: #000;
  color: #fff;
  text-align: center;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
}

footer a {
  color: #eee;
  margin: 0 10px;
  text-decoration: none;
}

footer a:hover { color: #ffcc00; }

/*=======================
RESPONSIVE
=======================*/
@media (max-width: 1024px) {
  .leistung-block { min-height: 300px; }
}

@media (max-width: 768px) {
  header nav ul { gap: 12px; }
  .hero-text h1 { font-size: 2.5rem; }
  .hero-text p { font-size: 1.1rem; }
  .switch-container { width: 250px; height: 50px; }
  .switch-option { line-height: 50px; }
  .leistung-block { flex-direction: column !important; min-height: auto; }
  .leistung-image, .leistung-text { width: 100%; }
  .leistung-text { padding: 20px; }
  .leistungen-intro h1 { font-size: 2.5rem; }
  .leistungen-intro p { font-size: 1.15rem; }
}

@media (max-width: 480px) {
  .switch-container { width: 200px; height: 45px; }
  .switch-option { line-height: 45px; font-size: 0.95rem; }
  .leistung-text h3 { font-size: 1.5rem; }
  .leistung-text p { font-size: 1rem; }
  .leistungen-intro h1 { font-size: 2rem; }
  .leistungen-intro p { font-size: 1rem; }
  .hero-text h1 { font-size: 2rem; }
  .hero-text p { font-size: 1rem; }
  .content-section { padding: 40px 5%; }
  .content-section h2 { font-size: 1.5rem; }
  .content-section p { font-size: 0.95rem; }
}
