/* Zusätzliche Styles für Kontakt/Über uns/Bewertungen */
.alert { padding: .8rem 1rem; border-radius: 10px; margin:.8rem 0; }
.alert.success { background:#e7f8ed; color:#14532d; }
.alert.error { background:#fdecec; color:#7f1d1d; }

.contact-form { background:#fff; padding:1rem; border-radius:14px; box-shadow:0 8px 24px rgba(0,0,0,0.07); display:grid; gap:.8rem; margin:1rem 0 2rem; }
.contact-form input, .contact-form textarea { border:1px solid #e5e7eb; border-radius:10px; background:#fafafa; padding:.6rem; font-size:1rem; }
.contact-form .grid-2 { display:grid; gap:.8rem; grid-template-columns:1fr 1fr; }
.hidden-field { display:none !important; }
.form-note { color:#6b7280; font-size:.9rem; }
.btn { display:inline-block; border:none; border-radius:10px; padding:.7rem 1rem; background:#0d3b66; color:#fff; font-weight:600; text-decoration:none; cursor:pointer; box-shadow:0 6px 16px rgba(13,59,102,0.25); }
.btn:hover { filter:brightness(1.1); }

.about, .testimonials { margin-top:2rem; background:#f8fafc; padding:1.2rem; border-radius:1rem; box-shadow:0 1px 4px rgba(0,0,0,.05); }
.testimonial-grid { display:grid; gap:1rem; }
.testimonial-grid blockquote { background:#fff; padding:1rem; border-radius:.75rem; box-shadow:0 1px 3px rgba(0,0,0,.05); font-style:italic; }

@media (max-width: 700px) { .contact-form .grid-2 { grid-template-columns:1fr; } }

/* 🔹 Einheitliches Raster für gemischte Hoch-/Querformate */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery .card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  aspect-ratio: 1 / 1; /* quadratische Fläche – gleichmäßige Darstellung */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery .card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 kein Leerraum mehr */
  object-position: center;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery .card:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* 🔹 Lightbox Individualisierung im Fenster-auf-Maß-Stil */
.glightbox-clean .gcontainer {
  background-color: rgba(14, 52, 89, 0.95);
  backdrop-filter: blur(5px);
}

.glightbox-clean .gslide-title {
  color: #fff !important;
  font-weight: 500;
  letter-spacing: 0.4px;
}

.glightbox-clean .gclose {
  background: #0e3459 !important;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  right: 15px;
  top: 15px;
  transition: background 0.3s ease;
}

.glightbox-clean .gclose:hover {
  background: #1a4979 !important;
}

.glightbox-clean .gclose svg {
  stroke: #fff !important;
  width: 22px;
  height: 22px;
}

/* Pfeile (nächste/vorherige) */
.glightbox-clean .gnext, 
.glightbox-clean .gprev {
  background-color: #0e3459 !important;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  transition: background 0.3s ease;
}

.glightbox-clean .gnext:hover, 
.glightbox-clean .gprev:hover {
  background-color: #1a4979 !important;
}

/* Sanfter Zoom-In Effekt beim Öffnen */
.glightbox-container img.gslide-image {
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease;
}
/* 🔹 Kundenstimmen Layout */
.feedback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.feedback-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 1.2rem 1rem;
  line-height: 1.6;
  color: #111827;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feedback-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.feedback-card p {
  margin: 0.4rem 0;
}

.feedback-card strong {
  display: block;
  margin-top: 0.4rem;
  color: #0e3459;
  font-weight: 600;
}

.feedback-section h1 {
  margin-bottom: 0.5rem;
}

.feedback-section p {
  color: #374151;
}

/* 🔹 Mobile Optimierung */
@media (max-width: 700px) {
  .feedback-card {
    padding: 1rem;
  }
}
/* ----- Bilder global sauber skalieren (Hero + Content) ----- */
.hero {
  display: flex;
  justify-content: center;
  margin: 0 auto 2rem auto;
}
.hero-image {
  width: 100%;
  max-width: 1200px;   /* Desktop-Breite begrenzen */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Sektion für Bilder im Inhaltsbereich */
.content-image {
  display: flex;
  justify-content: center;
}
.content-image img {
  width: 100%;
  max-width: 1000px;   /* Desktop-Breite begrenzen */
  height: auto;
  margin: 2rem auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Mobile: weicher, ohne Schatten */
@media (max-width: 768px) {
  .hero-image,
  .content-image img {
    max-width: 100%;
    border-radius: 4px;
    box-shadow: none;
  }
}

/* Optionales Utility, falls du irgendwo schnell skalieren willst */
.img-fluid { max-width: 100%; height: auto; }


/* ===========================================
   Hero-Bereich auf der Startseite
   =========================================== */
.text-hero {
  text-align: center;
  margin: 4rem auto;
  max-width: 900px;
}

.text-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.text-hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #222;
}

.text-hero .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #0b355c;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.text-hero .btn:hover {
  background-color: #0d4575;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
/* ===========================================
   Fix: Text-Hero wirklich zentrieren
   =========================================== */
.text-hero {
  text-align: center !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.text-hero h1,
.text-hero p,
.text-hero .btn {
  text-align: center;
}

