/* ==============================================
   HEADER: Transparent oben, dunkel beim Scrollen
   ============================================== */

#header {
    background: transparent !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.4s ease, height 0.4s ease;
    height: 180px !important;           /* Deine aktuelle Höhe für großes Logo */
    overflow: visible !important;
}

#header.scrolled {
    background: #1a1a1a !important;     /* Dunkel beim Scrollen */
    height: 90px !important;
}

/* Logo-Größen */
#header .logo img,
#header .logo svg {
    height: 150px !important;
    width: auto !important;
    transition: height 0.4s ease;
}

#header.scrolled .logo img,
#header.scrolled .logo svg {
    height: 70px !important;
}

/* ==============================================
   WICHTIG: Content unter transparentem Header starten lassen
   ============================================== */

body {
    padding-top: 180px !important;      /* Genau die Header-Höhe – Text startet darunter */
}

/* Beim Scrollen Padding anpassen (kleinerer Header) */
#header.scrolled ~ body {
    padding-top: 90px !important;
}

/* Für Grav/Quark-Wrapper (falls body allein nicht reicht) */
#body-wrapper,
#body,
.content,
.modular {
    padding-top: 180px !important;
}

#header.scrolled ~ #body-wrapper,
#header.scrolled ~ #body {
    padding-top: 90px !important;
}

/* Dein dunkler Look + Galerie (kurz gehalten) */
body,
#body-wrapper,
#body,
.content,
.container,
.modular {
    background: #1a1a1a !important;
    color: #7A7A7A !important;
}

p, li, span, div {
    color: #7A7A7A !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #cfcfcf !important;
}

a {
    color: #9cc7ff !important;
}

.justified-gallery img {
    max-height: 160px !important;
    width: auto !important;
    object-fit: cover;
    border-radius: 4px;
}

img {
    border-radius: 4px;
}

pre, code {
    background: #2a2a2a !important;
    color: #ddd !important;
}