﻿/* Grundstil */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navigation */
header {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: #222;
  font-weight: 400;
  transition: color 0.3s;
}

nav a:hover {
  color: #555;
}

/* Hero Slideshow */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

/* Startzustand: erste Folie sichtbar */
.slide.active {
  opacity: 1;
}

/* Overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35); /* transparentes Overlay für Text */
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Sektionen */
.section {
  padding: 5rem 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 600;
  font-size: 2rem;
}

/* About */
.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-image {
  flex: 1;
  min-width: 280px;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Galerie */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  width: 100%;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* Kontaktformular */
form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
  gap: 1rem;
}

form input, form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
}

form input:focus, form textarea:focus {
  outline: none;
  border-color: #000;
}

/* Footer */
footer {
  background: #f5f5f5;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  color: #555;
}

/* Responsiv */
@media (max-width: 768px) {
  .about {
    flex-direction: column;
  }

  nav ul {
    gap: 1rem;
  }
}
/* Preise */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.pricing-card {
  text-align: center;
  border-radius: 10px;
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.1);
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(4px);
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.price span {
  font-size: 0.9rem;
  font-weight: 400;
}

.pricing-card ul {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.pricing-card ul li {
  margin-bottom: 0.5rem;
}

.pricing-card .btn {
  margin-top: 1rem;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Highlight-Tarif */
.pricing-card.highlight {
  border: 2px solid #000;
  background: #fff;
}

/* Dunkle Variante */
body.dark .pricing-card {
  background: #1b1b1b;
  border: 1px solid #333;
}

body.dark .pricing-card.highlight {
  background: #000;
  border-color: #fff;
}
/* Scroll Animation - initialer Zustand */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

/* Wenn sichtbar */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

