html{
    font-size: 16px;
    font-family: 'Quicksand', sans-serif;
}

.controls{
    position: relative;
}

select {
    font-size: 18px;
}

#chart_ankuefte_gesamt,
#chart_ankuefte_inland,
#chart_ankuefte_ausland,
#chart_uebernachtungen_gesamt,
#chart_uebernachtungen_inland,
#chart_uebernachtungen_ausland,
#chart_dauer_gesamt,
#chart_dauer_inland,
#chart_dauer_ausland{
    margin: 35px auto;
    width: 100%;
}

.charts_ankuefte,
.charts_uebernachtungen,
.charts_dauer{
    display: flex;
    max-width: 100%;
    width: 100%;
}

.controls {
    margin-bottom: 20px;
}

.controls form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}

.controls-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.controls small {
    color: #666;
}

#regioSelect {
    min-width: 320px;
    min-height: 260px;
    padding: 8px;
}

.charts {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.chart-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    padding-bottom: 40px;
}

.error {
    padding: 10px 12px;
    margin-bottom: 16px;
    background: #ffe7e7;
    border: 1px solid #d33;
    color: #900;
    border-radius: 8px;
}

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.tab-btn {
    padding: 10px 16px;
    border: none;
    background: #ddd;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.tab-btn:hover {
    background: #ccc;
}

.tab-btn.active {
    background: #333;
    color: white;
}

.tab-content {
    display: none; /* standardmäßig versteckt */
    background: white;
    border-radius: 10px;
}

.tab-content.active {
    display: grid; /* nur aktiver Inhalt sichtbar */
}

.view-switcher,
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.view-switcher label,
#years-view label,
#last10-view label,
#months-view label{
    flex: 0 0 100%;
    font-weight: bold;
}

.view-btn,
.tab-btn {
    border: 1px solid #cfd8d7;
    background: #f4f7f6;
    color: #24403d;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
}

.view-btn.active,
.tab-btn.active {
    background: #39615e;
    color: #fff;
    border-color: #39615e;
}

.view-panel {
    display: none;
    margin-bottom: 24px;
}

.view-panel.active {
    display: block;
}

.apexcharts-toolbar{
    z-index: 1000;
    bottom: -10px;
}

.apexcharts-menu{
    opacity: 1 !important;
    display: flex; !important;
    border: none !important;
    box-shadow: none !important;
    z-index: 1000;
    pointer-events: all !important;
}

.apexcharts-menu-item{

}

.apexcharts-menu-icon {
    display: none !important;
}

.ss-main .ss-values .ss-value,
.ss-content .ss-list .ss-option:hover,
.ss-content .ss-list .ss-option.ss-highlighted, .ss-content .ss-list .ss-option:not(.ss-disabled).ss-selected {
    background-color: #39615e !important;
}

@media (min-width: 580px) {

    .chartbox{
        position: relative;
    }

    .anzeigen-btn{
        margin-top: 28px;
    }
    .ss-main{
        min-width: 470px !important;
        max-width: 470px !important;
    }
}
