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

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f4f6f8;
  color: #333;
  line-height: 1.7;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* ===== Header (Google-Sites-ähnlich) ===== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px 16px;
  min-height: 285px;
  overflow: hidden;
  text-align: center;
  color: #222;
}

/* Hintergrundbild */
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
  transform: none;
}

/* Aufhellung (subtil wie Google Sites) */
.hero-overlay {
  display: none;
}

/* Content Layer */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 1.5rem 2rem;
}

/* Typografie */
.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 12px;
  font-weight: 600;
  text-shadow: none;
}

.subtitle {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  opacity: 0.95;
  text-shadow: none;
}

/* ===== Inhalt ===== */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.gallery img {
  width: 100%;
  border-radius: 14px;
  background: white;
  padding: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transition: 0.3s;
}

.gallery img:hover {
  transform: translateY(-5px);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.card {
  background: white;
  border-radius: 14px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
}

.card h2 {
  color: #005a9c;
  margin-bottom: 20px;
}

.card ul {
  list-style: none;
}

.card li {
  padding: 8px 0;
  border-bottom: 1px solid #ececec;
}

.card li:last-child {
  border: none;
}

footer {
  margin-top: 60px;
  background: #1f2937;
  color: white;
  text-align: center;
  padding: 40px 20px;
}

footer a {
  color: #7ec3ff;
  text-decoration: none;
}

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

/* ===== Mobile Anpassung ===== */
@media (max-width: 700px) {
  .hero {
    min-height: 285px;
    padding: 45px 16px;
  }

  .hero-content {
    padding: 2rem 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
  }
}
