:root {

    --sidebar-width: 320px;

    --sidebar-bg: #2c3e50;

    --sidebar-hover: #34495e;

    --primary-color: #0d6efd;

    --content-bg: #f5f7fb;

    --text-color: #2b2b2b;

    --code-bg: #1e293b;

    --code-color: #e2e8f0;

    --border-color: #dee2e6;
}

html {
    scroll-behavior: smooth;
}

body {

    background: var(--content-bg);

    color: var(--text-color);

    font-family: Arial, sans-serif;
}

.sidebar {

    width: var(--sidebar-width);

    min-height: 100vh;

    background: var(--sidebar-bg);

    position: fixed;

    top: 0;

    left: 0;

    overflow-y: auto;

    z-index: 1040;
}

.sidebar .nav-link {

    color: rgba(255, 255, 255, 0.85);

    border-radius: 8px;

    padding: 0.7rem 1rem;

    margin-bottom: 0.25rem;

    transition: all 0.2s ease;

    font-size: 0.95rem;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {

    background: var(--sidebar-hover);

    color: #fff;
}

.main-content {

    margin-left: var(--sidebar-width);

    min-height: 100vh;
}

.hero-section {

    background: linear-gradient(135deg,
            #ffffff 0%,
            #eef4ff 100%);

    border: 1px solid rgba(0, 0, 0, 0.05);

    border-radius: 18px;

    padding: 3rem;
}

.endpoint-card {

    background: #fff;

    border-radius: 18px;

    border: 1px solid rgba(0, 0, 0, 0.06);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);

    overflow: hidden;
}

.endpoint-header {

    background: #f8fafc;

    border-bottom: 1px solid var(--border-color);

    padding: 1.25rem 1.5rem;
}

.endpoint-body {
    padding: 1.5rem;
}

.method-badge {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 70px;

    padding: 0.45rem 0.9rem;

    border-radius: 999px;

    font-size: 0.85rem;

    font-weight: 700;

    background: #198754;

    color: #fff;
}

pre {

    background: var(--code-bg);

    color: var(--code-color);

    border-radius: 14px;

    padding: 1.25rem;

    overflow-x: auto;

    margin: 0;
}

code {

    font-family: Consolas, monospace;

    font-size: 0.9rem;
}

.code-inline {

    background: #e9ecef;

    padding: 0.15rem 0.4rem;

    border-radius: 6px;

    font-size: 0.9rem;
}

.info-card {

    background: #fff;

    border-radius: 18px;

    padding: 1.5rem;

    border: 1px solid rgba(0, 0, 0, 0.06);

    height: 100%;
}

.accordion-button:not(.collapsed) {

    background: #eef4ff;

    color: #000;
}

footer {
    color: #6c757d;
}

@media (max-width: 991.98px) {

    .sidebar {
        display: none;
    }

    .main-content {
        margin-left: 0;
    }

    .hero-section {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {

    .hero-section {
        padding: 1.5rem;
    }

    .endpoint-header,
    .endpoint-body,
    .info-card {
        padding: 1.25rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}


/*CookieBanner - Start*/
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f7f9fb;
    border-top: 3px solid #51a0d8;
    /* orange Akzent passend zu deiner Seite */
    color: #1e3a8a;
    /* dunkles Blau als Textfarbe */
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    padding: 15px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.cookie-banner__content {
    /*flex: 1 1 110px;*/
    text-align: left;
    line-height: 1.4;
    width: 80%;
}

.cookie-banner__link {
    color: #51a0d8;
    text-decoration: underline;
    /*margin-left: 8px;*/
}

.cookie-banner__link:hover {
    color: #d14800;
}

.cookie-banner__btn {
    background: #51a0d8;
    border: none;
    color: white;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.cookie-banner__btn:hover {
    background: #0061a6;
}

@media (max-width: 480px) {
    .cookie-banner {
        flex-direction: column;
        padding: 12px 15px;
    }

    .cookie-banner__btn {
        width: 100%;
        margin-top: 8px;
    }
}

/*CookieBanner - Ende*/