/* =======================================================
   🌐 NEBO Global Style – Einheitliches Design für alle Seiten
   ======================================================= */

/* --- Grundlayout --- */
body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #ffffff;
  color: #222;
  line-height: 1.6;
}

/* --- Header --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  background: #f9f9f9;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 10;
}

header img {
  height: 90px;
}

.header-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.header-title h1 {
  font-size: 1.4rem;
  color: #004080;
  margin: 0;
  font-weight: 700;
}

header nav {
  display: flex;
  align-items: center;
  gap: 15px;
}

header nav a {
  text-decoration: none;
  color: #004080;
  font-weight: 600;
}

header nav a:hover {
  color: #002c5f;
}

/* --- Sprachflaggen --- */
.lang-switch-header img,
.lang-switch img {
  width: 28px;
  height: auto;
  cursor: pointer;
  margin-left: 10px;
  transition: transform 0.2s ease;
  vertical-align: middle;
}

.lang-switch-header img:hover,
.lang-switch img:hover {
  transform: scale(1.1);
}

/* --- Wave --- */
.wave {
  display: block;
  width: 100%;
  transform: scaleY(0.6);
  transform-origin: top;
  margin-bottom: -120px;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

/* --- Allgemeine Section --- */
section {
  padding: 25px 40px;
  max-width: 1100px;
  margin: auto;
}

/* =======================================================
   🏠 Startseite (neboeg-basis.html)
   ======================================================= */

#home {
  margin-top: -120px;
}

.home-container {
  display: flex;
  align-items: center;           /* vertikal mittig */
  justify-content: space-between;/* Text links, Bilder rechts */
  gap: 40px;
  flex-wrap: nowrap;
  margin-top: -10px;
}

.home-text {
  flex: 1;
  min-width: 350px;
  margin-left: -60px;
}

.home-image {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 25px;
}

.home-image img {
  width: 220px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive für Home */
@media (max-width: 900px) {
  .home-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .home-text {
    margin-left: 0;
  }

  .home-image {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .home-image img {
    width: 180px;
  }
}

/* =======================================================
   💬 Allgemeine Typografie & Layout
   ======================================================= */
h1, h2, h3 {
  color: #004080;
}

a {
  color: #004080;
}

/* Zweispaltige Layouts (z.B. „Über uns“, „Kontakt“) */
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* =======================================================
   💠 Karten / Dienstleistungen / Projekte
   ======================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
  margin-top: 30px;
  align-items: stretch;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.card {
  background: #ffffff;
  border: none;
  border-radius: 18px;
  padding: 28px 24px 38px;
  box-shadow: 0 8px 20px rgba(0, 64, 128, 0.15);
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 26px rgba(0, 64, 128, 0.25);
}

.card h3 img {
  display: block;
  margin: 0 auto 12px auto;
  width: 50px;
  height: auto;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,0.1));
}

.card h3 {
  color: #003366;
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.card p {
  color: #0a1e3f;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 500;
}

/* Goldkarte */
.gold-card {
  background: linear-gradient(145deg, #fff8cc 0%, #f1d04a 100%);
  box-shadow: 0 12px 28px rgba(210,180,60,0.45);
  color: #4a3b00;
  position: relative;
  overflow: hidden;
}

.gold-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(210,180,60,0.55);
}

.gold-card h3 {
  color: #5b4200;
  font-weight: 600;
}

.gold-card p {
  color: #3e3100;
  font-weight: 500;
}

/* =======================================================
   📸 Galerie (Spanien, Georgien etc.)
   ======================================================= */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.gallery figure {
  flex: 1 1 calc(20% - 20px);
  max-width: 230px;
  text-align: center;
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

.gallery figcaption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #004080;
  font-weight: 500;
}

/* =======================================================
   📞 Kontaktbuttons
   ======================================================= */
.btn-primary {
  display: inline-block;
  background: #0088cc;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #00aaff;
}

/* =======================================================
   🧾 Footer
   ======================================================= */
footer {
  background: #004080;
  color: white;
  text-align: center;
  padding: 20px 40px;
  margin-top: 50px;
}

footer a {
  color: #fff;
  text-decoration: underline;
}

/* =======================================================
   🌍 Sprache & Responsives Design
   ======================================================= */
.lang-de .en { display: none; }
.lang-en .de { display: none; }

@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .gallery figure {
    flex: 1 1 calc(33.3% - 20px);
  }
}

@media (max-width: 700px) {
  .gallery figure {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 500px) {
  .gallery figure {
    flex: 1 1 100%;
  }
}
