/* === Grundlayout & Hintergrund === */
body {
  font-family: 'SF Pro Display', 'Helvetica Neue', sans-serif;
  margin: 0;
  color: #222;
  background: url('../images/background.jpg') center/cover fixed no-repeat;
}

/* Haupt-Wrapper: nur Abstand, KEIN weißes Panel */
main {
  max-width: 1280px;
  margin: 40px auto;
  padding: 0 30px 40px;
  background: transparent; /* transparent statt weiß */
  box-shadow: none;
  border-radius: 0;
  min-height: 60vh;
}

/* === HEADER – Glasig transparent wie im Design === */
header {
  position: sticky;
  top: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 28px;

  /* Glas-Effekt */
 background: transparent;
}


/* === Logo + Menü nebeneinander === */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: #111;
  background: transparent; /* kein Hintergrund */
}

.logo img {
  height: 28px;
  width: auto;
  display: block;
  background: transparent; /* falls SVG transparent bleiben soll */
}

/* === Navigation === */
.main-nav {
  margin-left: auto;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  color: #111;
  text-decoration: none;
  font-weight: 500;
  font-size: 17px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav a:hover {
  color: #000;
  opacity: 0.85;
}

/* === Dropdowns (WordPress-Standard) === */
.main-nav li {
  position: relative;
}

.main-nav li ul {
  display: none;
  position: absolute;
  top: 120%;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  padding: 10px 12px;
  min-width: 200px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.main-nav li:hover > ul {
  display: block;
}

.main-nav li ul li {
  padding: 6px 2px;
}

.main-nav li ul a {
  display: block;
  padding: 6px 10px;
}

/* === Burger-Menü (mobil) === */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 26px;
  height: 3px;
  background: #111;
  border-radius: 3px;
}

@media (max-width: 900px) {
  .main-nav ul {
    display: none;
  }

  .main-nav.active ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: absolute;
    right: 20px;
    top: 78px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 18px 22px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
  }

  .burger {
    display: flex;
    margin-left: auto;
  }
}

/* === Kachelraster === */
.tiles,
.locations {
  max-width: 1280px;
  margin: 32px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 34px;
}

/* === Karten / Boxen === */
.tile,
.location-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tile:hover,
.location-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

.tile img,
.location-card img {
  width: 100%;
  height: auto;
  display: block;
}

.tile h2,
.location-card h2 {
  text-align: center;
  margin: 14px 10px 18px;
  font-size: 1.35rem;
  color: #111;
}

.location-card p {
  text-align: center;
  font-size: 15px;
  color: #444;
  margin: 4px 0;
}

.location-card .btn {
  display: inline-block;
  margin: 14px auto 18px;
  padding: 10px 22px;
  background: #111;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.location-card .btn:hover {
  background: #333;
}

/* === Kalender-Platzhalter === */
.calendar-placeholder {
  max-width: 1280px;
  margin: 50px auto 0;
  padding: 36px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 12px;
  font-weight: 500;
  font-size: 18px;
  color: #444;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

/* === Instagram-Fallback === */
.grid-fallback {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  max-width: 1280px;
  margin: 24px auto 0;
}

.grid-fallback img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/* === Footer === */
footer {
  background: #111;
  color: #fff;
  padding: 50px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-radius: 12px;
  margin: 60px auto 40px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  max-width: 1280px;
}

footer div {
  width: 30%;
}

footer h3 {
  margin-bottom: 15px;
}

footer p {
  margin: 5px 0;
}

footer small {
  width: 100%;
  text-align: center;
  margin-top: 40px;
  display: block;
  opacity: 0.7;
  font-size: 14px;
}

/* === Responsive === */
@media (max-width: 1024px) {
  main {
    margin: 24px auto;
    padding: 0 22px 30px;
  }

  header {
    padding: 14px 22px;
  }
}

@media (max-width: 768px) {
  .tiles,
  .locations {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  footer div {
    width: 100%;
    margin-bottom: 28px;
  }
}

/* === Übergänge === */
a,
button,
.btn {
  transition: all 0.25s ease;
}
