* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #f7f9fb;
  color: #333;
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.fade-page.loaded {
  opacity: 1;
}

header {
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-container img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  color: #0077b6;
}

nav a {
  text-decoration: none;
  color: #006b8f;
  margin: 0 1rem;
  font-weight: 500;
}

nav a:hover, .active {
  color: #00b4d8;
}

.hero {
  height: 70vh;
  position: relative;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 2rem;
}

.content {
  max-width: 1000px;
  margin: auto;
  padding: 4rem 2rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery img {
  width: 100%;
  border-radius: 12px;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.03);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

input, textarea {
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

button {
  background: linear-gradient(90deg, #0077b6, #00b4d8);
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: opacity 0.3s;
}

button:hover {
  opacity: 0.9;
}

footer {
  text-align: center;
  padding: 2rem;
  background: #006b8f;
  color: white;
  margin-top: 3rem;
}

/* Floating & Fade-In */
.fade-in, .fade-in-delay, .float-up, .float-up-delay {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Parallax Effekt */
.parallax {
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .hero {
    height: 60vh;
  }
  .parallax {
    background-attachment: scroll;
  }
}
/* Statusmeldungen im Kontaktformular */
#form-status.form-status {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  padding: 0.75rem;
  border-radius: 8px;
  display: inline-block;
}
#form-status.success {
  background: #e6f7ee;
  color: #145c32;
  border: 1px solid #b7e2c7;
}
#form-status.error {
  background: #fdecea;
  color: #8a1f17;
  border: 1px solid #f5c6c3;
}

/* Datenschutz-Checkbox */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #444;
}