:root {
    --bg-light: #ffffff;
    --text-dark: #222222;
    --nav-bg: #000000;
    --nav-text: #ffffff;
    --highlight: #E43F33;
}

/* Grundlayout */
body {
    font-family: 'Georgia', serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    line-height: 1.8;
}

a {
    color: var(--highlight);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Wrapper nur für Content */
.theme-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header full-width */
/* Header full-width */
header.site-header {
    width: 100%;
    height: 350px;
    background-image: url('../as-cms-full/images/headerbild.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
    color: #ffffff;
}

/* Header Left – Bild & Text korrekt darstellen */
#header_left {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Abstand zwischen Bild und Text */
    font-size: 2.5em;
    font-weight: bold;
}

/* Bilder im Header Left */
#header_left img {
    display: block;
    max-height: 100%;   /* passt sich der Höhe des Headers an */
    max-width: 100%;    /* passt sich der Breite an */
    height: auto;
}


header.site-header h1, header.site-header h2 {
    margin: 0;
}

#header_left {
    font-size: 2.5em;
    font-weight: bold;
}

#header_center {
    font-size: 1.2em;
}

/* Navigation unter Header full-width */
nav.navigation {
    width: 100%;
    background-color: var(--nav-bg);
}

nav.navigation ul.link-menu {
    display: flex;            
    justify-content: center;  
    list-style: none;
    margin: 0;
    padding: 0;
}

nav.navigation ul.link-menu > li.link-item {
    position: relative;
    margin: 0 8px;
}

nav.navigation ul.link-menu > li.link-item > a.link-anchor {
    display: block;
    padding: 8px 16px;
    color: var(--nav-text);
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}

nav.navigation ul.link-menu > li.link-item > a.link-anchor:hover {
    background-color: var(--highlight);
    color: #ffffff;
}

nav.navigation ul.link-menu li.link-item ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--nav-bg);
    list-style: none;
    padding: 5px 0;
    margin: 0;
    border-radius: 4px;
    min-width: 150px;
    z-index: 10;
}

nav.navigation ul.link-menu li.link-item:hover > ul {
    display: block;
}

nav.navigation ul.link-menu li.link-item ul li a {
    display: block;
    padding: 6px 12px;
    color: var(--nav-text);
}

nav.navigation ul.link-menu li.link-item ul li a:hover {
    background-color: var(--highlight);
    color: #fff;
}

/* Main Content & Sidebar rechts */
.main-content {
    display: flex;
    gap: 25px;
}

section.content-area {
    flex: 1;
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
}

aside.right-sidebar {
    width: 250px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Footer full-width kontrastreich */
footer.site-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: #000000;
    color: #ffffff;
    padding: 20px 15px;
    margin-top: 30px;
    box-sizing: border-box;
}

footer.site-footer a {
    color: var(--highlight);
    text-decoration: none;
}

footer.site-footer a:hover {
    text-decoration: underline;
}

/* Back to Top */
#back-to-top {
    color: var(--highlight);
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    padding: 10px 14px;
    border-radius: 6px;
    background-color: #f5f5f5;
    transition: background 0.3s;
}

#back-to-top:hover {
    background-color: var(--highlight);
    color: #ffffff;
}

/* Responsive */
@media (max-width: 900px) {
    .main-content { flex-direction: column; }
    aside.right-sidebar { width: 100%; }
    header.site-header { height: 250px; }
    nav.navigation ul.link-menu { flex-direction: column; }
}