body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #212529;
  background-color: #fff;
}
/* In Deiner custom.css ganz nach oben, direkt nach Bootstrap */
.container,
.container-fluid {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p, li, td, th {
  font-size: 1rem;
}

a:hover,
a:focus {
  text-decoration: none;
}


.header {
  background-image: url('/design/img/kopf.jpg');
  background-size: cover;
  background-position: center;
  min-height: 150px;
  color: white;
  padding: 2rem 0;
  position: relative;
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;

  z-index: 1;
}

.header .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 576px) {
  .header {
    min-height: 120px;
    padding: 1rem 0;
  }

  .header h1 {
    font-size: 1.8rem;
  }

  .header p {
    font-size: 1rem;
  }
}



footer a {
  color: #ffffff;
  text-decoration: none;
}
footer a:hover {
  color: #cce6ff;
}

.heading-full-underline {
  border-bottom: 1px solid #0057b8; /* blau, kann angepasst werden */
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  display: block;                  /* wichtig: gesamte Breite */
  width: 100%;                     /* über volle Containerbreite */
}

/* ========== Leaflet Map & Popups ========== */
#map, .map {
  width: 100%;
  height: 800px;
  border: 1px solid #aaa;
  border-radius: 0.5rem;
  z-index: 1;
}

.custom-popup .leaflet-popup-content-wrapper {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  padding: 0;
  min-width: 300px;
  max-width: 360px;
  height: 300px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.custom-popup .leaflet-popup-tip {
  background: #fff;
}
.popup-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.popup-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}
.popup-text {
  padding: 4px 6px;
  font-size: 0.75rem;
  color: #333;
  text-align: center;
  width: 100%;
  line-height: 1.2;
  border-top: 1px solid #eee;
  flex-shrink: 0;
}

.card-link {
  text-decoration: none;
  color: inherit;
}
.card-link:hover {
  background-color: #f0f0f0;
  color: #0056b3;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
}






 #preloader { position: fixed; top:0; left:0; right:0; bottom:0; background:#fff; z-index:9999; }
        #status { width:200px; height:200px; position:absolute; left:50%; top:50%; background:url('/assets/img/loader.gif') no-repeat center; margin:-100px 0 0 -100px; }
    .leaflet-custom-popup {
  max-width: 260px;
  text-align: center;
  font-size: 0.9rem;
  padding: 0;
}

.popup-image {
  max-width: 250px;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  margin: 0 auto;
}

.popup-title {
  font-weight: 600;
  margin-top: 0.5rem;
  color: #333;
  text-decoration: none;
  font-size: 1rem;
}

/* Leaflet Popup Anpassung */
.leaflet-popup-content {
  margin: 0 !important;
  padding: 0.5rem !important;
}

.leaflet-popup-content-wrapper {
  border-radius: 0.5rem;
  padding: 0 !important;
  max-width: 270px !important;
}

.leaflet-popup-tip {
  background: #fff;
}