:root {
    --primary-color: #f39432;
    --secondary-color: #4c565c;
    --tertiary-color: #f4f4f4;
    --body-color: #333;
}



/* Normalize CSS */

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

a {
    background-color: transparent;
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}



/* W3.CSS Grid Klassen */

/* Grid Container */
.w3-container {
    max-width: 1200px;
    margin: 0 auto;
    grid-gap: 1rem;
    padding: 0 1rem;
}


/* Responsive Breakpoints */
@media screen and (max-width: 767px) {
    .w3-half, .w3-third, .w3-quarter, .w3-twothird, .w3-threequarter {
        grid-column: span 12;
    }
}


/* Local Google Webfonts */
/* noto-serif-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: 'Noto Serif';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/noto-serif-v23-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* noto-serif-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: 'Noto Serif';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/noto-serif-v23-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* source-sans-3-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: 'Source Sans 3';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/source-sans-3-v15-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* source-sans-3-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: 'Source Sans 3';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/source-sans-3-v15-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }




/* Responsive Typografie */
html {
    font-size: 0.875rem; /* Basis Schriftgröße für Mobile (entspricht 14px) */
    font-family: 'Source Sans 3', sans-serif;
}

body {
    font-family: Arial, sans-serif; /* Schriftart */
    font-weight: 400;
    line-height: 1.6;
    color: var(--body-color); 
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4 {
    font-family: 'Noto Serif', serif;
    font-weight: 400;
    margin: 0 0 1rem 0;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

@media screen and (min-width: 768px) {
    html {
        font-size: 0.9375rem; /* entspricht 15px */
    }

    h1 {
        font-size: 2.25rem;
    }
}

@media screen and (min-width: 992px) {
    html {
        font-size: 1rem; /* entspricht 16px */
    }

    h1 {
        font-size: 2.5rem;
    }
}

@media screen and (min-width: 1200px) {
    html {
        font-size: 1.125rem; /* entspricht 18px */
    }
}




/* Page Styles */
#header {
    text-align: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--tertiary-color);
}

.logo {
    max-width: 80px;
    display: block;
    margin: 0 auto;
}

section{
    padding: 3rem 0;
    position: relative;
}

#hero {
    color: #fff;
    text-align: center;
    min-height: 160px;
}

#hero.video-section {
    padding: 0;
    aspect-ratio: 3/2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
}

.hero-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;   
    background: rgba(0, 0, 0, 0.5);
}
#main a{
    color: var(--primary-color);
}
address {
    text-align: center;
}

address p{
    line-height: 1.8;
}

#footer {
    background: var(--secondary-color);
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid var(--tertiary-color);
}

#footer nav ul {
    list-style: none;
    padding: 0;
}

#footer nav a {
    color: #fff;
    text-decoration: none;
}

#footer nav a:hover {
    color: var(--primary-color);
}

@media screen and (min-width: 768px) {
    #header {
        min-height: 60px;
    }

    .logo {
        max-width: 120px;
    }

    #hero.video-section {
        aspect-ratio: 4/1;
    }

    #main {
        min-height: calc(100vh - 260px);
    }

    #footer {
        min-height: 40px;
    }

    #footer .w3-container{
        display: flex;
        gap: 1rem;
        justify-content: space-between;
    }
 
    #footer nav ul {
        display: flex;
        gap: 1rem;
    }
}