:root {
    --aixserv_yellow: #e3b51d;
    --aixserv_yellow_dark: #9a7410;
    --aixserv_blue: #176b87;
    --aixserv_blue_dark: #0d4358;
    --aixserv_blue_soft: #eaf5f8;
    --aixserv_nav_bg: #0d4358;
    --aixserv_copper: #a75f35;
    --aixserv_copper_dark: #744126;
    --aixserv_copper_soft: #f7eee9;
    --aixserv_green: #3f704d;
    --aixserv_green_dark: #2d5538;
    --aixserv_green_soft: #edf5ef;
    --aixserv_ink: #20262b;
    --aixserv_muted: #66717a;
    --aixserv_surface: #ffffff;
    --aixserv_surface_alt: #f7f6f2;
    --aixserv_border: #e2e5e3;
    --aixserv_shadow: 0 18px 45px rgba(24, 39, 44, .12);
    --aixserv_radius: 1.15rem;
}

html {
    scroll-behavior: smooth;
}

body.aixserv_site {
    margin: 0;
    color: var(--aixserv_ink);
    background: var(--aixserv_surface);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

/*
 * Normale Textlinks erhalten die AixBlog-Linkfarben. Bootstrap-Buttons
 * werden bewusst ausgenommen, damit deren eigene Kontrastfarben in allen
 * Zuständen (normal, hover, focus, active, disabled) erhalten bleiben.
 */
.aixserv_site a:not(.btn) {
    color: var(--aixserv_blue);
}

.aixserv_site a:not(.btn):hover {
    color: var(--aixserv_blue_dark);
}

.aixserv_site :focus-visible {
    outline: 3px solid var(--aixserv_yellow);
    outline-offset: 3px;
}

.aixserv_skip_link {
    position: fixed;
    left: 1rem;
    top: -5rem;
    z-index: 2000;
    padding: .7rem 1rem;
    color: #fff !important;
    background: #111;
    border-radius: .5rem;
    transition: top .18s ease;
}

.aixserv_skip_link:focus {
    top: 1rem;
}

.aixserv_py_lg_6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.aixserv_site_header {
    position: relative;
    z-index: 20;
    background: #fff;
    box-shadow: 0 1px 0 rgba(13, 67, 88, .09);
}

.aixserv_header_top {
    min-height: 98px;
}

.aixserv_brand {
    color: var(--aixserv_ink) !important;
}

.aixserv_brand_mark {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    flex: 0 0 58px;
}

.aixserv_brand_mark svg {
    width: 100%;
    height: 100%;
    fill: var(--aixserv_green);
}

.aixserv_brand_mark svg circle {
    fill: var(--aixserv_yellow);
}

.aixserv_brand_mark svg path:last-child {
    fill: var(--aixserv_blue);
}

.aixserv_brand_kicker,
.aixserv_brand_name {
    display: block;
    line-height: 1;
}

.aixserv_brand_kicker {
    margin-bottom: .25rem;
    color: var(--aixserv_muted);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.aixserv_brand_name {
    color: var(--aixserv_blue_dark);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -.025em;
}

.aixserv_header_link {
    padding: .55rem .6rem;
    color: var(--aixserv_muted) !important;
    font-size: .9rem;
    text-decoration: none;
}

.aixserv_header_link:hover {
    color: var(--aixserv_blue) !important;
}

.aixserv_header_search {
    display: flex;
    width: 300px;
    margin-left: .25rem;
}

.aixserv_header_search .form-control {
    min-height: 44px;
    border-color: var(--aixserv_border);
    border-radius: .65rem 0 0 .65rem;
}

.aixserv_header_search .btn {
    width: 48px;
    border-radius: 0 .65rem .65rem 0;
}

.aixserv_header_search svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.aixserv_site .navbar-toggler {
    width: 48px;
    height: 48px;
    border: 1px solid var(--aixserv_border);
    border-radius: .75rem;
}

.aixserv_main_nav {
    padding: 0;
    background: var(--aixserv_nav_bg);
}

.aixserv_main_nav .nav-link {
    position: relative;
    padding: 1rem;
    color: rgba(255, 255, 255, .84);
    font-size: .92rem;
    font-weight: 680;
    white-space: nowrap;
}

.aixserv_main_nav .nav-link:hover,
.aixserv_main_nav .nav-link:focus,
.aixserv_main_nav .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.aixserv_main_nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0;
    height: 4px;
    background: var(--aixserv_yellow);
    border-radius: 4px 4px 0 0;
}

.aixserv_hero {
    position: relative;
    overflow: hidden;
    min-height: 440px;
    color: #fff;
    background: linear-gradient(112deg, #14262d 0%, var(--aixserv_blue_dark) 38%, #195d66 72%, var(--aixserv_green_dark) 100%);
}

.aixserv_hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 86px;
    background: linear-gradient(to top, rgba(11, 31, 38, .28), transparent);
    pointer-events: none;
}

.aixserv_hero_art {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.aixserv_hero_orb,
.aixserv_hero_wave {
    position: absolute;
    display: block;
}

.aixserv_hero_orb {
    border-radius: 50%;
    filter: blur(2px);
}

.aixserv_hero_orb_gold {
    width: 470px;
    height: 470px;
    right: 5vw;
    top: -185px;
    background: rgba(227, 181, 29, .72);
}

.aixserv_hero_orb_copper {
    width: 330px;
    height: 330px;
    right: 29vw;
    bottom: -205px;
    background: rgba(167, 95, 53, .42);
}

.aixserv_hero_wave {
    right: -90px;
    width: 58vw;
    height: 175px;
    border-radius: 50% 0 0 50%;
    transform: rotate(-8deg);
}

.aixserv_hero_wave_blue {
    top: 170px;
    background: rgba(23, 107, 135, .42);
}

.aixserv_hero_wave_green {
    top: 268px;
    right: -140px;
    background: rgba(63, 112, 77, .45);
}

.aixserv_hero_min_height {
    min-height: 440px;
}

.aixserv_hero_copy {
    position: relative;
    z-index: 2;
    padding: 3.5rem 0 5rem;
}

.aixserv_hero_eyebrow,
.aixserv_section_kicker {
    display: inline-block;
    margin-bottom: .9rem;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.aixserv_hero_eyebrow {
    color: #ffe99a;
}

.aixserv_section_kicker {
    color: var(--aixserv_green_dark);
}

.aixserv_hero h1 {
    max-width: 820px;
    margin-bottom: 1.15rem;
    font-size: clamp(2.35rem, 5vw, 4.55rem);
    line-height: .98;
    font-weight: 800;
    letter-spacing: -.045em;
}

.aixserv_hero .lead {
    max-width: 720px;
    margin-bottom: 1.8rem;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(1rem, 1.5vw, 1.23rem);
}

.aixserv_site .btn {
    min-height: 44px;
    border-radius: .7rem;
    font-weight: 700;
}

.aixserv_site .btn-primary {
    --bs-btn-bg: var(--aixserv_blue);
    --bs-btn-border-color: var(--aixserv_blue);
    --bs-btn-hover-bg: var(--aixserv_blue_dark);
    --bs-btn-hover-border-color: var(--aixserv_blue_dark);
    --bs-btn-active-bg: var(--aixserv_blue_dark);
    --bs-btn-active-border-color: var(--aixserv_blue_dark);
}

.aixserv_hero .btn-primary {
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-color: var(--aixserv_blue_dark);
    --bs-btn-hover-bg: #f4f2eb;
    --bs-btn-hover-border-color: #f4f2eb;
    --bs-btn-hover-color: var(--aixserv_blue_dark);
}

.aixserv_hero .btn-light {
    --bs-btn-bg: rgba(255, 255, 255, .12);
    --bs-btn-border-color: rgba(255, 255, 255, .42);
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: rgba(255, 255, 255, .2);
    --bs-btn-hover-border-color: rgba(255, 255, 255, .7);
    --bs-btn-hover-color: #fff;
    backdrop-filter: blur(8px);
}

.aixserv_quick_links {
    position: relative;
    z-index: 10;
    margin-top: -52px;
}

.aixserv_quick_links_grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.aixserv_quick_link {
    --aixserv_theme: var(--aixserv_blue);
    --aixserv_theme_dark: var(--aixserv_blue_dark);
    position: relative;
    min-height: 116px;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1rem 1rem 1.2rem;
    overflow: hidden;
    color: #fff !important;
    background: var(--aixserv_theme);
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    box-shadow: var(--aixserv_shadow);
    text-decoration: none;
    transition: transform .18s ease, filter .18s ease;
}

.aixserv_quick_link:hover,
.aixserv_quick_link:focus-visible {
    color: #fff !important;
    filter: brightness(.9);
    transform: translateY(-5px);
}

.aixserv_quick_link_icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}

.aixserv_quick_link_icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.aixserv_quick_link strong,
.aixserv_quick_link small {
    display: block;
}

.aixserv_quick_link strong {
    font-size: .93rem;
    line-height: 1.2;
}

.aixserv_quick_link small {
    margin-top: .25rem;
    color: #fff;
    font-size: .74rem;
}

.aixserv_theme_history {
    --aixserv_theme: var(--aixserv_yellow);
    --aixserv_theme_dark: var(--aixserv_yellow_dark);
    --aixserv_theme_soft: #fff8dc;
    --aixserv_theme_text: #5b460d;
}

.aixserv_theme_water,
.aixserv_theme_service {
    --aixserv_theme: var(--aixserv_blue);
    --aixserv_theme_dark: var(--aixserv_blue_dark);
    --aixserv_theme_soft: var(--aixserv_blue_soft);
    --aixserv_theme_text: var(--aixserv_blue_dark);
}

.aixserv_theme_architecture {
    --aixserv_theme: var(--aixserv_copper);
    --aixserv_theme_dark: var(--aixserv_copper_dark);
    --aixserv_theme_soft: var(--aixserv_copper_soft);
    --aixserv_theme_text: var(--aixserv_copper_dark);
}

.aixserv_theme_nature {
    --aixserv_theme: var(--aixserv_green);
    --aixserv_theme_dark: var(--aixserv_green_dark);
    --aixserv_theme_soft: var(--aixserv_green_soft);
    --aixserv_theme_text: var(--aixserv_green_dark);
}

.aixserv_theme_events {
    --aixserv_theme: #4e5960;
    --aixserv_theme_dark: #2f373c;
    --aixserv_theme_soft: #f0f2f3;
    --aixserv_theme_text: #2f373c;
}

.aixserv_quick_link.aixserv_theme_history {
    color: #30270b !important;
}

.aixserv_quick_link.aixserv_theme_history .aixserv_quick_link_icon {
    border-color: rgba(48, 39, 11, .28);
    background: rgba(255, 255, 255, .25);
}

.aixserv_quick_link.aixserv_theme_history small {
    color: #30270b;
}

.aixserv_content_section {
    background: #fff;
}

.aixserv_section_nav {
    position: sticky;
    top: 1rem;
    overflow: hidden;
    border: 1px solid var(--aixserv_border);
    border-radius: var(--aixserv_radius);
    background: #fff;
    box-shadow: 0 12px 32px rgba(24, 39, 44, .07);
}

.aixserv_section_nav_title {
    position: relative;
    padding: 1rem 1.15rem;
    color: #fff;
    background: var(--aixserv_blue_dark);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.aixserv_section_nav_title::after {
    content: "";
    position: absolute;
    right: -24px;
    top: 0;
    width: 44px;
    height: 100%;
    background: var(--aixserv_blue_dark);
    transform: skewX(-20deg);
}

.aixserv_section_nav li + li {
    border-top: 1px solid var(--aixserv_border);
}

.aixserv_section_nav a {
    position: relative;
    display: block;
    padding: .9rem 1rem .9rem 1.35rem;
    color: #344352 !important;
    font-size: .94rem;
    font-weight: 600;
    text-decoration: none;
}

.aixserv_section_nav a::before {
    content: "";
    position: absolute;
    left: .7rem;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #aeb9c3;
    transform: translateY(-50%);
}

.aixserv_section_nav a:hover,
.aixserv_section_nav a.active {
    color: var(--aixserv_blue_dark) !important;
    background: var(--aixserv_blue_soft);
}

.aixserv_section_nav a.active::before {
    background: var(--aixserv_yellow);
}

.aixserv_section_nav_mobile {
    position: static;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.aixserv_site .breadcrumb {
    --bs-breadcrumb-divider-color: #93a0ac;
    --bs-breadcrumb-item-active-color: #697785;
}

.aixserv_site .breadcrumb a {
    color: var(--aixserv_blue);
    text-decoration: none;
}

.aixserv_content_card h2,
.aixserv_news_section h2 {
    color: var(--aixserv_blue_dark);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -.035em;
}

.aixserv_content_card > .lead {
    max-width: 840px;
}

.aixserv_topic_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.aixserv_topic_card {
    --aixserv_theme: var(--aixserv_blue);
    --aixserv_theme_soft: var(--aixserv_blue_soft);
    --aixserv_theme_text: var(--aixserv_blue_dark);
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    overflow: hidden;
    color: var(--aixserv_ink) !important;
    background: #fff;
    border: 1px solid var(--aixserv_border);
    border-radius: var(--aixserv_radius);
    text-decoration: none;
    box-shadow: 0 9px 28px rgba(24, 39, 44, .05);
    transition: transform .18s ease, box-shadow .18s ease;
}

.aixserv_topic_card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: var(--aixserv_theme);
}

.aixserv_topic_card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -75px;
    bottom: -75px;
    border-radius: 50%;
    background: var(--aixserv_theme_soft);
    pointer-events: none;
}

.aixserv_topic_card:hover {
    color: var(--aixserv_ink) !important;
    box-shadow: 0 18px 42px rgba(24, 39, 44, .1);
    transform: translateY(-4px);
}

.aixserv_topic_badge {
    align-self: flex-start;
    margin-bottom: 1.25rem;
    padding: .35rem .62rem;
    color: var(--aixserv_theme_text);
    background: var(--aixserv_theme_soft);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.aixserv_topic_card h3 {
    margin-bottom: .75rem;
    color: var(--aixserv_theme_text);
    font-size: 1.25rem;
    font-weight: 800;
}

.aixserv_topic_card p {
    position: relative;
    z-index: 1;
    margin-bottom: 1.2rem;
    color: var(--aixserv_muted);
}

.aixserv_topic_link {
    position: relative;
    z-index: 1;
    margin-top: auto;
    color: var(--aixserv_theme_text);
    font-size: .9rem;
    font-weight: 800;
}

.aixserv_news_section {
    background: var(--aixserv_surface_alt);
}

.aixserv_link_arrow {
    font-weight: 800;
    text-decoration: none;
}

.aixserv_news_card {
    --aixserv_theme: var(--aixserv_blue);
    --aixserv_theme_text: var(--aixserv_blue_dark);
    position: relative;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--aixserv_border);
    border-top: 5px solid var(--aixserv_theme);
    border-radius: var(--aixserv_radius);
    box-shadow: 0 8px 26px rgba(24, 39, 44, .05);
}

.aixserv_news_meta {
    margin-bottom: .8rem;
    color: var(--aixserv_theme_text);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.aixserv_news_card h3 {
    color: var(--aixserv_blue_dark);
    font-size: 1.2rem;
    font-weight: 800;
}

.aixserv_news_card p {
    color: var(--aixserv_muted);
}

.aixserv_news_card a {
    color: var(--aixserv_theme_text);
    font-weight: 800;
    text-decoration: none;
}

.aixserv_site_footer {
    color: rgba(255, 255, 255, .82);
    background: #172a31;
}

.aixserv_footer_main {
    position: relative;
    overflow: hidden;
}

.aixserv_footer_main::after {
    content: "";
    position: absolute;
    right: -170px;
    bottom: -190px;
    width: 420px;
    height: 320px;
    background: rgba(227, 181, 29, .12);
    transform: rotate(-18deg);
}

.aixserv_footer_brand,
.aixserv_footer_main .container {
    position: relative;
    z-index: 1;
}

.aixserv_brand_mark_footer {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    filter: brightness(1.15);
}

.aixserv_footer_kicker {
    color: rgba(255, 255, 255, .62);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.aixserv_footer_name {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
}

.aixserv_footer_heading {
    margin-bottom: .9rem;
    color: #fff;
    font-weight: 800;
}

.aixserv_footer_text,
.aixserv_footer_links a {
    color: rgba(255, 255, 255, .7) !important;
}

.aixserv_footer_links li + li {
    margin-top: .4rem;
}

.aixserv_footer_links a {
    text-decoration: none;
}

.aixserv_footer_links a:hover {
    color: #fff !important;
}

.aixserv_footer_legal {
    color: rgba(255, 255, 255, .62);
    background: #0d1f25;
    font-size: .86rem;
}

.aixserv_footer_legal a {
    color: rgba(255, 255, 255, .72) !important;
    text-decoration: none;
}

.aixserv_footer_legal a:hover {
    color: #fff !important;
}

@media (max-width: 1199.98px) {
    .aixserv_quick_links_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991.98px) {
    .aixserv_main_nav {
        background: #fff;
    }

    .aixserv_main_nav .offcanvas {
        --bs-offcanvas-width: min(92vw, 420px);
    }

    .aixserv_main_nav .nav-link {
        padding: .9rem 1rem;
        color: var(--aixserv_ink);
        border-radius: .6rem;
    }

    .aixserv_main_nav .nav-link:hover,
    .aixserv_main_nav .nav-link:focus,
    .aixserv_main_nav .nav-link.active {
        color: var(--aixserv_blue_dark);
        background: var(--aixserv_blue_soft);
    }

    .aixserv_main_nav .nav-link.active::after {
        display: none;
    }

    .aixserv_hero,
    .aixserv_hero_min_height {
        min-height: 400px;
    }

    .aixserv_hero_copy {
        padding-top: 3rem;
    }

    .aixserv_quick_links {
        margin-top: -42px;
    }

    .aixserv_quick_link {
        clip-path: none;
        border-radius: 1rem;
    }

    .aixserv_py_lg_6 {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }
}

@media (max-width: 767.98px) {
    .aixserv_header_top {
        min-height: 82px;
    }

    .aixserv_brand_mark {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .aixserv_hero,
    .aixserv_hero_min_height {
        min-height: 370px;
    }

    .aixserv_hero_copy {
        padding: 2.5rem 0 4.5rem;
    }

    .aixserv_hero_wave {
        width: 95vw;
    }

    .aixserv_quick_links {
        margin-top: -34px;
    }

    .aixserv_quick_links_grid,
    .aixserv_topic_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: .75rem;
    }

    .aixserv_quick_link {
        min-height: 122px;
        align-items: flex-start;
        flex-direction: column;
        gap: .6rem;
        padding: 1rem;
        box-shadow: 0 12px 28px rgba(24, 39, 44, .13);
    }

    .aixserv_quick_link:hover,
    .aixserv_quick_link:focus-visible {
        transform: translateY(-2px);
    }

    .aixserv_topic_card {
        min-height: 250px;
    }

    .aixserv_content_card h2,
    .aixserv_news_section h2 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
}

@media (max-width: 575.98px) {
    .aixserv_topic_grid {
        grid-template-columns: 1fr;
    }

    .aixserv_topic_card {
        min-height: 0;
    }
}

@media (max-width: 419.98px) {
    .aixserv_quick_links_grid {
        grid-template-columns: 1fr;
    }

    .aixserv_quick_link {
        min-height: 0;
        flex-direction: row;
        align-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ============================================================
   AixBlog – Portal-Erweiterungen
   ============================================================ */

html { scroll-padding-top: 2rem; }
body.aixserv_site { background: #fff; }

.aixserv_mobile_menu { position: relative; }
.aixserv_mobile_menu summary {
    min-width: 48px;
    min-height: 48px;
    display: grid;
    place-items: center;
    padding: .65rem .85rem;
    border: 1px solid var(--aixserv_border);
    border-radius: .75rem;
    color: var(--aixserv_blue_dark);
    background: #fff;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}
.aixserv_mobile_menu summary::-webkit-details-marker { display: none; }
.aixserv_mobile_menu[open] summary { background: var(--aixserv_blue_soft); }
.aixserv_mobile_menu nav {
    position: absolute;
    right: 0;
    top: calc(100% + .6rem);
    z-index: 1000;
    width: min(82vw, 320px);
    padding: .55rem;
    border: 1px solid var(--aixserv_border);
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--aixserv_shadow);
}
.aixserv_mobile_menu nav a {
    display: block;
    padding: .8rem .9rem;
    border-radius: .65rem;
    color: var(--aixserv_ink);
    font-weight: 700;
    text-decoration: none;
}
.aixserv_mobile_menu nav a:hover,
.aixserv_mobile_menu nav a:focus-visible { background: var(--aixserv_blue_soft); }

.aixserv_breadcrumb_bar {
    padding: .7rem 0;
    background: var(--aixserv_surface_alt);
    border-bottom: 1px solid var(--aixserv_border);
    font-size: .9rem;
}

.aixserv_page_hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3.5rem, 8vw, 6.2rem) 0;
    background: linear-gradient(135deg, #f9fbfb 0%, #eef7f7 60%, #f7f6f2 100%);
    border-bottom: 1px solid var(--aixserv_border);
}
.aixserv_page_hero.aixserv_theme_history { background: linear-gradient(135deg, #fffdf5 0%, #fff6d3 55%, #f7eee9 100%); }
.aixserv_page_hero.aixserv_theme_water { background: linear-gradient(135deg, #f8fcfd 0%, #eaf5f8 100%); }
.aixserv_page_hero.aixserv_theme_nature { background: linear-gradient(135deg, #fbfdfb 0%, #edf5ef 100%); }
.aixserv_page_hero.aixserv_theme_architecture { background: linear-gradient(135deg, #fffaf7 0%, #f7eee9 100%); }
.aixserv_page_hero h1 {
    max-width: 900px;
    margin: 0 0 1rem;
    color: var(--aixserv_blue_dark);
    font-size: clamp(2.4rem, 6vw, 4.7rem);
    line-height: 1.02;
    font-weight: 850;
    letter-spacing: -.045em;
}
.aixserv_page_hero.aixserv_theme_history h1 { color: #5b460d; }
.aixserv_page_hero p.lead { max-width: 800px; color: var(--aixserv_muted); }

.aixserv_split_intro {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}
.aixserv_world_card {
    position: relative;
    min-height: 370px;
    display: flex;
    flex-direction: column;
    padding: clamp(1.6rem, 4vw, 2.4rem);
    overflow: hidden;
    border: 1px solid var(--aixserv_border);
    border-radius: 1.4rem;
    background: #fff;
    box-shadow: 0 14px 38px rgba(24,39,44,.08);
}
.aixserv_world_card::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -100px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: var(--aixserv_theme_soft, var(--aixserv_blue_soft));
}
.aixserv_world_card h2 { position: relative; z-index: 1; font-weight: 850; letter-spacing: -.035em; }
.aixserv_world_card p { position: relative; z-index: 1; color: var(--aixserv_muted); }
.aixserv_world_card .btn { position: relative; z-index: 1; margin-top: auto; align-self: flex-start; }

.aixserv_section_shell { padding: clamp(3.6rem, 7vw, 6rem) 0; }
.aixserv_section_shell_alt { background: var(--aixserv_surface_alt); border-block: 1px solid var(--aixserv_border); }
.aixserv_section_title { color: var(--aixserv_blue_dark); font-size: clamp(2rem, 4vw, 3.35rem); font-weight: 850; letter-spacing: -.035em; }
.aixserv_section_lead { max-width: 800px; color: var(--aixserv_muted); }

.aixserv_fact_grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.aixserv_fact_card { padding: 1.4rem; border: 1px solid var(--aixserv_border); border-radius: 1rem; background: #fff; }
.aixserv_fact_card strong { display: block; margin-bottom: .35rem; color: var(--aixserv_blue_dark); font-size: 1.05rem; }
.aixserv_fact_card p { margin: 0; color: var(--aixserv_muted); }

.aixserv_timeline { border-left: 3px solid var(--aixserv_yellow); margin-left: .5rem; }
.aixserv_timeline_item { position: relative; padding: 0 0 1.7rem 1.6rem; }
.aixserv_timeline_item::before { content: ""; position: absolute; left: -8px; top: .45rem; width: 13px; height: 13px; border-radius: 50%; background: var(--aixserv_yellow); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--aixserv_yellow_dark); }
.aixserv_timeline_year { color: var(--aixserv_yellow_dark); font-weight: 850; }
.aixserv_timeline_event { color: var(--aixserv_muted); }

.aixserv_sources { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--aixserv_border); }
.aixserv_sources_title { color: var(--aixserv_blue_dark); font-size: 1.2rem; font-weight: 850; }
.aixserv_sources_intro { max-width: 760px; color: var(--aixserv_muted); font-size: .92rem; }
.aixserv_sources_list { padding-left: 1.2rem; }
.aixserv_sources_list li + li { margin-top: .45rem; }

.aixserv_article { max-width: 800px; }
.aixserv_article p,
.aixserv_article li { color: #44515a; font-size: 1.04rem; line-height: 1.8; }
.aixserv_article h2 { margin-top: 2.6rem; color: var(--aixserv_blue_dark); font-size: 1.8rem; font-weight: 850; }
.aixserv_article h3 { margin-top: 2rem; color: var(--aixserv_blue_dark); font-size: 1.35rem; font-weight: 800; }
.aixserv_article_quote { margin: 2rem 0; padding: 1.2rem 1.4rem; border-left: 5px solid var(--aixserv_yellow); background: #fff9e7; }
.aixserv_article_meta { display: flex; flex-wrap: wrap; gap: .7rem 1rem; margin-bottom: 1.5rem; color: var(--aixserv_muted); font-size: .9rem; }

.aixserv_empty_state { padding: 2rem; border: 1px dashed #bbc5c9; border-radius: 1rem; background: #fff; text-align: center; }
.aixserv_empty_state h2 { color: var(--aixserv_blue_dark); font-size: 1.3rem; font-weight: 850; }
.aixserv_empty_state p { margin-bottom: 0; color: var(--aixserv_muted); }

.aixserv_legal_block + .aixserv_legal_block { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--aixserv_border); }
.aixserv_legal_heading { color: var(--aixserv_blue_dark); font-size: 1.35rem; font-weight: 850; }
.aixserv_body_text { max-width: 76ch; color: #44515a; line-height: 1.8; }
.aixserv_readable_list { color: #44515a; line-height: 1.8; }
.aixserv_address { font-style: normal; }

.aixserv_search_result { display: block; padding: 1.25rem 0; border-bottom: 1px solid var(--aixserv_border); text-decoration: none; }
.aixserv_search_result h2 { margin: 0 0 .35rem; color: var(--aixserv_blue_dark); font-size: 1.2rem; font-weight: 800; }
.aixserv_search_result p { margin: 0; color: var(--aixserv_muted); }

.aixserv_admin_shell { min-height: 100vh; background: #f5f7f7; padding: 2rem 0 4rem; }
.aixserv_admin_card { border: 1px solid var(--aixserv_border); border-radius: 1rem; background: #fff; box-shadow: 0 12px 32px rgba(24,39,44,.08); }
.aixserv_admin_header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1.5rem; }
.aixserv_admin_header h1 { margin: 0; color: var(--aixserv_blue_dark); font-size: 2rem; font-weight: 850; }
.aixserv_admin_nav { display: flex; flex-wrap: wrap; gap: .5rem; }

@media (max-width: 991.98px) {
    .aixserv_main_nav { background: var(--aixserv_nav_bg); }
    .aixserv_split_intro { grid-template-columns: 1fr; }
    .aixserv_fact_grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 575.98px) {
    .aixserv_fact_grid { grid-template-columns: 1fr; }
    .aixserv_topic_grid { grid-template-columns: 1fr; }
    .aixserv_quick_links_grid { grid-template-columns: 1fr; }
    .aixserv_quick_link { min-height: 96px; flex-direction: row; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* Blogartikel: Bilder und Sidebar */
.aixserv_article {
    max-width: none;
}
.aixserv_article a {
    text-decoration-thickness: .08em;
    text-underline-offset: .16em;
}
.aixserv_article_figure {
    margin: 2.4rem 0;
}
.aixserv_article_figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 14px 36px rgba(24,39,44,.12);
}
.aixserv_article_figure figcaption {
    margin-top: .7rem;
    color: var(--aixserv_muted);
    font-size: .9rem;
    line-height: 1.55;
}
.aixserv_blog_sidebar {
    display: grid;
    gap: 1rem;
}
.aixserv_sidebar_card {
    padding: 1.35rem;
    border: 1px solid var(--aixserv_border);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 12px 30px rgba(24,39,44,.07);
}
.aixserv_sidebar_title {
    margin: 0 0 1rem;
    color: var(--aixserv_blue_dark);
    font-size: 1.12rem;
    font-weight: 850;
    letter-spacing: -.015em;
}
.aixserv_sidebar_posts {
    display: grid;
    gap: 1rem;
}
.aixserv_sidebar_post + .aixserv_sidebar_post {
    padding-top: 1rem;
    border-top: 1px solid var(--aixserv_border);
}
.aixserv_sidebar_post h3 {
    margin: .2rem 0 0;
    font-size: 1rem;
    line-height: 1.4;
}
.aixserv_sidebar_post h3 a {
    color: var(--aixserv_blue_dark);
    text-decoration: none;
}
.aixserv_sidebar_post h3 a:hover,
.aixserv_sidebar_post h3 a:focus-visible {
    text-decoration: underline;
}
.aixserv_sidebar_meta {
    color: var(--aixserv_muted);
    font-size: .8rem;
}
.aixserv_sidebar_categories {
    display: grid;
}
.aixserv_sidebar_categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .65rem 0;
    border-bottom: 1px solid var(--aixserv_border);
    color: var(--aixserv_blue_dark);
    text-decoration: none;
}
.aixserv_sidebar_categories a:first-child {
    padding-top: 0;
}
.aixserv_sidebar_categories a:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
.aixserv_sidebar_categories a:hover,
.aixserv_sidebar_categories a:focus-visible {
    text-decoration: underline;
}
.aixserv_sidebar_count {
    min-width: 1.8rem;
    padding: .12rem .45rem;
    border-radius: 999px;
    background: var(--aixserv_surface_alt);
    color: var(--aixserv_muted);
    font-size: .78rem;
    text-align: center;
}
.aixserv_sidebar_about p {
    color: var(--aixserv_muted);
    line-height: 1.65;
}

/* Schlanker Redaktionseditor */
.aixserv_editor_toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    padding: .55rem;
    border: 1px solid #ced4da;
    border-bottom: 0;
    border-radius: .5rem .5rem 0 0;
    background: #f7f8f9;
}
.aixserv_editor_button {
    min-height: 2.2rem;
    padding: .35rem .65rem;
    border: 1px solid #c8d0d4;
    border-radius: .4rem;
    background: #fff;
    color: var(--aixserv_blue_dark);
    font-size: .9rem;
    line-height: 1.2;
}
.aixserv_editor_button:hover {
    background: var(--aixserv_surface_alt);
}
.aixserv_editor_button:focus-visible {
    outline: 3px solid rgba(13,110,253,.25);
    outline-offset: 1px;
}
.aixserv_editor_separator {
    width: 1px;
    margin: .2rem .15rem;
    background: #d7dde0;
}
.aixserv_editor_textarea {
    min-height: 34rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    line-height: 1.65;
    resize: vertical;
}
.aixserv_editor_status {
    min-height: 1.25rem;
    font-size: .85rem;
    font-weight: 650;
}

@media (min-width: 992px) {
    .aixserv_blog_sidebar {
        position: sticky;
        top: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .aixserv_editor_separator {
        display: none;
    }
    .aixserv_editor_button {
        flex: 1 0 auto;
    }
}
.aixserv_article h4 {
    margin-top: 1.7rem;
    color: var(--aixserv_blue_dark);
    font-size: 1.12rem;
    font-weight: 800;
}

/* Moderierte Blog-Kommentare */
.aixserv_comments {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--aixserv_border);
}
.aixserv_comments_header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.aixserv_comments_header h2 {
    margin: .2rem 0 0;
    color: var(--aixserv_blue_dark);
    font-weight: 800;
}
.aixserv_comments_header p {
    max-width: 24rem;
    margin: 0;
    color: var(--aixserv_muted);
    font-size: .92rem;
}
.aixserv_comment_list {
    display: grid;
    gap: 1rem;
}
.aixserv_comment {
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--aixserv_border);
    border-radius: .8rem;
    background: #fff;
}
.aixserv_comment header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem 1rem;
    margin-bottom: .65rem;
}
.aixserv_comment header strong {
    color: var(--aixserv_blue_dark);
}
.aixserv_comment header time {
    color: var(--aixserv_muted);
    font-size: .82rem;
}
.aixserv_comment > div {
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.aixserv_comment_empty {
    padding: 1rem 1.2rem;
    border-radius: .75rem;
    background: var(--aixserv_surface_alt);
    color: var(--aixserv_muted);
}
.aixserv_comment_form_shell {
    margin-top: 1.5rem;
    padding: 1.4rem;
    border: 1px solid var(--aixserv_border);
    border-radius: .85rem;
    background: var(--aixserv_surface_alt);
}
.aixserv_comment_form_shell h3 {
    margin: 0 0 .35rem;
    color: var(--aixserv_blue_dark);
    font-size: 1.25rem;
    font-weight: 800;
}
.aixserv_honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.aixserv_admin_comment_text {
    padding: 1rem;
    border-radius: .65rem;
    background: var(--aixserv_surface_alt);
    line-height: 1.65;
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    .aixserv_comments_header {
        align-items: start;
        flex-direction: column;
    }
}

/* ============================================================
   AixBlog 0.8.1 – Navbar-Dark-Mode-Fix
   ============================================================ */

/* Die Hauptnavigation verwendet bewusst durchgehend weiße Schrift. */
.aixserv_main_nav .nav-link,
.aixserv_main_nav .nav-link:visited {
    color: #fff !important;
}

.aixserv_main_nav .nav-link:hover,
.aixserv_main_nav .nav-link:focus-visible,
.aixserv_main_nav .nav-link.active {
    color: #fff !important;
}

.aixserv_site_header {
    position: sticky;
    top: 0;
    z-index: 1100;
    transition: box-shadow .24s ease, background-color .24s ease;
}

.aixserv_header_top,
.aixserv_brand_mark,
.aixserv_brand_kicker,
.aixserv_brand_name,
.aixserv_main_nav .nav-link,
.aixserv_header_search .form-control,
.aixserv_header_search .btn {
    transition: min-height .24s ease, width .24s ease, height .24s ease, flex-basis .24s ease, padding .24s ease, font-size .24s ease, opacity .2s ease, margin .2s ease;
}

.aixserv_site_header.aixserv_header_shrunk {
    box-shadow: 0 10px 28px rgba(10, 36, 45, .14);
}

.aixserv_site_header.aixserv_header_shrunk .aixserv_header_top {
    min-height: 64px;
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
}

.aixserv_site_header.aixserv_header_shrunk .aixserv_brand_mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
}

.aixserv_site_header.aixserv_header_shrunk .aixserv_brand_kicker {
    max-height: 0;
    margin-bottom: 0;
    overflow: hidden;
    opacity: 0;
}

.aixserv_site_header.aixserv_header_shrunk .aixserv_brand_name {
    font-size: 1.35rem;
}

.aixserv_site_header.aixserv_header_shrunk .aixserv_main_nav .nav-link {
    padding-top: .7rem;
    padding-bottom: .7rem;
}

.aixserv_site_header.aixserv_header_shrunk .aixserv_header_search .form-control,
.aixserv_site_header.aixserv_header_shrunk .aixserv_header_search .btn {
    min-height: 40px;
}

.aixserv_header_button {
    border: 0;
    background: transparent;
}

.aixserv_accessibility_nav_button {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    align-self: stretch;
    padding: 0 1rem;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
    background: transparent;
    font-size: .88rem;
    font-weight: 750;
    white-space: nowrap;
}

.aixserv_accessibility_nav_button:hover,
.aixserv_accessibility_nav_button:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .1);
}

.aixserv_accessibility_nav_button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.aixserv_mobile_menu nav button {
    width: 100%;
    display: block;
    padding: .8rem .9rem;
    border: 0;
    border-radius: .65rem;
    color: var(--aixserv_ink);
    background: transparent;
    font-weight: 700;
    text-align: left;
}

.aixserv_mobile_menu nav button:hover,
.aixserv_mobile_menu nav button:focus-visible {
    background: var(--aixserv_blue_soft);
}

/* Native dialog: keine zusätzliche JS-/Framework-Abhängigkeit. */
.aixserv_accessibility_dialog {
    width: min(92vw, 680px);
    max-height: min(90vh, 820px);
    padding: 0;
    overflow: auto;
    border: 1px solid var(--aixserv_border);
    border-radius: 1.15rem;
    color: var(--aixserv_ink);
    background: var(--aixserv_surface);
    box-shadow: 0 28px 80px rgba(6, 27, 35, .32);
}

.aixserv_accessibility_dialog::backdrop {
    background: rgba(4, 21, 27, .66);
    backdrop-filter: blur(3px);
}

.aixserv_accessibility_modal {
    padding: clamp(1.25rem, 4vw, 2rem);
}

.aixserv_accessibility_header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.aixserv_accessibility_header h2 {
    margin: .15rem 0 0;
    color: var(--aixserv_blue_dark);
    font-size: clamp(1.65rem, 5vw, 2.2rem);
    font-weight: 850;
    letter-spacing: -.025em;
}

.aixserv_dialog_close {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    padding: 0;
    border: 1px solid var(--aixserv_border);
    border-radius: 50%;
    color: var(--aixserv_ink);
    background: var(--aixserv_surface_alt);
    font-size: 1.6rem;
    line-height: 1;
}

.aixserv_dialog_close:hover {
    background: var(--aixserv_blue_soft);
}

.aixserv_accessibility_intro {
    margin: 1rem 0 1.5rem;
    color: var(--aixserv_muted);
}

.aixserv_accessibility_group {
    margin: 0;
    padding: 1.15rem 0;
    border: 0;
    border-top: 1px solid var(--aixserv_border);
}

.aixserv_accessibility_group legend {
    margin-bottom: .75rem;
    color: var(--aixserv_ink);
    font-size: 1rem;
    font-weight: 800;
}

.aixserv_choice_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
}

.aixserv_choice {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.aixserv_choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.aixserv_choice span {
    min-height: 46px;
    display: grid;
    place-items: center;
    padding: .65rem .8rem;
    border: 1px solid var(--aixserv_border);
    border-radius: .7rem;
    color: var(--aixserv_ink);
    background: var(--aixserv_surface_alt);
    font-weight: 750;
    text-align: center;
}

.aixserv_choice input:checked + span {
    border-color: var(--aixserv_blue);
    color: #fff;
    background: var(--aixserv_blue);
    box-shadow: inset 0 0 0 1px var(--aixserv_blue);
}

.aixserv_choice input:focus-visible + span {
    outline: 3px solid var(--aixserv_yellow);
    outline-offset: 3px;
}

.aixserv_accessibility_switches {
    border-top: 1px solid var(--aixserv_border);
}

.aixserv_switch_row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .8rem;
    align-items: start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--aixserv_border);
    cursor: pointer;
}

.aixserv_switch_row input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: .18rem;
    accent-color: var(--aixserv_blue);
}

.aixserv_switch_row strong,
.aixserv_switch_row small {
    display: block;
}

.aixserv_switch_row strong {
    color: var(--aixserv_ink);
}

.aixserv_switch_row small {
    margin-top: .15rem;
    color: var(--aixserv_muted);
    line-height: 1.5;
}

.aixserv_accessibility_footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding-top: 1.25rem;
}

.aixserv_accessibility_status {
    color: var(--aixserv_green_dark);
    font-size: .88rem;
    font-weight: 750;
}

/* Schriftvergrößerung bleibt relativ und respektiert Browser-Zoom. */
html[data-font-size="large"] {
    font-size: 112.5%;
}

html[data-font-size="xlarge"] {
    font-size: 125%;
}

/* Textlinks auf Wunsch zusätzlich unabhängig von Farbe kennzeichnen. */
html[data-links="underlined"] .aixserv_site a:not(.btn):not(.aixserv_brand):not(.nav-link) {
    text-decoration: underline !important;
    text-decoration-thickness: .09em !important;
    text-underline-offset: .18em !important;
}

/* Erhöhter Kontrast – bewusst über Variablen statt Einzelpatches. */
html[data-contrast="high"][data-theme="light"] {
    --aixserv_blue: #005f7c;
    --aixserv_blue_dark: #082f3d;
    --aixserv_yellow_dark: #765500;
    --aixserv_ink: #11171a;
    --aixserv_muted: #3e484e;
    --aixserv_border: #7f8c92;
}

html[data-contrast="high"] .aixserv_site :focus-visible {
    outline-width: 4px;
    outline-offset: 4px;
}

/* Dark Mode */
html[data-theme="dark"] {
    color-scheme: dark;
    --aixserv_yellow: #f0c62f;
    --aixserv_yellow_dark: #f5d667;
    --aixserv_blue: #5cc0df;
    --aixserv_blue_dark: #d8f2fa;
    --aixserv_blue_soft: #153b49;
    --aixserv_nav_bg: #0d4358;
    --aixserv_copper: #d48a60;
    --aixserv_copper_dark: #f1ba9a;
    --aixserv_copper_soft: #3b2a24;
    --aixserv_green: #76b88a;
    --aixserv_green_dark: #b8e1c4;
    --aixserv_green_soft: #18352a;
    --aixserv_ink: #edf4f6;
    --aixserv_muted: #b4c4ca;
    --aixserv_surface: #0f252d;
    --aixserv_surface_alt: #15313a;
    --aixserv_border: #31505b;
    --aixserv_shadow: 0 18px 45px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] body.aixserv_site,
html[data-theme="dark"] .aixserv_content_section {
    color: var(--aixserv_ink);
    background: var(--aixserv_surface);
}

html[data-theme="dark"] .aixserv_site_header {
    background: #0b2028;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}

html[data-theme="dark"] .aixserv_brand_name,
html[data-theme="dark"] .aixserv_brand,
html[data-theme="dark"] .aixserv_header_link {
    color: var(--aixserv_ink) !important;
}

html[data-theme="dark"] .aixserv_brand_kicker {
    color: var(--aixserv_muted);
}

html[data-theme="dark"] .aixserv_header_link:hover {
    color: #fff !important;
}

html[data-theme="dark"] .aixserv_header_search .form-control,
html[data-theme="dark"] .aixserv_mobile_menu summary,
html[data-theme="dark"] .aixserv_mobile_menu nav {
    color: var(--aixserv_ink);
    background: var(--aixserv_surface_alt);
    border-color: var(--aixserv_border);
}

html[data-theme="dark"] .aixserv_mobile_menu nav a,
html[data-theme="dark"] .aixserv_mobile_menu nav button {
    color: var(--aixserv_ink) !important;
}

html[data-theme="dark"] .aixserv_breadcrumb_bar,
html[data-theme="dark"] .aixserv_news_section,
html[data-theme="dark"] .aixserv_section_shell_alt {
    background: var(--aixserv_surface_alt);
}

html[data-theme="dark"] .aixserv_page_hero,
html[data-theme="dark"] .aixserv_page_hero.aixserv_theme_water,
html[data-theme="dark"] .aixserv_page_hero.aixserv_theme_nature,
html[data-theme="dark"] .aixserv_page_hero.aixserv_theme_architecture {
    background: linear-gradient(135deg, #102a34 0%, #14343f 58%, #10272f 100%);
}

html[data-theme="dark"] .aixserv_page_hero.aixserv_theme_history {
    background: linear-gradient(135deg, #2d2817 0%, #3a3215 55%, #2f2521 100%);
}

html[data-theme="dark"] .aixserv_page_hero.aixserv_theme_history h1 {
    color: #ffe17d;
}

html[data-theme="dark"] .aixserv_theme_history {
    --aixserv_theme_soft: #3b3319;
    --aixserv_theme_text: #ffe17d;
}

html[data-theme="dark"] .aixserv_theme_events {
    --aixserv_theme_soft: #27383f;
    --aixserv_theme_text: #e8f0f3;
}

/* Quick-Links nutzen im Dark Mode helle Akzentflächen: dunkle Schrift sichert WCAG-Kontrast. */
html[data-theme="dark"] .aixserv_quick_link:not(.aixserv_theme_events),
html[data-theme="dark"] .aixserv_quick_link:not(.aixserv_theme_events) small {
    color: #0f252d !important;
}

html[data-theme="dark"] .aixserv_section_nav,
html[data-theme="dark"] .aixserv_topic_card,
html[data-theme="dark"] .aixserv_news_card,
html[data-theme="dark"] .aixserv_world_card,
html[data-theme="dark"] .aixserv_fact_card,
html[data-theme="dark"] .aixserv_empty_state,
html[data-theme="dark"] .aixserv_sidebar_card,
html[data-theme="dark"] .aixserv_comment,
html[data-theme="dark"] .aixserv_accessibility_dialog {
    color: var(--aixserv_ink);
    background: var(--aixserv_surface);
    border-color: var(--aixserv_border);
}

html[data-theme="dark"] .aixserv_section_nav a {
    color: var(--aixserv_ink) !important;
}

html[data-theme="dark"] .aixserv_section_nav a:hover,
html[data-theme="dark"] .aixserv_section_nav a.active {
    color: #fff !important;
    background: #1b4858;
}

html[data-theme="dark"] .aixserv_topic_card,
html[data-theme="dark"] .aixserv_topic_card:hover {
    color: var(--aixserv_ink) !important;
}

html[data-theme="dark"] .aixserv_article p,
html[data-theme="dark"] .aixserv_article li,
html[data-theme="dark"] .aixserv_body_text,
html[data-theme="dark"] .aixserv_readable_list {
    color: #d8e4e8;
}

html[data-theme="dark"] .aixserv_article_quote {
    color: var(--aixserv_ink);
    background: #2e2a18;
}

html[data-theme="dark"] .aixserv_timeline_item::before {
    border-color: var(--aixserv_surface);
}

html[data-theme="dark"] .aixserv_editor_toolbar,
html[data-theme="dark"] .aixserv_editor_button,
html[data-theme="dark"] .aixserv_comment_form_shell,
html[data-theme="dark"] .aixserv_admin_comment_text {
    color: var(--aixserv_ink);
    background: var(--aixserv_surface_alt);
    border-color: var(--aixserv_border);
}

html[data-theme="dark"] .aixserv_editor_button:hover {
    background: #1d4653;
}

html[data-theme="dark"] .aixserv_search_result h2,
html[data-theme="dark"] .aixserv_section_title,
html[data-theme="dark"] .aixserv_content_card h2,
html[data-theme="dark"] .aixserv_news_section h2,
html[data-theme="dark"] .aixserv_legal_heading,
html[data-theme="dark"] .aixserv_article h2,
html[data-theme="dark"] .aixserv_article h3,
html[data-theme="dark"] .aixserv_article h4,
html[data-theme="dark"] .aixserv_sidebar_title,
html[data-theme="dark"] .aixserv_sidebar_post h3 a,
html[data-theme="dark"] .aixserv_sidebar_categories a,
html[data-theme="dark"] .aixserv_comment header strong,
html[data-theme="dark"] .aixserv_comment_form_shell h3,
html[data-theme="dark"] .aixserv_comments_header h2,
html[data-theme="dark"] .aixserv_page_hero h1,
html[data-theme="dark"] .aixserv_world_card h2,
html[data-theme="dark"] .aixserv_fact_card strong {
    color: var(--aixserv_blue_dark);
}

html[data-theme="dark"] .aixserv_site a:not(.btn) {
    color: var(--aixserv_blue);
}

html[data-theme="dark"] .aixserv_site a:not(.btn):hover {
    color: #9be2f4;
}

html[data-theme="dark"] .aixserv_main_nav .nav-link,
html[data-theme="dark"] .aixserv_main_nav .nav-link:hover,
html[data-theme="dark"] .aixserv_main_nav .nav-link:focus-visible,
html[data-theme="dark"] .aixserv_main_nav .nav-link.active {
    color: #fff !important;
}

html[data-theme="dark"] .aixserv_choice input:checked + span {
    color: #081b22;
    background: #8bdcf1;
    border-color: #8bdcf1;
    box-shadow: inset 0 0 0 1px #8bdcf1;
}

html[data-theme="dark"] .aixserv_accessibility_status {
    color: #b8e1c4;
}

html[data-contrast="high"][data-theme="dark"] {
    --aixserv_blue: #9be8ff;
    --aixserv_blue_dark: #ffffff;
    --aixserv_ink: #ffffff;
    --aixserv_muted: #eef6f8;
    --aixserv_surface: #07171d;
    --aixserv_surface_alt: #0c222b;
    --aixserv_border: #91b5c0;
}

/* Explizite Benutzerwahl sowie Betriebssystempräferenz reduzieren Bewegung. */
html[data-motion="reduced"] {
    scroll-behavior: auto;
}

html[data-motion="reduced"] *,
html[data-motion="reduced"] *::before,
html[data-motion="reduced"] *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
    .aixserv_site_header,
    .aixserv_header_top,
    .aixserv_brand_mark,
    .aixserv_brand_kicker,
    .aixserv_brand_name,
    .aixserv_main_nav .nav-link,
    .aixserv_header_search .form-control,
    .aixserv_header_search .btn {
        transition: none !important;
    }
}

@media (max-width: 991.98px) {
    .aixserv_site_header.aixserv_header_shrunk .aixserv_header_top {
        min-height: 62px;
    }

    .aixserv_site_header.aixserv_header_shrunk .aixserv_brand_mark {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
}

@media (max-width: 575.98px) {
    .aixserv_choice_grid {
        grid-template-columns: 1fr;
    }

    .aixserv_accessibility_footer {
        grid-template-columns: 1fr;
    }

    .aixserv_accessibility_footer .d-flex {
        justify-content: stretch !important;
    }

    .aixserv_accessibility_footer .btn {
        flex: 1 1 auto;
    }
}


/* ============================================================
   AixBlog 0.9.1 – Accessibility-Feinschliff & Hosting-Verweise
   ============================================================ */
.aixserv_nav_tools {
    display: flex;
    align-items: stretch;
    margin-left: auto;
}

.aixserv_admin_nav_button {
    display: inline-flex;
    align-items: center;
    padding: 0 1rem;
    border-left: 1px solid rgba(255, 255, 255, .16);
    color: #fff !important;
    background: rgba(255, 255, 255, .06);
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
}

.aixserv_admin_nav_button:hover,
.aixserv_admin_nav_button:focus-visible {
    color: #fff !important;
    background: rgba(255, 255, 255, .14);
}

.aixserv_mobile_admin_link {
    font-weight: 800 !important;
}

.aixserv_news_actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.aixserv_blog_edit_button {
    position: relative;
    z-index: 3;
    margin-left: auto;
    color: var(--bs-btn-color) !important;
    white-space: nowrap;
}

.aixserv_blog_edit_button:hover,
.aixserv_blog_edit_button:focus-visible,
.aixserv_blog_edit_button:active {
    color: var(--bs-btn-hover-color) !important;
}

.aixserv_article_meta_row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: .8rem 1rem;
    margin-bottom: 1.5rem;
}

.aixserv_article_meta_row .aixserv_article_meta {
    margin-bottom: 0;
}

.aixserv_text_button {
    display: inline;
    padding: 0;
    border: 0;
    color: var(--aixserv_blue);
    background: transparent;
    font: inherit;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: .15em;
    cursor: pointer;
}

.aixserv_text_button:hover,
.aixserv_text_button:focus-visible {
    color: var(--aixserv_blue_dark);
}

.aixserv_netiquette_confirmation {
    padding: .85rem 1rem;
    border: 1px solid var(--aixserv_border);
    border-radius: .75rem;
    background: var(--aixserv_surface_alt);
}

.aixserv_netiquette_confirmation label {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .7rem;
    align-items: start;
    margin: 0;
    cursor: pointer;
}

.aixserv_netiquette_confirmation input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: .2rem;
    accent-color: var(--aixserv_blue);
}

.aixserv_netiquette_show_button {
    margin-top: .55rem;
    margin-left: 1.85rem;
    font-size: .9rem;
}

.aixserv_netiquette_dialog {
    width: min(92vw, 640px);
    max-height: min(90vh, 760px);
    padding: 0;
    overflow: auto;
    border: 1px solid var(--aixserv_border);
    border-radius: 1.05rem;
    color: var(--aixserv_ink);
    background: var(--aixserv_surface);
    box-shadow: 0 28px 80px rgba(6, 27, 35, .32);
}

.aixserv_netiquette_dialog::backdrop {
    background: rgba(4, 21, 27, .66);
    backdrop-filter: blur(3px);
}

.aixserv_netiquette_modal {
    padding: clamp(1.25rem, 4vw, 2rem);
}

.aixserv_netiquette_modal h2 {
    margin: .15rem 0 0;
    color: var(--aixserv_blue_dark);
    font-size: clamp(1.55rem, 5vw, 2rem);
    font-weight: 850;
}

.aixserv_netiquette_list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--aixserv_ink);
}

.aixserv_netiquette_list li {
    line-height: 1.6;
}

.aixserv_netiquette_list li + li {
    margin-top: .7rem;
}

.aixserv_netiquette_rule {
    display: grid;
    gap: .25rem;
    margin-top: 1.35rem;
    padding: 1rem 1.1rem;
    border-left: 4px solid var(--aixserv_yellow);
    border-radius: .4rem;
    color: var(--aixserv_ink);
    background: var(--aixserv_surface_alt);
}

.aixserv_netiquette_rule span {
    color: var(--aixserv_muted);
    line-height: 1.55;
}

html[data-theme="dark"] .aixserv_netiquette_dialog,
html[data-theme="dark"] .aixserv_netiquette_confirmation,
html[data-theme="dark"] .aixserv_netiquette_rule {
    color: var(--aixserv_ink);
    background: var(--aixserv_surface);
    border-color: var(--aixserv_border);
}

html[data-theme="dark"] .aixserv_netiquette_modal h2 {
    color: var(--aixserv_blue_dark);
}

html[data-theme="dark"] .aixserv_text_button {
    color: var(--aixserv_blue);
}

@media (max-width: 575.98px) {
    .aixserv_article_meta_row {
        align-items: stretch;
    }

    .aixserv_article_meta_row > .btn {
        width: 100%;
    }

    .aixserv_news_actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .aixserv_blog_edit_button {
        margin-left: 0;
    }
}

/* ============================================================
 * AixBlog 0.10.0 – Veranstaltungen
 * ============================================================ */
.aixserv_event_filters {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.aixserv_event_filters a {
    display: inline-flex;
    padding: .48rem .8rem;
    align-items: center;
    gap: .35rem;
    color: var(--aixserv_blue_dark);
    background: var(--aixserv_surface, #fff);
    border: 1px solid var(--aixserv_border);
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 700;
}

.aixserv_event_filters a:hover,
.aixserv_event_filters a:focus-visible,
.aixserv_event_filters a.active {
    color: #fff;
    background: var(--aixserv_blue);
    border-color: var(--aixserv_blue);
}

.aixserv_event_filters a span {
    opacity: .72;
}

.aixserv_event_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.aixserv_event_card {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    overflow: hidden;
    background: var(--aixserv_surface, #fff);
    border: 1px solid var(--aixserv_border);
    border-radius: 1rem;
    box-shadow: 0 12px 32px rgba(24,39,44,.08);
}

.aixserv_event_date {
    display: flex;
    padding: 1.1rem .55rem;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    color: #fff;
    background: var(--aixserv_blue_dark);
    text-align: center;
}

.aixserv_event_date span,
.aixserv_event_date small {
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .08em;
}

.aixserv_event_date strong {
    margin: .12rem 0;
    font-size: 1.8rem;
    line-height: 1;
}

.aixserv_event_card_body {
    padding: 1.15rem;
}

.aixserv_event_meta {
    display: flex;
    margin-bottom: .45rem;
    flex-wrap: wrap;
    gap: .35rem .7rem;
    color: var(--aixserv_text_muted, #67777f);
    font-size: .76rem;
    font-weight: 700;
}

.aixserv_event_card h2 {
    margin: 0 0 .5rem;
    font-size: 1.2rem;
    line-height: 1.25;
}

.aixserv_event_card h2 a {
    color: var(--aixserv_blue_dark);
}

.aixserv_event_card p {
    margin-bottom: .75rem;
    color: var(--aixserv_text_muted, #67777f);
}

.aixserv_event_location {
    display: flex;
    margin-bottom: .65rem;
    flex-wrap: wrap;
    gap: .25rem .55rem;
    font-size: .82rem;
}

.aixserv_event_more {
    font-size: .82rem;
    font-weight: 750;
}

.aixserv_event_info_card {
    position: sticky;
    top: 7rem;
    padding: 1.25rem;
    background: var(--aixserv_surface, #fff);
    border: 1px solid var(--aixserv_border);
    border-radius: 1rem;
    box-shadow: 0 12px 32px rgba(24,39,44,.08);
}

.aixserv_event_info_card h2 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
}

.aixserv_event_info_card dl {
    margin: 0 0 1rem;
}

.aixserv_event_info_card dl > div {
    padding: .65rem 0;
    border-bottom: 1px solid var(--aixserv_border);
}

.aixserv_event_info_card dt {
    color: var(--aixserv_text_muted, #67777f);
    font-size: .72rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.aixserv_event_info_card dd {
    margin: .18rem 0 0;
    font-weight: 650;
}

html[data-theme="dark"] .aixserv_event_filters a,
html[data-theme="dark"] .aixserv_event_card,
html[data-theme="dark"] .aixserv_event_info_card {
    background: var(--aixserv_dark_surface, #132a33);
}

html[data-theme="dark"] .aixserv_event_filters a,
html[data-theme="dark"] .aixserv_event_card h2 a {
    color: var(--aixserv_dark_text, #e8f1f4);
}

html[data-theme="dark"] .aixserv_event_filters a.active,
html[data-theme="dark"] .aixserv_event_filters a:hover,
html[data-theme="dark"] .aixserv_event_filters a:focus-visible {
    color: #fff;
}

@media (max-width: 991.98px) {
    .aixserv_event_grid {
        grid-template-columns: 1fr;
    }

    .aixserv_event_info_card {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .aixserv_event_card {
        grid-template-columns: 68px minmax(0, 1fr);
    }

    .aixserv_event_card_body {
        padding: .95rem;
    }
}
