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

body {
  font-family: Arial, sans-serif;
  background-color: #9da28c;
  padding: 56px 40px;
}

/* Hauptlayout */
.container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 72px;
  flex-wrap: nowrap;
  max-width: 1600px;
  margin: 0 auto;
}

/* Card links */
.card {
  flex: 0 0 400px;
  background: #6f6f6f;
  color: #000;
  padding: 30px 25px;
  border-radius: 22px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  text-align: center;
}

h1 {
  color: #111;
  font-size: 32px;
  margin-bottom: 14px;
}

.email {
  font-size: 17px;
  margin-bottom: 20px;
}

/* Buttons */
a {
  color: #007bff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.button {
  display: inline-block;
  padding: 12px 22px;
  margin-top: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background-color: #007bff;
  border-radius: 8px;
  transition: background-color .25s ease, transform .05s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}
.button:hover { background-color: #005fd1; }
.button:active { transform: translateY(1px); }

/* Karte rechts */
.map-wrapper {
    flex: 0 0 820px;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
    padding: 12px 16px 16px 16px; /* weniger Padding oben/unten */
    text-align: center;
  }

/* Überschrift über der Karte */
.map-title {
    font-size: 26px;
    font-weight: bold;
    color: #222;
    margin-bottom: 6px; /* ↓ kleinerer Abstand zur Karte */
    letter-spacing: 0.5px;
  }

/* Plotly-Container */
#map {
  width: 100%;
  height: 480px;
  border-radius: 16px;
}

/* Responsiv */
@media (max-width: 1100px) {
  .container {
    flex-wrap: wrap;
    gap: 36px;
  }
  .card, .map-wrapper {
    flex: 1 1 100%;
    max-width: 900px;
    margin: 0 auto;
  }
  #map { height: 440px; }
  .map-title { font-size: 22px; }
}

@media (max-width: 520px) {
  body { padding: 28px 16px; }
  .card { padding: 22px 18px; }
  h1 { font-size: 26px; }
  .map-wrapper { padding: 16px; }
  #map { height: 380px; }
}

