@charset "UTF-8";
/* ==========================================================================
   modern.css — site-wide visual touch-up.
   Loaded LAST on every page so it layers over the per-page style_*.css files
   without changing layout structure or markup.
   ========================================================================== */

:root {
    --brand: #d0021b;
    --brand-strong: #a80016;
    --brand-soft: rgba(208, 2, 27, 0.14);
    --surface: rgba(14, 16, 22, 0.72);
    --surface-strong: rgba(14, 16, 22, 0.84);
    --hairline: rgba(255, 255, 255, 0.09);
    --text: #f4f5f7;
    --text-muted: rgba(244, 245, 247, 0.68);
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

html, body, p, a, h1, h2, h3, h4, li, span, div, .container, .main,
.left_column, .right_column, .Language-Query, .Language-Query a {
    font-family: var(--font);
}

body {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px 24px;
    color: var(--text);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Soft dark wash over the background photo so text panels read cleanly */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at top, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.45) 70%),
        linear-gradient(180deg, rgba(10, 12, 18, 0.25), rgba(10, 12, 18, 0.55));
}

p, li {
    line-height: 1.65;
}

h1, h2, h3 {
    letter-spacing: -0.015em;
    font-weight: 600;
}

h1 {
    font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.4rem);
    line-height: 1.2;
}

a {
    transition: color .2s var(--ease), background-color .2s var(--ease),
                border-color .2s var(--ease), opacity .2s var(--ease);
}

::selection {
    background: var(--brand);
    color: #fff;
}

:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---------- Header / logo ---------- */

body > .container {
    max-width: none;
    width: auto;
    margin: 16px 0 0;
    padding: 0 24px;
    height: auto;
    display: flex;
    align-items: center;
    min-height: 92px;
    background: #fff;
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow: var(--shadow);
}

body > .container header {
    padding: 0;
    margin: 0;
}

body > .container header img {
    max-height: 72px;
    width: auto;
}

/* ---------- Language switch ---------- */

.Language-Query {
    max-width: none;
    height: auto;
    margin: 0;
    padding: 8px 16px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.Language-Query a {
    margin: 0;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    color: #555;
    text-decoration: none;
    line-height: 1.4;
}

.Language-Query .Language {
    color: #888;
    padding-right: 4px;
    cursor: default;
}

.Language-Query a.Language-pick,
.Language-Query a[class^="Language-pick"] {
    color: #333;
    border-color: rgba(0, 0, 0, 0.12);
    background: transparent;
}

.Language-Query a.Language-pick:hover,
.Language-Query a[class^="Language-pick"]:hover {
    color: var(--brand);
    border-color: var(--brand);
    background: transparent;
    text-decoration: none;
}

/* the current-language pill (markup uses class="Language-pick; active") */
.Language-Query a.active,
.Language-Query a.active:hover {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
}

/* ---------- Main navigation ---------- */

.menu-bar {
    max-width: none;
    margin: 0 0 8px;
    padding: 10px 12px;
    background: linear-gradient(180deg, var(--brand) 0%, var(--brand-strong) 100%);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 50;
}

.menu-bar > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.menu-bar ul li,
.menu-bar > ul > li {
    width: auto;
    min-width: 112px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    transition: background-color .2s var(--ease);
}

.menu-bar ul li p {
    margin: 2px 0 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: #fff;
}

.menu-bar .fa,
.menu-bar .fas {
    margin: 0 0 2px;
    font-size: 17px;
    opacity: .92;
    transition: transform .25s var(--ease);
}

.menu-bar > ul > li:hover,
.menu-bar > ul > li.active,
li.active {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
}

.menu-bar > ul > li:hover .fa,
.menu-bar > ul > li:hover .fas {
    transform: translateY(-2px);
}

/* Dropdowns: light cards with shadow */
.menu-bar ul li:hover .sub-menu-1 {
    margin-top: 8px; /* < li padding-bottom, so the hover area stays continuous */
    margin-left: -14px;
    padding: 6px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), 0 2px 6px rgba(0, 0, 0, 0.12);
    animation: am-drop .18s var(--ease);
}

.menu-bar ul li:hover .sub-menu-1 ul {
    margin: 0;
    padding: 0;
}

.menu-bar ul li:hover .sub-menu-1 ul li,
.menu-bar .sub-menu-1 ul li,
.menu-bar .sub-menu-2 ul li {
    width: 250px;
    min-width: 0;
    margin: 0;
    padding: 9px 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    text-align: left;
    color: #222;
}

.menu-bar .sub-menu-1 ul li:hover,
.menu-bar .sub-menu-2 ul li:hover {
    background: var(--brand-soft);
    border: none;
    padding: 9px 12px;
}

.menu-bar .sub-menu-1 a,
.menu-bar .sub-menu-2 a {
    color: #222;
    font-size: 14px;
    font-weight: 500;
}

.menu-bar ul li:hover .sub-menu-1 ul li a:hover,
.menu-bar .sub-menu-2 a:hover {
    color: var(--brand);
}

.menu-bar .sub-menu-1 .fa-angle-right {
    float: right;
    margin-top: 4px;
    color: #999;
}

.hover-me:hover .sub-menu-2 {
    margin-top: -32px;
    margin-left: 232px;
    padding: 6px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), 0 2px 6px rgba(0, 0, 0, 0.12);
    animation: am-drop .18s var(--ease);
}

.hover-me .sub-menu-2 ul {
    margin: 0;
    padding: 0;
}

@keyframes am-drop {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: none; }
}

/* ---------- Content panels ---------- */

.main {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.main h1 {
    max-width: none;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

/* Panel title bars (pages other than Home have a dark h1 strip) */
.main > h1[style], .main > h1 {
    border-radius: var(--radius);
}

.main p,
.left_column p,
.left_column h3,
.right_column h3,
.right_column ul,
.right_column p,
.main > h1 {
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    backdrop-filter: blur(10px) saturate(120%);
}

.main > p,
.left_column p,
.right_column ul {
    background-color: var(--surface);
    color: var(--text);
}

.main > p {
    border-radius: var(--radius);
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow);
}

.left_column h3,
.right_column h3 {
    font-size: 1.3rem;
    font-weight: 600;
    background-color: var(--surface-strong);
    border-radius: var(--radius) var(--radius) 0 0;
    border-bottom: 2px solid var(--brand);
    padding: 14px 20px 10px;
}

.right_column ul {
    border-radius: 0 0 var(--radius) var(--radius);
    padding-top: 10px;
    padding-bottom: 14px;
}

.right_column ul li {
    padding-bottom: 6px;
}

.right_column ul li::marker {
    color: var(--brand);
}

.left_column,
.right_column {
    padding-left: 8px;
    padding-right: 8px;
}

/* Inline red text links: a slightly brighter red so they read on dark panels */
.main a[style*="255,0"],
.main a[style*="255, 0"] {
    color: #ff5a6a !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 90, 106, 0.4);
}

.main a[style*="255,0"]:hover,
.main a[style*="255, 0"]:hover {
    color: #fff !important;
    border-bottom-color: #fff;
}

/* "Click here to open printer-ready version" pill */
.right_column p:has(> a[href$=".pdf"]) {
    border-radius: 999px;
    border: 1px solid var(--hairline);
    background-color: var(--surface);
    padding: 10px 16px;
    transition: background-color .2s var(--ease), border-color .2s var(--ease);
}

.right_column p:has(> a[href$=".pdf"]):hover {
    border-color: rgba(255, 90, 106, 0.6);
}

.right_column p > a[href$=".pdf"] {
    border-bottom: none !important;
}

/* Call-to-action buttons */
.info-button p,
.info-button {
    border-radius: 999px;
}

.info-button p {
    background: linear-gradient(180deg, var(--brand) 0%, var(--brand-strong) 100%) !important;
    border: none;
    box-shadow: 0 8px 22px rgba(208, 2, 27, 0.35);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.info-button p:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(208, 2, 27, 0.45);
}

.info-button a {
    color: #fff !important;
    font-weight: 600;
    letter-spacing: .01em;
}

/* Accordions */
.accordion-item {
    background-color: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.accordion-item-header {
    transition: background-color .2s var(--ease);
}

.accordion-item-header:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.accordion-item-header::after,
.accordion-item-header.active::after {
    right: 1rem;
    font-size: 1.25rem;
    color: var(--brand);
}

.accordion-item-header span {
    color: var(--text) !important;
    font-weight: 600 !important;
}

/* ---------- Carousels ---------- */

.carousel {
    background-color: var(--surface) !important;
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: 16px 0 0;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.carousel-inner img {
    border-radius: 10px;
}

.carousel-control-prev,
.carousel-control-next {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    opacity: .85;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.45);
    background-size: 45%;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

/* Caption sits in normal flow under the image instead of overlapping it */
.carousel-caption {
    position: static;
    padding: 12px 64px 14px;
}

.carousel-caption p {
    position: static;
    width: auto;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    color: var(--text-muted);
    background: none !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

/* ---------- Footer ---------- */

.Adresse,
.Impressum,
.Socialmedia {
    box-sizing: border-box;
    width: 33.333%;
    max-width: none;
    height: 200px;
    margin-top: 32px;
    padding: 28px 28px 12px;
    background-color: var(--surface-strong);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--hairline);
}

.Adresse { border-top-left-radius: var(--radius); }
.Socialmedia { border-top-right-radius: var(--radius); }

.Adresse ul,
.Impressum ul,
.Socialmedia ul {
    margin: 0;
    padding: 0;
}

.Adresse p,
.Impressum p,
.Socialmedia p {
    margin: 0 0 6px;
    font-size: 14px;
    color: var(--text-muted);
}

.Adresse p:first-child a {
    color: #fff !important;
    font-weight: 600;
}

.Adresse a,
.Impressum a,
.Socialmedia a {
    color: var(--text-muted);
    text-decoration: none;
}

.Adresse a:hover,
.Impressum a:hover,
.Socialmedia a:hover {
    color: #fff;
}

.Update-bar {
    clear: both;
    background-color: var(--surface-strong);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 0 0 var(--radius) var(--radius);
    border-top: 1px solid var(--hairline);
    padding: 14px 20px;
}

.Update-bar p {
    float: none;
    width: auto;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0;
    font-size: 12.5px;
    line-height: 1.5;
    text-align: center;
    color: rgba(244, 245, 247, 0.5);
}

/* ---------- Small screens ---------- */

@media only screen and (max-width: 780px) {
    body {
        padding: 0 12px 16px;
    }

    body > .container {
        min-height: 72px;
        padding: 0 16px;
    }

    body > .container header img {
        max-height: 56px;
    }

    .Language-Query .Language {
        display: none;
    }

    .menu-bar {
        width: auto;
        min-width: 0;
        border-radius: 0 0 var(--radius) var(--radius);
    }

    .menu-bar > ul {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }

    .menu-bar > ul > li {
        min-width: 0;
        padding: 8px 4px;
    }

    .menu-bar ul li p {
        font-size: 12.5px;
    }

    .menu-bar ul li:hover .sub-menu-1 {
        left: 12px;
        right: 12px;
        margin: 8px 0 0;
    }

    .menu-bar ul li:hover .sub-menu-1 ul li,
    .menu-bar .sub-menu-1 ul li,
    .menu-bar .sub-menu-2 ul li {
        width: auto;
    }

    .hover-me:hover .sub-menu-2 {
        position: static;
        margin: 4px 0 0;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.04);
    }

    .left_column,
    .right_column {
        float: none;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .Adresse,
    .Impressum,
    .Socialmedia {
        float: none;
        width: 100%;
        height: auto;
        margin-top: 0;
        padding: 18px 20px 8px;
        border-radius: 0;
    }

    .Adresse {
        margin-top: 24px;
        border-radius: var(--radius) var(--radius) 0 0;
    }
}

/* ---------- Overrides for legacy rules with higher specificity ---------- */

/* Legacy global ".active" rule (red box, dotted border) also hits Bootstrap's
   active carousel slide — neutralise it there. */
.carousel-item.active {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}

/* Per-page CSS pins headings/captions to Ubuntu with class selectors */
.main h1, .main h2, .main h3, .main p, .main li, .main span,
.left_column h3, .right_column h3, .carousel-caption p,
.accordion-item-header, .accordion-item-body-content {
    font-family: var(--font);
}

/* Title bar on inner pages: align with the two content columns */
.main > h1 {
    margin-left: 8px;
    margin-right: 8px;
}

/* Embedded map (Contact page) */
.main iframe {
    border: 1px solid var(--hairline) !important;
    border-radius: 12px;
}

/* Bootstrap's a:not([href]) rule outranks the plain class selector */
.Language-Query a.Language:not([href]) {
    color: #888;
}

.Adresse,
.Impressum,
.Socialmedia {
    height: 170px;
}

@media only screen and (max-width: 780px) {
    .Adresse,
    .Impressum,
    .Socialmedia {
        height: auto;
    }

    /* "Previous"/"Next" labels overlap the slide on phones; keep the arrows */
    .carousel-control-prev,
    .carousel-control-next {
        font-size: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
