/* lato-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/lato-v25-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/lato-v25-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/lato-v25-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-900 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lato';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/lato-v25-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

.navbar-toggler.navbar-toggler-right {
    background: #ff0000;
    text-align: right;
}

/* Global containers */
.article-hero,
.article-titlebar-wrap,
.article-box,
.article-section,
.article-leistungen,
.article-anfahrt {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    font-weight: normal;
    padding: 0;
}

/* 1) Header image */
.article-hero {
    max-width: none; /* allow full width image area */
    margin: 0;
    padding: 0;
}

.article-hero img {
    width: 100%;
    height: auto;
    aspect-ratio: 1400 / 375;
    object-fit: cover;
    display: block;
}

/* 2) Title bar overlap */
.article-titlebar-wrap {
    position: relative;
    z-index: 2;
    /* Pull up by half the bar height so the bar overlaps the image */
    transform: translateY(-80px);
    margin-bottom: -70px; /* compensate for the transform so spacing stays consistent */
}

.article-titlebar {
    background: #FF0D01;
    padding: 24px 24px;
    min-height: 100px;
    display: flex;
    align-items: center;
}

.article-titlebar h1 {
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: clamp(18px, 3.2vw, 40px);
    line-height: 1.1;
}

/* 3) White content boxes */
.article-box,
.article-section,
.article-leistungen,
.article-anfahrt {
    background: #fff;
    padding: 40px 24px;
}

.article-box {
    margin-top: 50px; /* space after titlebar area */
}

/* Typography inside boxes */
.article-box,
.article-section,
.article-leistungen,
.article-anfahrt {
    font-family: "Lato", sans-serif;
    font-size: clamp(14px, 3.2vw, 18px);
    letter-spacing: .001rem;
    line-height: 1.5;
    color: #54595e;
}

.article-box h2 {
    font-size: clamp(14px, 3.2vw, 24px);
    font-weight: 700;
    margin: 0 0 24px;
    color: #3e3d40;
}

/* Spacing between blocks */
.article-block-spacing {
    margin-bottom: 50px;
}

/* 4) Section loop images */
.article-section img {
    width: 100%;
    height: auto;
    display: block;
}

/* 5) Parallax block */
.article-parallax {
    width: 100%;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-left: auto;
    margin-right: auto;
}

/* Safer fallback for mobile (many browsers ignore fixed) */
@media (max-width: 991.98px) {
    .article-parallax {
        background-attachment: scroll;
    }
}

/* 6) Leistungen list with red squares */
.article-leistungen ul {
    list-style: none;
    padding-left: 0;
    margin: 16px 0 16px;
}

.article-leistungen li {
    position: relative;
    padding-left: 18px;
    margin: 8px 0;
}

.article-leistungen li::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #FF0D01;
    position: absolute;
    left: 0;
    top: 0.55em;
    transform: translateY(-50%);
}

.footer a:not(.btn):hover, .footer a:not(.btn):focus, .footer .btn-link:hover, .footer .btn-link:focus {
    color: #FF0D01;
}

.card {
    border: none;
    background: #fff;
    box-shadow: none;
}


.divider.icon-location {
    color: #FF0D01;
}

.breadcrumb {
    background-color: transparent;
}

::selection {
    background: #FF0D01;
    color: #fff;
}
