/* === Layout & Struktur === */
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#map-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    background: white;
    z-index: 0;
    display: flex;
    flex-direction: row;
}


#sidebar {
    width: 250px;
    padding: 20px;
    background: #f2f0ef;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-right: 1px solid #ddd;
    box-shadow: inset -1px 0 0 #eee;
}

#sidebar {
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow-y: auto;
}



#map {
    flex-grow: 1;
    height: 100%;
    position: relative;
}

/* === Logo === */
#logo-container {
    padding: 10px;
    background: #fff;
    padding: 10px 14px;
    line-height: 1.5;
    border: 1px solid #ddd;

    border-radius: 6px;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}


#map-logo {
    width: 120px;
    height: auto;
    display: block;
}


/* === Reset-Button unter Zoom-Control === */
#reset-button {
    position: absolute;
    top: 80px;
    left: 10px;
    z-index: 1000;

    width: 35px;
    height: 35px;
    padding: 0;
    font-size: 18px;
    line-height: 35px;
    text-align: center;

    background: #fff;
    border: 2px solid #a1a1a1;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

#reset-button:hover {
    background: #f5f5f5;
}


/* === Boxen in der Sidebar === */
.sidebar-box {
    margin-top: 10px;
    background: #fff;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    color: #333;
}


/* === Zeitscheibe & Legendenüberschrift === */
.legend-title,
#map-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}


/* === Radiobuttons === */
.radio-group label,
.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    margin: 0;
    accent-color: #000;
    vertical-align: middle;
    transform: translateY(-1px);
}

.radio-label.planned input[type="radio"]:checked {
    accent-color: #800080;
}

.radio-label.active input[type="radio"]:checked {
    accent-color: #FF1493;
}

.radio-label.finished input[type="radio"]:checked {
    accent-color: #808080;
}


/* === Legende === */
#custom-legend {
    margin-top: 10px;
    background: #fff;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    color: #333;
}

.legend-color {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 3px;
}

.legend-icon {
    width: 18px;
    height: auto;
    vertical-align: middle;
    margin-right: 6px;
}

.legend-title-inline {
    font-weight: bold;
    color: #333;
    margin-right: 6px;
}


#bilder {
    padding: 20px;
    text-align: center;
  }
  
  #bilder h2 {
    font-size: 2em;
    margin-bottom: 20px;
  }
  
  .bilder-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
  }
  
  .bild-box {
    max-width: 300px;
  }
  
  .bild-box h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
  }
  
  .bild-box img {
    width: 100%;
    height: auto;
    border-radius: 5px;
  }
  
  .bild-box p {
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
  }
  