/* --- Grundeinstellungen --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    background-color: #fff;
}

.site-wrapper {
    display: flex;
    min-height: 100vh;
}

/* --- Blaue Sidebar (Desktop) --- */
.sidebar {
    width: 280px;
    background-color: #0052a3; /* Das blaue Farbschema */
    color: #ffffff;
    flex-shrink: 0;
    padding: 40px 25px;
    display: flex;
    flex-direction: column;
}

.brand-logo {
    color: #2c3e50; /* Dunkle Schrift für "ROBERT KOLLER" wie auf dem Screenshot */
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.1;
    text-decoration: none;
    display: block;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* Hauptnavigation */
.main-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
}

.main-nav a:hover {
    opacity: 0.8;
}

/* --- Rechter Hauptbereich --- */
.main-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Kontakt-Leiste oben */
.top-contact-bar {
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 30px;
    font-size: 0.85rem;
    color: #666;
}

.contact-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

/* Inhaltsbereich */
.content-area {
    padding: 40px 30px;
    max-width: 900px;
}

/* --- Hamburger Checkbox-Trick verstecken --- */
.menu-toggle, .hamburger-icon {
    display: none;
}

/* ===================================================
   RESPONSIVE DESIGN (Für schmale Bildschirme / Mobil)
   =================================================== */
@media (max-width: 850px) {
    .site-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        padding: 15px 20px;
    }

    .sidebar-header {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .brand-logo {
        margin-bottom: 0;
        font-size: 1.8rem;
    }

    /* Hamburger-Icon anzeigen */
    .hamburger-icon {
        display: block;
        font-size: 1.8rem;
        color: #fff;
        cursor: pointer;
    }

    /* Navigation standardmäßig auf Mobilgeräten einklappen */
    .main-nav {
        display: none;
        padding-top: 20px;
    }

    /* Wenn das Hamburger-Menü (Checkbox) angeklickt wird -> Navigation anzeigen */
    .menu-toggle:checked ~ .sidebar .main-nav {
        display: flex;
    }

    .top-contact-bar {
        padding: 10px 20px;
    }
}

    /* --- Bild links vom Text fließen lassen --- */
.float-left {
    float: left;
    margin-right: 25px;
    margin-bottom: 15px;
    border-radius: 4px; /* Optional: leicht abgerundete Ecken */
}

/* Clearfix: Verhindert, dass nachfolgende Elemente unbeabsichtigt hochrutschen */
.post-content::after {
    content: "";
    display: table;
    clear: both;
}

/* --- Deine eigenen Text-Klassen aus Obsidian --- */
.text-blau {
    color: #0052a3; /* Das passende Blau aus deinem Design */
}
.text-gruen {
    color: #017358;
}
.text-rot {
    color:  #cb0033;
}
.text-antrazit {
    color: #565042;
}


.titel1 {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
    margin-top: 25px;
    margin-bottom: 10px;
}
.titel2 {
    font-size: 1.3rem;
    font-weight: bold;
    display: block;
    margin-top: 25px;
    margin-bottom: 10px;
}
.titel3 {
    font-size: 1.1rem;
    font-weight: bold;
    display: block;
    margin-top: 20px;
    margin-bottom: 10px;
}


/* Erreicht Absätze direkt in der Inhaltszone oder in <article> */
article p, main p, p {
    margin-bottom: 1.2em !important;
    line-height: 1.6;
}