/*Grundlegende Styles für Mobilgeräte */

@font-face {
  	font-family: 'Ysabeau';
  	src: url('../fonts/Ysabeau-Regular.woff2') format('woff2'),
       url('../fonts/Ysabeau-Regular.woff') format('woff');
  	font-weight: 400;
  	font-style: normal;
  	font-display: swap;
}

@font-face {
  	font-family: 'Ysabeau';
  	src: url('../fonts/Ysabeau-SemiBold.woff2') format('woff2'),
       url('../fonts/Ysabeau-SemiBold.woff') format('woff');
  	font-weight: 600;
  	font-style: normal;
  	font-display: swap;
}

@font-face {
  	font-family: 'Ysabeau';
  	src: url('../fonts/Ysabeau-ExtraBold.woff2') format('woff2'),
       url('../fonts/Ysabeau-ExtraBold.woff') format('woff');
  	font-weight: 800;
  	font-style: normal;
  	font-display: swap;
}

body {
    font-family: "Ysabeau", sans-serif;  
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

html{
    scroll-behavior: smooth;
}

p{
    margin: 0;
    padding: 0;
    text-align: left;
	font-weight: 400;
}

h1{font-weight: 800};

h2{ font-weight:600;}

h4{margin:0;}

.p-header{
    color:#ED952B;
    font-size: 1.5rem;
}

.p-header2{
    color: #ED952B;
    font-size: 1.2rem;
}

.h1-header{
    color: #cecece;
    margin: 0;
    font-size: 1.5rem;
}

h1{
    font-size: 1.2rem;
    text-align: center;
}

h2{
    font-size: 1.0rem;
    text-align: center;
    font-weight: bold;
}

.hr-header{
    border: 1px solid #cecece;
    width: 350px;
}

.logo-container{
    height: 100vh;      
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.logo-container.visible{
    opacity: 1;
}

.hidden{
    opacity: 0;
}

.logo-container-img {  
    height: auto;
    max-width: 200px;
}

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

.overlay{
    position: fixed;
    top:0;
    right:0;
    display: flex;
    justify-content: center;   
    background-color: transparent; 
    height: 50px;    
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column; 
    background-color: #ED952B;
    height: 100vh;
    color: #000000;    
}

nav ul li {
    padding: 14px 20px;
    text-align: center;
}

nav ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 18px;
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 25px;
    justify-content: space-between;
    margin: 15px;
    position: fixed;
    top: 0;
    right: 15px;
    transition: right 0.5s ease;
}

.hamburger-menu.shifted{
    right: 370px;
}

.hamburger-menu span {
    width: 100%;
    height: 4px;
    background-color: #ED952B;
    transition: all 0.5s ease;
    transform-origin: center;
}

.hamburger-menu.dark span{
    background-color: #000000;
}

.hide-on-scroll {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}


/* Beim aktiven Zustand (X) */
.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg); 
  position: absolute;
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg);
  position: absolute;
}

hr{        
    width: 100%;
    border: 2px solid #000000;
}

#navMenu{
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.0s ease, visibility 1.0s ease;
    width: 350px;
    z-index: 10000;
}

#navMenu.active {
    opacity: 1;
    visibility: visible;
    }

main{
    background-color:#ffffff
}

main p, h2, li{
    color:#535353;
}

header.scrolled {
    background-color: #ED952B;
}

/* Link-Farbe bei Scrollzustand */
header.scrolled nav ul li a {
    color: #000000;
}

/* Smooth transition für Link-Farbe */
nav ul li a {
    transition: color 0.3s ease;
}

.test{
    background-color: #ED952B;
}

hr{        
    width: 100%;
    border: 2px solid #000000;
}

/*Pages*/

.site-title{
    margin-bottom: 24px;
    background-color: #ED952B;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section{
    width: 90%;
    margin: auto;
}

.col{
    margin-bottom: 24px;
}

.col-col{
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    align-items: center;
    justify-content: center;
}

.image-section{
    display: flex;
    justify-content: center;
}

.image-section img{
    width: 80%;
}


.button-col-col{
    display: none;
}

form{
    display: flex;
    flex-direction: column;
    width: 90%;   
    margin-bottom: 16px;     
}

input{
    width: 100%;
    font-size: 1.5em;
    font-family: inherit
}

textarea{
    width: 100%;
    font-size: 1.5em;
    font-family: inherit;
}

.button{
    border: 1px solid #000000;
    background-color: #ED952B;
    width: 30%;
    padding: 8px;
    color: #000000;
    font-family: inherit;
    font-size: 1.2rem;
}



.new_text{
    position:absolute;
    left:-99999px;
}

footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    justify-content: space-evenly;
    text-align: center;
    background-color:#ED952B;
    padding: 20px;
}

.footer-section{
    display: flex;
    flex-direction: column;
    
}

.footer-section a{
    text-decoration: none;
    color: #000000;
    
}

 .space{
        height: 100px;
    }

@media (min-width: 480px) { /* (Tablets im Hochformat) */

.logo-container-img {  
    height: auto;
    max-width: 300px;  
}

.p-header{
    color:#ED952B;
    font-size: 3.0rem;
}

.p-header2{
    color: #ED952B;
    font-size: 1.5rem;
}

.container{
    display: flex;
    flex-direction: column;
    gap: 48px;
    justify-content: center;
    align-items: center;
}

.h1-header{
    color: #cecece;
    margin: 0;
}

.hr-header{
    border: 1px solid #cecece;
    width: 450px;
}

nav ul {
    flex-direction: column; /* Horizontale Ausrichtung für Desktops */
    background-color: #ED952B;
    color: #000000;
    height: 100vh;
}  

nav ul li {
    padding: 14px 30px; /* Mehr Padding für eine bessere Übersicht */
}

nav ul li:hover{
    background-color: #000000;
    color: #ED952B;
}

nav ul li:hover a{
    background-color: #000000;
    color: #ED952B;
}

nav ul li a {
    font-size: 20px;
    color: #000000;        
}
}

@media (min-width: 768px){} /*kleine Laptops / Tablets im Querformat*/

@media (min-width: 1024px){}/*standard-Laptops*/


/*Desktops*/
@media (min-width: 1280px){

    .site-title{
    margin-bottom: 24px;
    background-color: #ED952B;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    }
    
    .col-col{
        display: flex;
        flex-direction: column;        
    }

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

    .image-section img{
        width: 70%;
        max-width: 800px;
    }

    .text-section{
        width: 50%;              
        margin-top: 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .text-section p{
        text-align: justify;
    }

    form{
        width: 70%;
        margin: auto;
    }

    
    .button{
        border: 1px solid #000000;
        background-color: #ED952B;
        width: 30%;
        padding: 8px;
        color: #000000;
        font-family: inherit;
        font-size: 1.2rem;
        }
    

    .button:hover{
        border: 1px solid #ED952B;
        background-color: #000000;
        width: 30%;
        padding: 8px;
        color: #ED952B;
        cursor: pointer;
    }

    .space{
        height: 200px;
    }
    
    footer{
        display: flex;
        flex-direction: row;
        height: 10vh;
        background-color: #ED952B;
        padding: 20px;
        justify-content: space-evenly;
        align-items: center;
    }
    
    .footer-section{
        text-align: justify;
    }
    .footer-section a{
        text-decoration: none;
        color: #000000;
      
        
    }
} 
