/* roboto-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: 'Roboto';
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/roboto-v30-latin-100.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('../fonts/roboto-v30-latin-100.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
  }
  /* roboto-100italic - 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: 'Roboto';
    font-style: italic;
    font-weight: 100;
    src: url('../fonts/roboto-v30-latin-100italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('../fonts/roboto-v30-latin-100italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
  }
  /* roboto-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: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-v30-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('../fonts/roboto-v30-latin-300.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
  }
  /* roboto-300italic - 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: 'Roboto';
    font-style: italic;
    font-weight: 300;
    src: url('../fonts/roboto-v30-latin-300italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('../fonts/roboto-v30-latin-300italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
  }
  /* roboto-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: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
  }
  /* roboto-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: 'Roboto';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('../fonts/roboto-v30-latin-italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
  }
  /* roboto-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: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('../fonts/roboto-v30-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
  }
  /* roboto-700italic - 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: 'Roboto';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('../roboto-v30-latin-700italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
  }


body {
    font-family: 'Roboto'; 
    font-weight: 300;
    font-size: 18px;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

h1 {
    font-family: 'Roboto'; 
    font-weight: 300;
    font-size: 36px;
    margin-bottom: 10px
}

h2 {
    font-family: 'Roboto'; 
    font-weight: 100;
    font-size: 60px;
    margin-bottom: 20px
}

h3 {
    font-family: 'Roboto'; 
    font-weight: 300;
    font-size: 26px;
    margin-bottom: 10px
}

h4 {
    font-family: 'Roboto'; 
    font-weight: 100;
    font-size: 36px;
    margin-bottom: 10px
}

h5 {
    font-family: 'Roboto'; 
    font-weight: 100;
    font-size: 36px;
    margin-left: 5%;
    padding-top: 30px;
    margin-bottom: 30px;
}



@media (max-width: 1220px) {
    body {
        font-size: 17px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 50px;
    }

    h3 {
        font-size: 24px;
    }

    h4 {
        font-size: 32px;
    }

    h5 {
        font-size: 32px;
        margin-left: 5%;
        padding-top: 30px;
        margin-bottom: 30px;
    }


    

}

@media (max-width: 1050px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 29px;
    }

    h2 {
        font-size: 40px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 29px;
    }

    h5 {
        font-size: 29px;
        margin-left: 5%;
        padding-top: 30px;
        margin-bottom: 30px;
    }

}

header {
    background: #e6e6e6;
    color: #fff;
    height: 120px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: padding 0.3s, height 0.3s;
}

header.small {
    height: 60px;
    padding-top: 10px;
}

.container {
    width: 90%;
    margin: auto;
    padding-left: 5%;
    padding-right: 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header__nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header__nav-item {
    margin-right: 38px; 

}

.header__nav-link {
    text-decoration: none;
    font-size: 17px;
    color: #000; 
    transition: color 0.3s, text-decoration 0.3s;
}

.header__nav-link:hover {
    text-decoration: underline; 
}

.header__social-links {
    margin-right: 30px;
}

.header__social-links a {
    display: inline-block;
}

.header__social-links svg {
    width: 100%;
    height: 100%;
}

.header__social-links .social-icon-path {
    transition: fill 0.3s ease;
    fill: rgb(53, 53, 53); 
}

.header__social-links a:hover .social-icon-path {
    fill:rgb(158, 158, 158) 
}


.header__social-links1 {
    margin-right: 30px;
    margin-left: 35px;
}

.header__social-links1 a {
    display: inline-block;
}

.header__social-links1 svg {
    width: 100%;
    height: 100%;
}

.header__social-links1 .social-icon-path {
    transition: fill 0.3s ease;
    fill: rgb(53, 53, 53); 
}

.header__social-links1 a:hover .social-icon-path {
    fill:rgb(158, 158, 158) 
}




.header__logo {
    display: flex; 
    align-items: center; 
    justify-content: flex-end;
}

.header__logo-image {
    max-height: 100px; 
    height: auto; 
    transition: max-height 0.3s; 
}

header.small .header__logo-image {
    max-height: 50px; 
}

/* Header: Desktop */
.header__nav-list {
    display: flex;
    gap: 1.5rem;
}
.menu-toggle {
    display: none;
}

/* Header: Mobile */
@media (max-width: 1169px) {
    .header__nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }
    .header__logo {
        flex: 1;
    }
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 2rem;
        cursor: pointer;
        z-index: 100;
    }
    .header__nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100vw;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        padding: 1rem 0;
        z-index: 99;
    }
    .header__nav-list.open {
        display: flex;
    }
    .header__nav-item {
        margin: 0.5rem 1rem;
    }
.header__social-links-mobile {
    
    padding: 1.5rem 0 0.5rem 0;
    fill: rgb(53, 53, 53); 
}
    .header__social-links-mobile a {
        display: inline-block;
    }
    .header__social-links-mobile svg {
        width: 24px;
        height: 24px;
    }
    .header__social-links-mobile .social-icon-path {
        fill: rgb(53, 53, 53);
        transition: fill 0.3s ease;
    }
    .header__social-links-mobile a:hover .social-icon-path {
        fill: rgb(158, 158, 158);
 

}
    .header__social-links1, .header__social-links {
        display: none; /* Ausblenden der Social Links im Desktop-Header */
    }

    

}

/* Social-Links Desktop */
.header__social-links-desktop {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: 2rem;
}

.mobile-menu-overlay {
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: #e6e6e6;
    z-index: 1000;
    padding-top: 80px;
}

.mobile-menu-overlay.open {
    display: flex;
}

.mobile-menu-overlay .close-menu {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #333;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-overlay .header__nav-list {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    padding-left: 40px;
    margin-bottom: auto;
}

.mobile-menu-overlay .header__nav-item {
    margin: 1.5rem 0;
}

.mobile-menu-overlay .header__nav-link {
    font-size: 1.3rem;
    color: #222;
}

.mobile-menu-overlay .header__social-links-mobile {
    display: flex;
    gap: 2rem;
    justify-content: center;
    width: 100%;
    margin-bottom: 2rem;
    margin-top: 33rem;
    background: none;
    position: static;
}

@media (max-width: 1169px) {

    .menu-toggle { display: block; }
    .mobile-menu-overlay.open{
        display: flex !important;
    }
}






main {
    padding-top: 0;
    margin-top: 120px;
}

.banner {
    position: relative;
    background-image: url('BildNoten.jpg');
    background-size: cover;
    background-position: center;
    height: 400px; 
    margin-bottom: 60px;
}

.banner2 {
    position: relative;
    background-image: url('Technik.JPG');
    background-size: cover;
    background-position: center;
    height: 400px;
    width: 100%;
    text-align: center;
    color: white;
}

.banner3 {
    position: relative;
    background-image: url('Jumu5.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    width: 100%;
    text-align: center;
    color: white;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.801); 
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.banner-content h1 {    
    font-family: 'Roboto';
    font-weight: 100;
    font-size: 50px;
    margin-bottom: 10px;
    color: #161616;
}


.content-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}    

.grau{
    background-color: #e6e6e6;
    padding-bottom: 2px;
    padding-top: 2px;
    width: 100%;
}
.text-inhalt {
    flex: 1;
    max-width: 50%;
    padding-left: 5%;
    padding-right: 5%;
    max-height: 660px;
    
}

.text-breiter {
    flex: 1;
    padding-left: 5%;
    padding-right: 5%;
    max-width: 80%;
}

.text-content {
    flex: 1;
    padding-left: 7%;
    width: 50%;
}

.content__image {
    flex: 1;
    width: 50%;
    height: 660px;
    object-fit: cover;

}

.content-section h2 {
    color: #000;
}


@media (max-width: 950px) {
    .content-section {
        display: flex;
        flex-direction: column;
        
    }
    .content__image {
        order: 1;
        width: 100%;
        height: auto;

    }
    .text-content {
        order: 2;
        width: 100%;
       

    }

    .text-inhalt {
        order: 2;
        width: 100%;
        max-width: 80%;
       padding-bottom: 105px;
       

    }
}

.item-list {
    list-style: none;
    margin-top: 0px;
    margin-bottom: 60px;
    padding: 0;
    width: 100%;
}

.Listenüberschrift{
    width: 100%;
    margin-left: 5%;
}

.item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    width: 100%;
}

.item1 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.item-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin-right: 30px;
}

.item-content {
    display: flex;
    flex-direction: column;
    min-width: 180px;
}

.item-title {
    width: auto;
}

.item-buttons {
    display: inline-flex; /* statt flex → schrumpft auf Inhalt */
    width: fit-content;   /* passt sich automatisch an */
    height: fit-content;
}

@media (max-width: 950px) {
  .item-buttons {
    flex-direction: column;
    margin-bottom: 5px;
    align-items: left;
  }
  
}

@media (max-width: 450px) {
  .item-buttons {
    flex-direction: column;
    margin-bottom: 5px;
    align-items: left;
  }

  .item-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-right: 15px;
    margin-left: 10px;
}
  
}

.button1 {
    background-color: black; 
    color: white; 
    border: 1px solid #000000;
    position: relative;
    top: 30px;
    border-radius: 0; 
    padding: 15px 25px; 
    cursor: pointer; 
    font-family: "Roboto";
    font-weight: 300;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, border 0.3s;
    margin-right: 15px;
    margin-bottom: 15px;

}

.button1:hover {
    border: 1px solid rgb(95, 95, 95);
    background-color: rgb(95, 95, 95); 
}

.button2 {
    background-color: rgba(0, 0, 0, 0); 
    color: rgb(0, 0, 0); 
    border: 1px solid #000000;
    position: relative;
    top: 30px;
    border-radius: 0; 
    padding: 15px 25px; 
    cursor: pointer; 
    font-family: "Roboto";
    font-weight: 300;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    margin-right: 15px;
    margin-bottom: 15px;
}

.button2:hover {
    background-color: rgba(151, 151, 151, 0.5); 
}

footer {
    background: rgb(95, 95, 95);
    color: #fff;
    text-align: center;
    padding: 30px 0;
    font-family: "Roboto";
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer__logo-image {
    max-height: 100px; 
    height: auto; 
    margin-bottom: 20px; 
}

.footer__link {
    color: #fff;
    text-decoration: underline;
    font-size: 16px;
    transition: color 0.3s;
    margin-left: 5px;
    margin-right: 5px;
}

.footer__link:hover {
    color: #bbb; 
}

.footer__copyright {
    margin-top: 20px; 
    font-size: 16px;
}






/* ...existing code... */

/* Standard: Nav-Links ausblenden bei schmalem Bildschirm */
@media (max-width: 1169px) {
    .header__nav-list {
        display: none;
    }
}

/* Overlay-Menü: Nav-Links immer anzeigen, wenn offen */
@media (max-width: 1169px) {
    .mobile-menu-overlay.open .header__nav-list {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        padding-left: 40px;
        margin-bottom: auto;
        background: #e6e6e6 !important; /* gleiche Farbe wie Header */
        box-shadow: none !important;
    }
}

.menu-toggle {
    color: #333; /* z.B. dunkelgrau, passend zum Design */
}

.menu-icon {
    color: #333; /* oder jede gewünschte Farbe */
}


