/* look-WERBUNG – Design auf Basis von Bootstrap 5 */

@font-face {
    font-family: "DIN Neuzeit Grotesk Cond";
    src: url("../Fonts/DINNeuzeitGroteskStd-BdCond.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --lw-blue: #212a74;
    --lw-blue-dark: #101438;
    --lw-gray: #949494;
    --lw-gray-light: #a7a8ab;
    --bs-body-font-family: "DIN Neuzeit Grotesk Cond", "Arial Narrow", Arial, sans-serif;
    --bs-body-font-size: 1.25rem;
    --bs-body-color: var(--lw-blue);
    --bs-link-color-rgb: 33, 42, 116;
    --bs-link-hover-color-rgb: 16, 20, 56;
    --bs-emphasis-color: var(--lw-blue);
}

body {
    font-weight: normal;
    letter-spacing: .01em;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--lw-blue);
    font-weight: normal;
}
h1, .h1 { font-size: 2rem; }
h2, .h2 { font-size: 1.8rem; }
h3, .h3 { font-size: 1.5rem; }
h4, .h4 { font-size: 1.3rem; }
h5, .h5 { font-size: 1.1rem; }


a { text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

.text-gray { color: var(--lw-gray); }
.text-blue { color: var(--lw-blue); }
.link-gray, .link-gray:hover { color: var(--lw-gray); text-decoration: underline; }

.skiplink {
    position: absolute;
    z-index: 1100;
    top: .5rem;
    left: .5rem;
    padding: .5rem 1rem;
    background: #fff;
}

@media (min-width: 1200px) {
    .container { max-width: 1040px; }
}

#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

.site-header {
    position: relative;
}
.site-header__brand {
    display: block;
}
.site-header__img {
    display: block;
    width: 100%;
    height: auto;
}

.site-nav {
    position: absolute;
    inset: 0 0 auto 0;
    padding-top: .75rem;
    text-transform: uppercase;
}
.site-nav .nav-link {
    padding: .25rem .5rem;
    color: var(--lw-gray-light);
    font-size: 1.25rem;
}
.site-nav .nav-link:hover,
.site-nav .nav-link:focus,
.site-nav .nav-link.active,
.site-nav .nav-link.show {
    color: #fff;
    text-decoration: none;
}
.site-nav .dropdown-menu {
    --bs-dropdown-link-active-bg: var(--lw-blue);
    --bs-dropdown-link-color: var(--lw-blue);
    border-radius: 0;
    text-transform: none;
}
.site-nav .navbar-toggler {
    border-color: rgba(255, 255, 255, .6);
    background: rgba(33, 42, 116, .6);
}
.site-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (min-width: 992px) {
    .site-nav .navbar-nav { gap: .25rem; }
    .site-nav .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}

@media (max-width: 991.98px) {
    .site-nav { padding-top: .5rem; }
    .site-nav .navbar-collapse {
        margin-top: .5rem;
        padding: .5rem 1rem;
        background: var(--lw-blue);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .25);
    }
    .site-nav .nav-link { color: #fff; }
    .site-nav .dropdown-menu {
        border: 0;
        background: transparent;
    }
    .site-nav .dropdown-item { color: var(--lw-gray-light); }
    .site-nav .dropdown-item:hover,
    .site-nav .dropdown-item.active { color: #fff; background: transparent; }
}

/* ---------- Inhalt ---------- */

.main-content {
    flex: 1 0 auto;
    padding-bottom: 3rem;
}
.main-content { padding-top: 1.5rem; }

.page-title {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
}
.page-title__home img { display: block; height: auto; }
.page-title__trail {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    text-transform: uppercase;
}
.page-title__trail a,
.page-title__current {
    margin: 0;
    color: var(--lw-gray-light);
    font-size: 2rem;
    line-height: 1.2;
}

/* Abstände der Inhaltselemente */
.frame-space-after-medium { margin-bottom: 2.5rem; }
.frame + .frame { margin-top: 0; }
.frame { margin-bottom: 2rem; }
.frame-type-lw_columns3 > .row > div > .frame:last-child,
.frame-type-lw_columns2 > .row > div > .frame:last-child { margin-bottom: 1rem; }

/* Startseite: Icon-Boxen (Text & Medien, "neben dem Text links") */
.frame-type-textmedia .ce-textpic.ce-left.ce-intext.ce-nowrap {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.frame-type-textmedia .ce-nowrap .ce-gallery { float: none; margin: 0; }
.frame-type-textmedia .ce-nowrap .ce-bodytext { overflow: visible; }
.lw-feature-title {
    margin: 0;
    color: var(--lw-blue);
    font-size: 1.4rem;
    text-transform: uppercase;
}
.frame-space-after-extra-small { margin-bottom: 1rem; }

.ce-subheader {
    margin-bottom: 1rem;
    color: var(--lw-gray-light);
}

/* Akkordeon */
.lw-accordion {
    --bs-accordion-border-width: 0;
    --bs-accordion-bg: transparent;
    --bs-accordion-active-bg: transparent;
    --bs-accordion-active-color: var(--lw-blue);
    --bs-accordion-btn-color: var(--lw-blue);
    --bs-accordion-btn-padding-x: .25rem;
    --bs-accordion-btn-padding-y: .35rem;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(33, 42, 116, .25);
    --bs-accordion-body-padding-x: .25rem;
    --bs-accordion-body-padding-y: 1rem;
}
.lw-accordion .accordion-button {
    font-size: 1.7rem;
    line-height: 1.2;
    text-transform: uppercase;
}
.lw-accordion .accordion-button::after {
    width: auto;
    height: auto;
    content: "+";
    background-image: none;
    font-size: 1.6rem;
    line-height: 1;
    transform: none;
}
.lw-accordion .accordion-button:not(.collapsed)::after {
    content: "\2212";
    background-image: none;
    transform: none;
}
.lw-accordion .accordion-body {
    color: var(--lw-gray-light);
}
.lw-accordion .accordion-body h3,
.lw-accordion .accordion-body h4 {
    color: var(--lw-blue);
}
.lw-accordion .accordion-body .frame { margin-bottom: 0; }

/* Bilder-Raster mit Lightbox */
.lw-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
@media (min-width: 768px) {
    .lw-gallery { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
.lw-gallery__item a {
    display: block;
    overflow: hidden;
}
.lw-gallery__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .3s ease;
}
.lw-gallery__item a:hover .lw-gallery__img,
.lw-gallery__item a:focus .lw-gallery__img {
    transform: scale(1.05);
}

/* Downloads */
.ce-uploads { padding: 0; list-style: none; }
.ce-uploads li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.ce-uploads img { width: 64px; height: auto; border: 1px solid #ddd; }
.ce-uploads-fileName { font-size: 1.3rem; }
.ce-uploads-filesize { color: var(--lw-gray); }

/* Formulare */
form .form-label { margin-bottom: .25rem; }
form .form-control {
    border-radius: 0;
    border-color: var(--lw-gray-light);
    font-family: Arial, sans-serif;
    font-size: 1rem;
}
form .form-control:focus {
    border-color: var(--lw-blue);
    box-shadow: 0 0 0 .2rem rgba(33, 42, 116, .2);
}
form .form-check-label { color: var(--lw-gray); font-size: 1rem; }
form .required { color: #b00; }
form .btn-primary,
.btn-primary {
    --bs-btn-bg: var(--lw-blue);
    --bs-btn-border-color: var(--lw-blue);
    --bs-btn-hover-bg: var(--lw-blue-dark);
    --bs-btn-hover-border-color: var(--lw-blue-dark);
    border-radius: 0;
    padding: .4rem 2rem;
    font-size: 1.25rem;
    text-transform: uppercase;
}

/* Rechtstexte (Impressum/Datenschutz) */
.frame-type-text .ce-bodytext h2 { margin-top: 2rem; font-size: 1.6rem; }
.frame-type-text .ce-bodytext h3 { margin-top: 1.5rem; font-size: 1.35rem; }

/* ---------- Kontakt-Leiste (rechts fixiert) ---------- */

.cta {
    position: fixed;
    z-index: 1020;
    top: 50%;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    transform: translateY(-50%);
}
.cta__item {
    position: relative;
    right: 0;
    display: flex;
    align-items: center;
    gap: .75rem;
    width: 12rem;
    margin-right: -9.25rem;
    padding: .25rem .5rem .25rem .25rem;
    background: #fff;
    color: var(--lw-blue);
    text-transform: uppercase;
    white-space: nowrap;
    transition: margin-right .25s ease;
}
.cta__item:hover,
.cta__item:focus {
    margin-right: 0;
    text-decoration: none;
    box-shadow: 0 0 .5rem rgba(0, 0, 0, .2);
}
.cta__icon, .cta__icon-mobile { width: 40px; height: 40px; flex: 0 0 auto; }
.cta__icon-mobile { display: none; }

@media (max-width: 767.98px) {
    .cta {
        top: auto;
        bottom: 0;
        left: 0;
        flex-direction: row;
        justify-content: space-around;
        gap: 0;
        padding: .35rem 0;
        background: var(--lw-blue);
        transform: none;
    }
    .cta__item {
        width: auto;
        margin: 0;
        padding: 0;
        background: transparent;
    }
    .cta__item:hover, .cta__item:focus { box-shadow: none; }
    .cta__icon, .cta__label { display: none; }
    .cta__icon-mobile { display: block; }
    body { padding-bottom: 52px; }
}

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

.site-footer {
    margin-top: auto;
    color: #fff;
}
.site-footer__wave {
    aspect-ratio: 4730 / 700;
    background: url("../Images/footer.png") no-repeat top center / 100% auto;
}
.site-footer__body {
    margin-top: -1px;
    padding: 1rem 0 1.5rem;
    background: linear-gradient(90deg, #111 0%, #2b2a3c 3%, #221d4c 8%, #2c2e66 25%, #3c4396 50%, #3c4396 72%, #2b316f 88%, #1f2257 93%, #2b2a3c 97%, #111 100%);
}
@media (min-width: 768px) {
    .site-footer {
        display: flex;
        align-items: flex-end;
        min-height: calc(100vw * 1351 / 4730);
        padding-top: calc(100vw * 600 / 4730);
        background: url("../Images/footer.png") no-repeat bottom center / 100% 100%;
    }
    .site-footer__wave { display: none; }
    .site-footer__body { flex: 1; background: none; }
}
.site-footer a { color: #fff; }
.site-footer a:hover, .site-footer a:focus { color: var(--lw-gray-light); }
.site-footer__menu { margin: 0; padding: 0; list-style: none; }
.site-footer__menu li { margin-bottom: .2rem; }
.site-footer__logo { display: block; width: 140px; height: auto; margin-bottom: .4rem; }
.site-footer__contact address { font-style: normal; }
.site-footer__copyright { margin: 2rem 0 0; }

/* ---------- Druck ---------- */

@media print {
    .site-nav, .cta, .site-footer__wave { display: none !important; }
    .site-footer { background: none; color: #000; }
    .site-footer a { color: #000; }
}
