@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
* {
  font-family: "Roboto", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  background-color: #f8f8f8;
  line-height: 1.7;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 2px solid #009f4e;
  backdrop-filter: blur(5px);
}
.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.navbar a:hover {
  color: #009f4e;
}

.nav-links,
.nav-socials {
  display: flex;
  gap: 1.5rem;
}

.positions-container {
  margin: 50px auto;
  padding: 0 20px;
  max-width: 1200px;
  text-align: center;
}
.positions-container h1 {
  margin-bottom: 50px;
  font-size: clamp(2.1rem, 5.5vw, 2.9rem);
}

.selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin-bottom: 60px;
}

.mini-card {
  background: white;
  border: 2px solid #ddd;
  padding: 20px 15px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  text-transform: uppercase;
}
.mini-card:hover {
  border-color: #009f4e;
  transform: translateY(-4px);
}
.mini-card.active {
  background-color: #009f4e;
  color: white;
  border-color: #009f4e;
}

.content-detail {
  display: none;
  max-width: 90%;
  margin: 0 auto 80px auto;
  background: #fff;
  padding: 40px 45px;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

.detail-section {
  margin-bottom: 45px;
  text-align: left;
}
.detail-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #009f4e;
  margin-bottom: 16px;
  font-size: 1.35rem;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 12px;
}
.detail-section p {
  color: #444;
  line-height: 1.75;
}

.graph-img-container {
  width: 100%;
  max-width: 75%;
  margin: 25px auto 15px auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: #fff;
  padding: 8px 0;
}

.graph-img {
  max-width: 100%;
  min-width: 460px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.graph-heading {
  margin: 32px 0 12px 0;
  color: #333;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
}

.mietpreis-tabelle {
  width: 100%;
  max-width: 82%;
  margin: 25px auto 15px auto;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}
.mietpreis-tabelle th,
.mietpreis-tabelle td {
  padding: 9px 8px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}
.mietpreis-tabelle th {
  background: #f5f5f5;
  color: #333;
  font-weight: 600;
  border-bottom: 2px solid #e0e0e0;
}
.mietpreis-tabelle tr:last-child td {
  border-bottom: none;
}
.mietpreis-tabelle td:nth-child(2) {
  font-weight: 600;
  color: #222;
}

.quelle-link {
  display: inline;
  font-size: 1.25rem;
  vertical-align: baseline;
  color: #009f4e;
  text-decoration: none;
  margin-left: 1px;
  transition: color 0.15s ease;
}

.caption {
  font-size: 0.88rem;
  color: #666;
  text-align: center;
  margin: 10px 0 24px 0;
}

.crime-chart-container {
  width: 100%;
  margin: 32px 0 25px 0;
  padding: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  border: 1px solid #f0f0f0;
}
.crime-chart-container canvas {
  width: 100% !important;
  height: 380px !important;
}

@media (max-width: 768px) {
  .content-detail {
    padding: 30px 20px;
  }
  .graph-img-container,
  .mietpreis-tabelle {
    max-width: 100%;
  }
  .graph-img {
    min-width: 0;
    width: 100%;
  }
  .crime-chart-container {
    padding: 16px 10px;
  }
  .crime-chart-container canvas {
    height: 300px !important;
  }
}
@media (max-width: 480px) {
  .mietpreis-tabelle th,
  .mietpreis-tabelle td {
    padding: 8px 6px;
    font-size: 0.9rem;
  }
  .crime-chart-container {
    padding: 12px 6px;
  }
  .crime-chart-container canvas {
    height: 260px !important;
  }
}/*# sourceMappingURL=styles-positions.css.map */