:root {
    --primary-bg: #000;
    --primary-text: #fff;
    --quote-bg: #003366;
    --accent-color: #f59c00;
    --max-width: 1280px;
    --focus-outline: 3px dashed #ff0;
}

html {
    scroll-behavior: smooth;

}

*:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
}

body {
    margin: 0;
    font-family: 'Outfit', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: var(--primary-bg);
    color: var(--primary-text);
    line-height: 1.6;
    font-size: 20px;
}

h1, h2, h3 {
    color: var(--primary-text);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.25rem;
    font-weight: 200;
    color: var(--accent-color);
    text-transform: uppercase;
}

h2 {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--accent-color);
}

h3 {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--accent-color);
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


ul.pluslist {
    margin: 15px 0;
    padding: 0;
}

ul.pluslist li {
    padding-left: 20px;
    list-style: none;
    margin: 0 0 8px 0;
}

ul.pluslist li:before {
    content: "+";
    margin-right: 8px;
    color: var(--accent-color);
    font-weight: 700;
    margin-left: -15px;
}

.factwrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.factbox {
    flex: 1;
    padding: 5px 25px;
    background-color: #333;
    border-radius: 10px;
    margin-bottom: 40px
}


.binding {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

a.skip-link {
    position: absolute;
    top: -110%;
    left: 0;
    background: #fff;
    color: #000;
    padding: 0.5rem 1rem;
    z-index: 100;
    font-weight: bold;
    text-decoration: none;
    transition: top 0.3s;
}

a.skip-link:focus {
    top: 0;
}

header {
    position: fixed;
    width: 100%;
    background: #111;
    padding: 20px 0;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    border-bottom: 3px solid var(--accent-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    background: var(--primary-text);
    height: 3px;
    width: 25px;
}

ul.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

ul.menu li a {
    color: var(--primary-text);
    text-decoration: none;
    font-weight: 500;
}

ul.menu li a:hover,
ul.menu li a:focus {
    color: var(--accent-color);
    text-decoration: underline;
}

.carousel {
    margin-top: 70px;
    width: 100%;
    height: 700px;
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid var(--accent-color);

}

.carousel img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel img.active {
    opacity: 1;
    z-index: 1;
}

main {
    padding: 2rem 0;
}

.one-column, .two-columns {
    margin-bottom: 2rem;
}

.two-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.two-columns > div {
    flex: 1;
    min-width: 280px;
    background: #111;
    padding: 1rem;
    border-radius: 8px;
}

.bildergalerie {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.bildergalerie h2 {
    text-align: center;
}

.bilder-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.bilder-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
}


@media (max-width: 1023px) {

    .factwrapper {
        flex-direction: column;
        gap: 0;
    }

    .factbox {
        margin-bottom: 40px
    }

}


@media (max-width: 768px) {

    .carousel {
        height: 350px;
    }


    .carousel img {
        height: 350px;
    }


    .bilder-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .burger {
        display: flex;
    }

    ul.menu {
        display: none;
        flex-direction: column;
        background: #111;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
    }

    ul.menu.active {
        display: flex;
    }
}

.button,
.link-button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 6px;
    background: var(--accent-color);
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}

.button:hover,
.link-button:hover {
    background: #0077cc;
}

.quote {
    background: var(--accent-color);
    padding: 40px 0 45px 0;
    text-align: center;
    font-size: 1.8em;
    font-weight: 300;
    border-radius: 8px;
}

footer {
    padding: 30px 0 50px 0;
    text-align: center;
    background: #000;
    font-size: 1.5em;
    font-weight: 200;
}


/* outfit-100 - 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: 'Outfit';
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/outfit-v11-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-200 - 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: 'Outfit';
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/outfit-v11-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-300 - 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: 'Outfit';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/outfit-v11-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-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: 'Outfit';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/outfit-v11-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-500 - 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: 'Outfit';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/outfit-v11-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-600 - 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: 'Outfit';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/outfit-v11-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-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: 'Outfit';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/outfit-v11-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-800 - 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: 'Outfit';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/outfit-v11-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-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: 'Outfit';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/outfit-v11-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}