html,
body {

    margin: 0;
    padding: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    font-family: -apple-system,
                 BlinkMacSystemFont,
                 "Segoe UI",
                 Roboto,
                 sans-serif;
}

#map {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 1;
}


/* =======================================================
   Bottom Sheet
   ======================================================= */

#sheet {

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 42%;

    background: white;

    border-top-left-radius: 24px;
    border-top-right-radius: 24px;

    box-shadow: 0 -6px 20px rgba(0,0,0,.25);

    z-index: 1000;

    display: flex;
    flex-direction: column;
}


/* kleiner Griff */

#sheet-handle {

    width: 56px;
    height: 6px;

    margin: 10px auto;
    padding: 14px 0;

    border-radius: 4px;

    background: #d0d0d0;
    background-clip: content-box;

    touch-action: none;
}


/* Kopf */

#sheet-header {

    padding: 8px 18px;

    border-bottom: 1px solid #ececec;

    touch-action: none;
}

#sheet-header h1 {

    margin: 0;

    font-size: 22px;
    font-weight: 700;
}


/* Inhalt */

#sheet-content {

    flex: 1;

    overflow-y: auto;

    padding: 20px 22px 40px 22px;
}

#sheet-content h2 {

    margin-top: 0;

    font-size: 24px;
}

#sheet-content p {

    font-size: 19px;
    line-height: 1.6;
}


/* =======================================================
   Desktop
   ======================================================= */

@media (min-width: 900px){

    #sheet{

        width:420px;

        left:20px;
        right:auto;

        top:20px;
        bottom:20px;

        height:auto;

        border-radius:20px;
    }

    #sheet-handle{

        display:none;
    }

}

/* ===========================================
   Spot Details
   =========================================== */

.spot-title{

    display:flex;

    align-items:center;

    gap:14px;

    margin-bottom:18px;

}

.spot-name{

    font-size:24px;

    font-weight:700;

}

.spot-subtitle{

    color:#777;

    font-size:15px;

}

.info-card{

    background:#f7f7f7;

    border-radius:14px;

    padding:14px;

    margin-bottom:14px;

}

.info-title{

    font-size:14px;

    font-weight:700;

    color:#666;

    margin-bottom:8px;

    text-transform:uppercase;

    letter-spacing:.04em;

}

.info-text{

    font-size:18px;

    line-height:1.45;

}

/* ===========================
   Suche
=========================== */

#search-box {

    position: absolute;

    top: 15px;
    left: 50%;

    transform: translateX(-50%);

    width: 85%;

    z-index: 2000;

}

#search-input-wrap {
    position: relative;
    width: 100%;
}

#search {
    width: 100%;
    box-sizing: border-box;

    padding: 12px 42px 12px 14px;

    border-radius: 12px;

    border: none;

    font-size: 16px;
    -webkit-text-size-adjust: 100%;

    box-shadow: 0 3px 12px rgba(0,0,0,.25);
}

#search-clear {
    display: none;

    position: absolute;
    right: 10px;
    top: 50%;

    transform: translateY(-50%);

    width: 28px;
    height: 28px;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: #e5e5e5;
    color: #555;

    font-size: 22px;
    line-height: 26px;

    cursor: pointer;
}

#search-clear:hover {
    background: #d5d5d5;
}

#search-results{

    background:white;

    margin-top:6px;

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 3px 12px rgba(0,0,0,.2);

}

.search-item{

    padding:12px;

    cursor:pointer;

}

.search-item:hover{

    background:#f2f2f2;

}

/* ===========================
   GPS Button
=========================== */

#gps-button {

    position: absolute;

    right: 18px;

    bottom: 120px;

    width: 54px;

    height: 54px;

    border: none;

    border-radius: 50%;

    background: white;

    font-size: 24px;

    cursor: pointer;

    z-index: 2000;

    box-shadow: 0 4px 12px rgba(0,0,0,.25);

}

#gps-button:hover{

    transform: scale(1.05);

}
/* --------------------------------------------------------
 * GPS-Standortmarker
 * -------------------------------------------------------- */

.gps-marker {
    position: relative;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gps-marker-pulse {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #1976d2;
    opacity: 0.45;
}

.gps-marker-dot {
    position: relative;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1976d2;
    border: 3px solid #ffffff;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

