/* ========================================= */
/* GLOBAL STYLES */
/* ========================================= */

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background: #f7f8fa;   /* global background */
    color: #222;
}

.container {
    width: min(1150px, 90%);
    margin: auto;
    padding-top: 2rem;
    background: transparent;
}

/* ========================================= */
/* PAGE BANNER (7qsls.jpg) */
/* ========================================= */

.site-banner {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0.5rem 0 0 0; /* top evtl. 4px, 6px, 8px */
    background: #f7f8fa; /* same as body background */
}

.site-banner img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ========================================= */
/* TWO-COLUMN LAYOUT */
/* ========================================= */

.layout-2col {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    background: transparent;
}

/* ========================================= */
/* SIDEBAR */
/* ========================================= */

.sidebar {
    background: #fff;
    padding: 1.2rem;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    width: max-content;
}

.sidebar h3 {
    font-size: 1rem;   /* z.B. 16px ? kleiner machen */
    margin-top: 0;
}

.sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar li {
    margin-bottom: .7rem;
}

.sidebar a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;   /* oder z.B. 0.85rem, 14px, 13px etc. */

}

.sidebar a:hover {
    color: #0066cc;
}

/* ========================================= */
/* CONTENT */
/* ========================================= */

.content {
    background: transparent;
}

.content h1 {
    margin-top: 0;
}

.content hr {
    margin: 3rem 0;
    border: 0;
    border-top: 1px solid #ddd;
}

/* ========================================= */
/* FLOAT IMAGE */
/* ========================================= */

.float-image {
    float: left;
    width: 260px;
    max-width: 40%;
    margin: 0 1.5rem 1rem 0;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* ========================================= */
/* PAGE IMAGES — FULL TEXT WIDTH */
/* ========================================= */

.content figure img {
    width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem 0;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ========================================= */
/* IMAGES - Sonderbehandlung
/* ========================================= */

img.shrinked {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.2rem auto;   /* zentriert horizontal */
}

/* ========================================= */
/* GRID / CARDS */
/* ========================================= */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    background: transparent;
}

.card {
    background: #fff;
    padding: 1.8rem;
    border-radius: 10px;
    text-decoration: none;
    color: #222;
    border: 1px solid #eee;
    box-shadow: 0 4px 18px rgba(0,0,0,.08);
    transition: transform .15s ease, box-shadow .15s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 22px rgba(0,0,0,.12);
}

/* ========================================= */
/* FOOTER */
/* ========================================= */

.footer {

    background: #f7f8fa;
    color: #222;
    padding: 1.2rem 0;
    text-align: center;
}

/* ========================================= */
/* RESPONSIVE — MOBILE VERSION */
/* ========================================= */

@media (max-width: 820px) {

    /* Sidebar and content stacked vertically */
    .layout-2col {
        grid-template-columns: 1fr !important;
    }

    /* Sidebar must not keep desktop width */
    .sidebar {
        width: 100% !important;
    }

    /* Float image must be full width */
    .float-image {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 1.5rem 0;
    }
}</pre>
  </body>
</html>
