.navbar-brand {
    display: flex !important;
    align-items: center !important;
}

.logo-text {
    margin-left: 10px;
    font-size: 1.2em;
    font-weight: bold;
    color: #fff; /* Farbe an dein Design anpassen */
}


/* Container für nebeneinander liegende Bilder */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Bilder responsive machen */
.image-grid img {
    max-width: 100%;  /* Bilder werden NICHT größer als Original */
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.image-grid figure {
    margin: 0;
    text-align: center;
}

.image-grid figcaption {
    margin-top: 8px;
    font-style: italic;
    color: #666;
    font-size: 0.9em;
}

/* Erzwingt dass alle Links im gleichen Tab öffnen */
a {
    target-name: current;
    target-new: tab;
}

/* Optional: Nur für interne Links */
a[href^="/"] {
    target-name: current;
    target-new: tab;
}


#theme-toggle {
    position: fixed;
    bottom: 1rem;
    right: 5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    font-size: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    color: #fff;
    z-index: 1000;
}

