@import url('https://fonts.googleapis.com/css?family=Raleway:400,800&display=swap');
@import url(normalize.css);
@import url(all.min.css);
@import url(lightbox.min.css);
@import url(flickity.min.css);



* {
  box-sizing: border-box;
}

body {
  color: #111 /* ///#333;/// */
  -webkit-font-smoothing: antialiased;
  font-family: 'Raleway', sans-serif;
}

a {
  text-decoration: none;
}



.innerbox {
  max-width: 940px;
  margin: 0 auto;
  position: relative;
  padding:0 2%;
}





/* /////////  header /////////////////////////////////////////////////////////////////  */

.main_h {
  position: fixed;
  top:0px;
  max-height: 70px; /*die höhe des Logos, damit man alles sehen kann. Also die Höhe des Logos, damit es nicht abgeschnitten wird*/
  overflow: hidden;
  z-index: 999;
  width: 100%;
  padding-top: 17px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  padding-bottom: 6px;
}


.sticky {
  background-color:red /*rgba(255, 255, 255, 0.93); *//*die Hintergrundfarbe des Menüs in Taggle ( v umenshennoj forme Menü knopochka*/
  border-bottom: 1px solid gainsboro;
}


.open-nav { /*das braucht man in den kleinansicht*/
  max-height: 400px !important; /*das ist für die Menüpunkte, damit sie salle sichtbar sind*/
   background-color:rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid gainsboro;
}


.open-nav .mobile-toggle {
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
}

.logo {
  float: left;
}


/* ///////////  navigation ///////////////////////////////////////////////////////////  */

/* Das nav-Element wird nun als flex-container gesetzt */
/* 🧹 Desktop-Navigation – kein display setzen, das macht Probleme auf Mobil */
nav {
  width: 100%;
  background-color: transparent;
}


nav ul {
  list-style: none;
  padding: 0; /* Kein Padding, um den Abstand zu minimieren */
  margin: 0;
  display: flex; /* Flexbox für die horizontale Anordnung der Listenelemente */
  text-align: right; /* Textausrichtung */
}

nav ul li {
  margin-left: 35px;
  line-height: 1.5;
}

nav ul li:first-child {
  margin-left: 0; /* Entferne den Abstand für das erste Element */
}

nav a {
  color: #FFFFFF; /* Weißer Text */
  text-transform: uppercase;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
}

-block;
}


.sticky nav ul a { /*Zustand wenn ich scrolle.Beim scrollen verändern*/
  color:#f00;/*#888;*/
}

.open-nav ul a{ /*die Farbe ändert sich bei dem kleinen Menü, wenn du die Seite verkleinerst*/
	color:#f35;/*#333*/; /*die Schrift der Menü/Anker-Punkte ändern beim ankliken ihre Farbe*/
}



/*
.sticky nav ul a { Zustand wenn ich scrolle. Man kann alles ändern. Beim klicken alles ändern/
  color: #888;
}
*/


.mobile-toggle {
  display: none;
  cursor: pointer;
  font-size: 20px;
  position: absolute;
  right: 22px;
  top: 10px;
  width: 30px;
  -webkit-transition: all 200ms ease-in;
  -moz-transition: all 200ms ease-in;
  transition: all 200ms ease-in;
}

.mobile-toggle span {
  width: 30px;
  height: 4px;
  margin-bottom: 6px;
  border-radius: 1000px;
  background: #8f8f8f; /*die Hintergrundfarbe des Toggle ändert sich hier*/
  display: block;
}





/* /////////////   großbild-bereich ////////////////////////////////*/

.hero { /*Hintergrund Bild*/
  position: relative;
  background: url(../bilder/higru/2.jpg) no-repeat center center;
background-size: cover;
/* center center, oder top, right bottom*/
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  letter-spacing: 2px;
  width:100%;
  height:100vh;
}

.hero .innerbox{
  /*height: 500px;*/
  height:100vh;
  position:relative;
}

.hero h1 { /*die Überschrift*/
	color:#000551;
	position:absolute;
	left:2%;
	top:50%;
	transform: translateY(-50%)
	/*transform:translate(0,-50%);*/
	/*transform:translateY(-50%);*/
	font-size:2.6em;
	font-weight:800;
	line-height:0.7em;
	letter-spacing:4px; /*2*/
	background:#fff;
	background:rgba(255, 255, 255, 0.8); 
	padding:25px;
	
}


.hero h1 span {
    font-size: 0.40em;
    letter-spacing: 7px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em; /* Kleinere Schriftgröße für kleinere Bildschirme */
    }

    .hero h1 span {
        font-size: 1em; /* Kleinere Schriftgröße für das Span auf mobilen Geräten */
    }
}


.mouse {
  display: block;
  margin: 0 auto;
  width: 26px;
  height: 46px;
  border-radius: 13px;
  border: 2px solid #e8f380;
  position: absolute;
  bottom: 40px;
  position: absolute;
  left: 50%;
  margin-left: -26px;
}
.mouse span {
  display: block;
  margin: 6px auto;
  width: 2px;
  height: 2px;
  border-radius: 4px;
  background: #e8f380;
  border: 1px solid transparent;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-name: scroll;
  animation-name: scroll;
}


@-webkit-keyframes scroll {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
}
@keyframes scroll {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
  }
}


/* section allgemein ////////////////  */
section h1{
	color:#222;
	text-align:center;
	font-size:1.7em;
	text-transform: capitalize;
	margin-bottom:1.3em;
}

section h2{
	color:#000;
	font-size:1.1em;
	text-transform: capitalize;
	letter-spacing:2px;
	font-weight:normal;
		margin-bottom:1.3em;

}

section p{
line-height:1.5em;
}

.btn{
	margin-top:1.3em;
    display: inline-block;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
    background: #393939;
    padding: 11px 30px;
    font-size:0.8em;
    letter-spacing: 2px;
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-ms-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
	
}


.btn:hover{
background: #000;
}

.btn.hellgrau{
background: #fff;
background: rgba(255,255,255,1);
color: #393939;		
}

.btn.hellgrau:hover{
background: #ccc;
background: rgba(255,255,255,0.7);
color:#fff;	
}




/* skillbars /////////////////////////////////////// */

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
    color: #777;
    text-transform: capitalize;
    letter-spacing: 2px;
    font-size:0.8em;
}

.progress {
    height: 4px;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #f5f5f5;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}

.progress-bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: #323232;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease;
}


/* what-i-do ////////////////////////////////////////////////*/

#what-i-do{
	background:#6a6a6a; /*#F9F9F9; das ist der Hintergrund von dem ganzen Bereich von what-i-do*/
	text-align:center;
	padding:2%;
	
	
}

#what-i-do h1{
	color:#fff;
	
}

#what-i-do .drittel{
background:#ccc;/*#fff;*/
border:3px solid #eee;
padding:2em 0.625em 1.2em;
margin:1%;

}

#what-i-do .drittel h3{
font-weight: normal;
color: #000;
text-transform: capitalize;
letter-spacing: 2px;
margin-bottom: 1em;

}

.iconbox{
background:#222;
display:inline-block;
width:60px;
height:60px;
border-radius:50%;
padding-top:14px;
}
#what-i-do .drittel:hover .iconbox{
background:#e8f380;
}


.iconbox i{
color:#fff;	
font-size:2em;
}



/* //////////////  team -VIDEO////////////////////////*/

#team{
	text-align:center;
}

#team figure{
margin:0;
}



#team figure img{
width:100%;
 /*-webkit-filter: grayscale(1); (graustufen für Bilder)
  filter: grayscale(1); */
}

.overlay{
		line-height:0;
		position:relative;
}
.overlay-inner{
background:#000;
background:rgba(0,0,0,0.75);
position:absolute;
left:0;
right:0;
top:0;
bottom:0;
opacity:0;
-webkit-transition: all 0.5s ease-out;
-moz-transition: all 0.5s ease-out;
-ms-transition: all 0.5s ease-out;
-o-transition: all 0.5s ease-out;
transition: all 0.5s ease-out;
}

.overlay-inner:hover{
opacity:1;
}



.overlay-content{
width:80%;
color:#fff;
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
}

.overlay-content p{
margin:0
}

/*YOUTUBE*/

.embed {
			position: relative;
			padding-bottom: 56.25%;
			/*16:9*/
			height: 0;
			overflow: hidden;
			max-width: 100%;
	}

	.embed iframe{
			position: absolute; 
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
	}


#team figcaption{
margin-top:0.45em;
}
.wer-bist-du{
	text-transform:uppercase;
	letter-spacing:2px;
}

.was-machst-du{
	font-size:0.9em;
}


/* raster, grid, Gestaltung ////////////  */

.row{
	overflow:hidden;
}

.halbe{
	width:48%;
	margin-right:4%;
	float:left;
}


.drittel{
	width:30.66666%;
	margin-right:4%;
	float:left;	
}

.zweidrittel{
	width:65.332%;
	margin-right:4%;
	float:left;	
}


.halbe:last-child, /*d-h das letzte Element soll kein Abstand haben last child*/
.drittel:last-child,
.zweidrittel:last-child{
	margin-right:0	
}


/* social /////////////////////////////////////////////  */

.social{
list-style-type:none;	
padding:0;
margin-top:1.5em;
}

.social li{
display:inline-block;

}


.social li a{
	color:#fff;
	color:rgba(255,255,255,1);
	margin:0.625em;
	font-size:1.3em;
	-webkit-transition: all 0.5s ease-out;
-moz-transition: all 0.5s ease-out;
-ms-transition: all 0.5s ease-out;
-o-transition: all 0.5s ease-out;
transition: all 0.5s ease-out;
}
.social li a:hover{
	color:#ccc;
	color:rgba(255,255,255,0.5);
}







/* workliste /// PORTFOLIO/////////////////////////////////  */

#work{
	
	background:#6a6a6a;/*Hintergrund der ganzen Fläche*/
}

#work h1{
	color:#fff;
}

#work .innerbox {
  max-width: 100%;
  padding:50px 0 0;
  margin:110px;
  
 
}

/*
#workliste{
list-style-type:none;	
padding:0;
overflow:hidden;
margin-bottom:0;

} */

/* Chatgpt pomenjal*/
#workliste {
  display: flex;
  flex-wrap: wrap; /* Flexbox für Umbruch */
  gap: 20px; /* Abstand zwischen den Bildern */
  padding: 0;
  margin: 0;  /* Abstand zwischen den Bildern */
}

#workliste li {
  width: calc(25% - 20px); /* 4 Bilder nebeneinander */
  margin-bottom: 20px; /* Abstand nach unten */
  position: relative; /* Positionierung für figcaption */
  height: 250px; /* Einheitliche Höhe für alle Bilder */
 overflow: hidden; /* Verhindert Überlauf */
 display: flex;
  justify-content: center; /* Zentriert das Bild horizontal */
  align-items: center; /* Zentriert das Bild vertikal */
 /*object-fit: contain;  Bilder füllen den Container, ohne abgeschnitten zu werden */
}



}
#workliste li img {
  width: 100%;
  height: 100%; /* Höhe ebenfalls 100% des li */
  object-fit: contain; /* Bilder füllen den Container ohne Verzerrung cover */
}





/* Allgemiene Verbesserung des Layout Portfolio Bilder*/

/*
#workliste {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 Bilder nebeneinander 
  gap: 20px;
} 

#workliste li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Das war davor
#workliste li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


#workliste figure{
margin:0;
position:relative;
line-height:0;

} */

/* WAS VOR CHATGPT WAR */
/* #workliste figcaption{
background:#000;
background:rgba(0,0,0,0.75);
line-height:1em; /*Zeilenhöhe bzw Zeilenabstand 1.5em
position:absolute;
top:0;
bottom:0;
left:0;
right:0;
opacity:0;
-webkit-transition: all 0.5s ease-out;
-moz-transition: all 0.5s ease-out;
-ms-transition: all 0.5s ease-out;
-o-transition: all 0.5s ease-out;
transition: all 0.5s ease-out;

} */

#workliste figcaption {
  background: rgba(0, 0, 0, 0.75);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0; /* Startzustand unsichtbar */
  transition: opacity 0.5s ease-out;
  pointer-events: none; /* Verhindert, dass figcaption interaktiv ist, bis der Hover aktiviert wird */
  display: flex; /*ab da neu */
  align-items: center;
  justify-content: center;
}

/*CHatGPT pomenjal esli chto uberi eto i ostav verxnuju*/

#workliste li:hover figcaption {
  opacity: 1; /* Wird sichtbar, wenn das Bild im Hover-Zustand ist */
  pointer-events: auto; /* Ermöglicht Interaktion mit figcaption im Hover-Zustand */
}



 .figcaption-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%; /* sorgt dafür, dass die Box innerhalb des Bildes bleibt */
} 



.figcaption-box .kategorie {
  background: #fff;
  color: #000;
  display: block;
  padding: 0.3em 0.625em;
  margin-bottom: 0.3em;
  letter-spacing: 3px;
  transform: translate(0, -30px);
  opacity: 0;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
} 


.figcaption-box .projekt {
  color: #fff;
  display: inline-block;
  transform: translate(0, 30px);
  opacity: 0;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none; /* Standardmäßig ausgeblendet */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.lightbox-modal img {
  max-width: 90%;
  max-height: 90%;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 2rem;
  cursor: pointer;
}

#workliste li:hover figcaption .figcaption-box .kategorie {
  transform: translate(0, 0);
  opacity: 1;
}

#workliste li:hover figcaption .figcaption-box .projekt {
  transform: translate(0, 0);
  opacity: 1;
}
/*Media Queries Responsiv für Bilder PORTFOLIO*/

@media (max-width: 1200px) {
  #workliste li {
    width: calc(33.33% - 20px); /* 3 Bilder nebeneinander auf größeren Bildschirmen */
  }
}

@media (max-width: 800px) {
  #workliste li {
    width: calc(50% - 20px); /* 2 Bilder nebeneinander auf mittelgroßen Bildschirmen */
  }
}

@media (max-width: 500px) {
  #workliste li {
    width: 100%; /* 1 Bild pro Zeile auf kleinen Bildschirmen */
  }
}
/* Responsiv Bilder Portfolio Ende*/


/*ANIMATION///////////*/


#animation{
  background: #6a6a6a;
  width:360%;
  height:215%;
  list-style-type:none;
  overflow:hidden;
  padding:0;
 /* margin-bottom:0; */
  

}



#animation h1{
	color: #fff;
	text-align:center;
	



}
	


#animation .innerbox {
	padding:30px;
	/*padding:30px 0 0;*/
	margin:1em 20em; /*Das hat den Inhalt Zentriert*/
	font-size:1.5em;

		

}


    
}

.box {
     float:none;/*left;*/
     width:100%; /*30%;*/
     margin:0 0 2% 0;/*margin-right: 41.33333%;*/
     padding: 10px;
    box-sizing: border-box;
    
	/*border-bottom:1px solid #eee;*/

}


.box1, .box2, .box3, .box4, .box5 {
     float:left;
     width:45%; 
    margin:3%; 
     padding:20px;
   margin-right:0;

}






.box5:last-child{
	
     margin-right:2% 2%;
}
  






/*////////////////////////////Animation Ende ///////////*/










  
/*Kontaktformular ////////////////////////////////////  */
#kontaktformular{

}

#kontaktformular label{
	/*background:#f00;*/
	width:30%;
	display:inline-block;
	vertical-align:top;
}



address{
background:#C0C0C0;/*#6DB240;*/ /*Hintergrundfarbe, wo die Adresse steht*/	
padding:2% 1%;/*0.85em;*/	
font-style:normal;	
color:#000;
text-align:left;
margin-top:6.2em; /* den Abstand zum oberen Rand des  Elternelements. Jetzt ist die Adresse in gleicher höhe wie Kontaktformular*/

line-height:1.6em; /* Zeilenabstand*/

}
	




#kontaktformular input[type="text"],
#kontaktformular input[type="email"],
#kontaktformular textarea{
	border:2px solid #eee;	
	background:#f9f9f9;
	padding:1em;
	/*text-transform:capitalize;*/
	margin:1%;
	float:left;

}


#kontaktformular textarea{
margin-top:0.76em;/*1.3em;*/
width:100%;
height:250px;
}

#kontaktformular  input[type="submit"]{
border:0;
margin:1%;

}

/* ////////////////// testimonial carousel //////////////////  */

/*.main-gallery{
	background:#f9f9f9;
	
}*/



/* scroll-to-top //////////////////////////////////////////////  */

#scroll-to-top{
	display:none;
	color:#fff;
	background:#f90;
	font-size:3em;
	width:50px;
	height:50px;
	position:fixed;
	right:20px;
	bottom:20px;
	z-index:9999;
	text-align:center;
	opacity:1;
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-ms-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
}

#scroll-to-top:hover{
opacity:0.6
}




.impressum{
	padding:14% 10%;
	text-align:center;
	background:#e0e0e0;
}



.datenschutz{
	padding:14% 10%;
	text-align:center;
	background:#e0e0e0;
}

/* /////////////////// footer // zum floaten braucht man immer eine row!!///////////  */

footer{
/*text-align:center;*/
background:#222;
padding:1.25em;

}

/*footer nav///////////////////*/


ul#footernav{
float:right;
list-style-type:none;		

}

ul#footernav li{
/*display:inline; tak bilo do etogo*/
display:none	

}

ul#footernav li a{
color:#F5FFFA;
color:rgba(245,255,250,1);
text-transform:uppercase;/*Großbuchstaben*/
-webkit-transition: all 0.5s ease-in-out ;
-moz-transition: all 0.5s ease-in-out;
-ms-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
margin-left:5px;
font-size:0.90em;
}

ul#footernav li a:hover{
color:#fff;
color:rgba(255,255,255,1);
}






ul#social{	
float:left;
list-style-type:none;
padding:0; /*so habe ich die sozial media icons nach links verschoben,damit die zu Submit" bündig sind*/

}

ul#social li{
display:inline;


}

ul#social li a{
color:#fff;/*Fallback für ältere Browser, welche css3-Eigenschaft rgba nicht verstehen*/
color:rgba(255,255,255,0.6);

-webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
-ms-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
margin-right:20px;
font-size:1.2em;

}

ul#social li a:hover{
color:#ccc;
color:rgba(255,255,255,1);
}










/*footer nav/////////////*/







/* 1 Breakpoint bis 1200px  Mediagueri also ab  da wird es anders sein////////////////////////////////////////*/

@media only screen and (max-width: 1200px) {


		.hero {
  background: url(../bilder/higru/2.jpg) no-repeat center center fixed; /*center fixed. Wenn es "center scroll" steht, dann kannst du auf iPhone Geräten das Hintergrund Bild sehen*/
		  -webkit-background-size: cover;
		  -moz-background-size: cover;
		  background-size: cover;
		  width:100%;
		  height:100vh;
		}
		
		/*////WORKLISTE-GALERIE////*/
					
					#workliste{
						padding:0 2%;
					}
					
						#workliste li{ 
						width:49%;/*die Bilder sind dann hier größer und sind 2 Spaltig*/
						margin:0 2% 2% 0;
						border:1px solid #eee;
						padding:0.625em;
						}
					
					#workliste li:nth-child(2n){
						margin:0 0 2% 0;
						/*margin-right: 2%*/
					}
										
										
					
					#workliste figcaption{
					background:none;
					position:static;/*es soll so sein wie sie immer ist heißt static*/
					opacity:1;
					padding-top:0.625em;
					}

				
					.figcaption-box{
					position:static; /*der Inhalt ist jett auch static*/
					transform:translate(0,0); /*alles was wir hier oben verschoben haben bei translate ( z b 0, 30px) muss hier jetzt alles auf 0 gesetzt werden*/
				
					}

					.figcaption-box .kategorie {
					transform:translate(0,0);
					opacity:1;
					margin:0;
					padding:0;
					
					}

					.figcaption-box .projekt {
					color:#f90;
					transform:translate(0,0);
					opacity:1;
					padding:0;
			
			}



/*ANIMATION */


#animation{
  background: #6a6a6a;
}


#animation {
  padding: 0 0;
position:static;/*es soll so sein wie sie immer ist heißt static*/
					/*opacity:1;*/
					
}

#animation h1{
	color: #fff;
	
}


#animation .innerbox {
 background:none;
padding-top:0.625em;
 margin:2px;

}

#animation div{
top:100%;
float:left;
	
}
  
  
#aliste{
	list-style-type:none;	
/*padding:0;*/
overflow:hidden;
margin-bottom:2px;
}

#aliste video{
width:40%;
 padding:0.625em;
  margin:5px; /*rasstojanie mezhdu video*/
  border:1px solid #eee;

						
						
}
/* ANIMATION ENDE KLEIN*/















/*DATENSCHUTZ//////////////////*/

.datenschutz{
font-size:1em;
}

/*footernav 1200px*/

ul#footernav{
float:right;
list-style-type:none;		

}

ul#footernav li{
display:inline;	

}

ul#footernav li a{
color:#F5FFFA;
color:rgba(245,255,250,1);
text-transform:uppercase;/*Großbuchstaben*/
-webkit-transition: all 0.5s ease-in-out ;
-moz-transition: all 0.5s ease-in-out;
-ms-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
margin-left:3px;
font-size:0.90em;
}

ul#footernav li a:hover{
color:#fff;
color:rgba(255,255,255,1);
}






ul#social{	
float:left;
list-style-type:none;
}

ul#social li{
display:inline;

}

ul#social li a{
color:#fff;/*Fallback für ältere Browser, welche css3-Eigenschaft rgba nicht verstehen*/
color:rgba(255,255,255,0.6);

-webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
-ms-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
margin-right:20px;
font-size:1.2em;
}

ul#social li a:hover{
color:#ccc;
color:rgba(255,255,255,1);
}

}/* Ende  Breakpoint bix 1200px ////////////////////////////////////////*/










/* 1 Breakpoint bis 766px  Mediagueri also ab  da wird es anders sein////////////////////////////////////////*/
	
	
		/* ✅ NEU: Mobile Navigation verbessert */
@media only screen and (max-width: 766px) {
  
  #workliste li {
  height: auto;
}

  .main_h {
    padding-top: 25px;
    background-color: rgba(255,255,255,0.95); /* leicht transparentes Weiß */
    border-bottom: 1px solid #ddd;
  }

  .logo {
    float: none;
    text-align: center;
    display: block;
    margin-bottom: 10px;
  }

  .mobile-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 9999;
  }

  .mobile-toggle span {
    display: block;
    width: 100%;
    height: 4px;
    background: #000;
    margin: 6px 0;
    transition: all 0.3s ease;
  }
  /* ✅ Navigation zeigen, wenn Menü geöffnet ist */
.open-nav nav {
  display: block;
  max-height: 500px;
}

nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

  
/* ⭐️ ANIMATION: Mobile Menü sichtbar mit sanftem Effekt */

 /* ✅ MOBILE-NAVIGATION mit Slide-Animation */
 /* ⭐️ WICHTIG: Kein display: none! */
nav {
  position: relative;
  z-index: 1001;
  background: rgba(255,255,255,0.95);
  width: 100%;
  padding-top: 10px;
  text-align: center;

  /* nur diese beiden regeln steuern die Animation */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;

  /* ❌ Entferne: display: none; */
}


/* Menü öffnen */
.open-nav nav {
  display: block; /* ❗️Diese Zeile ist wichtig! */
  max-height: 500px;
}



/* Menüstruktur */
nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

nav ul li {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  width: 100%;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.open-nav nav ul li {
  opacity: 1;
  transform: translateY(0);
}

/* Staffelte Animation der einzelnen Menüpunkte */
.open-nav nav ul li:nth-child(1) { transition-delay: 0.1s; }
.open-nav nav ul li:nth-child(2) { transition-delay: 0.2s; }
.open-nav nav ul li:nth-child(3) { transition-delay: 0.3s; }
.open-nav nav ul li:nth-child(4) { transition-delay: 0.4s; }
.open-nav nav ul li:nth-child(5) { transition-delay: 0.5s; }
.open-nav nav ul li:nth-child(6) { transition-delay: 0.6s; }

nav ul li a {
  color: #111;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: bold;
  display: block;
}


/* Wenn .open-nav aktiv ist → max-height groß genug für das Menü */
.open-nav nav {
  max-height: 500px; /* reicht für ca. 7 Menüpunkte */
}

/* Menüpunkte einzeln animieren */
nav ul li {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

/* Wenn Menü offen ist, zeige die Punkte nacheinander */
.open-nav nav ul li {
  opacity: 1;
  transform: translateY(0);
}

/* Staffelte Animation pro Menüpunkt */
.open-nav nav ul li:nth-child(1) { transition-delay: 0.1s; }
.open-nav nav ul li:nth-child(2) { transition-delay: 0.2s; }
.open-nav nav ul li:nth-child(3) { transition-delay: 0.3s; }
.open-nav nav ul li:nth-child(4) { transition-delay: 0.4s; }
.open-nav nav ul li:nth-child(5) { transition-delay: 0.5s; }
.open-nav nav ul li:nth-child(6) { transition-delay: 0.6s; }
/* 🔚 ENDE Animation Menü */

}
/* 🔚 NEU ENDE */



 
 /*DATENSCHUTZ//////////////////*/

.datenschutz{
font-size:0.76em;
}
 
 
ul#footernav{
float:right;
list-style-type:none;		

}

ul#footernav li{
display:inline;	

}

ul#footernav li a{
color:#F5FFFA;
color:rgba(245,255,250,1);
text-transform:uppercase;/*Großbuchstaben*/
margin-left:1px;
font-size:0.70em;
}

ul#footernav li a:hover{
color:#fff;
color:rgba(255,255,255,1);
}






ul#social{	
float:left;
list-style-type:none;
}

ul#social li{
display:inline;

}

ul#social li a{
color:#fff;/*Fallback für ältere Browser, welche css3-Eigenschaft rgba nicht verstehen*/
color:rgba(255,255,255,0.6);
margin-right:10px;
font-size:0.90em;
}

ul#social li a:hover{
color:#ccc;
color:rgba(255,255,255,1);
}
 
 /*Anpassungen am Raster. Es Muss innerhalb der Mediagueri sein*/
 
 
.halbe,.drittel,.zweidrittel{
	width:100%;
	margin-right:0%;
	float:none; /*wenn ein Float schon da ist siehe oben dann braucht man hier kein Float mehr*/
}

.halbe:first-child,
.drittel{/*bei drittel "What I do" der Abstand*/
	margin-bottom:1.3em; /*der erste-vordere  Abstand darum fist child*/
	
	
}

#about .halbe:last-child{/*der letzt Abstand darum last child About*/
	margin-top:4em;
}
 
 
/*
#what-i-do .drittel{ / der Text beibt 100% breit aber der Inhalt (drittel) ändert sich/
	 padding-left:0 15%;/oben und unten 0 rechts und links 15%/
	 padding-left:15%;
	 padding-right:15%; -das ist so eine Option
 }*/
 
 
 
 
/* //////////////  team ////////////////////////*/

/*TEAM Oben lässt du wie es ist und hier kopierst du von oben von Team die Sachen und hier änderst du für Mobile Ansicht*/

.overlay-inner{
left:50%; /*der hover der schwarzer Vordergrund auf dem Fotos wird jetzt 50% bei Kleinansicht. Also die Helfte ist das Foto und andere Helfte schwarzer Vordergrund mit info*/
opacity:1; /*Sichtbarkeit*/
/*alles andere verwerfen,weil es greift von oben schon*/
}

		


}/* Ende  Breakpoint bix 766px ////////////////////////////////////////*/








/* 1 Breakpoint bis 420px  Mediagueri ////////////////////////////////////////*/

@media only screen and (max-width: 420px) {

	

.hero h1 {
	background:#fff;
	background:rgba(255, 255, 255, 0.8); /*Hintergrund transparent unter der Überschrift Antony Jordan*/
	padding:0.625em;
	/*top:50%;Position*/
	width:96%;
	text-align:center;
	font-size:1.8em;
	line-height:0.8em; /* der Name "Antony Jordan" wird jetzt nicht überlappend sein*/
	
}


.hero h1 span {
	font-size:0.35em;
	letter-spacing:1px;
	
}
	/*team////*/

	.overlay-inner{
	left:0; 
	top:50%; 
	}

/*workliste-galerie////*/
#workliste li{
	width:100%;
	margin:0 0 2% 0;
	/*margin-right 0*/
	float:none;

}
/*DATENSCHUTZ//////////////////*/

.datenschutz{
min-width:8pt;

}

/*mediagueri*/

ul#footernav{
/*float:right;*/
list-style-type:none;		

}

ul#footernav li{
display:inline;	

}

ul#footernav li a{
color:#F5FFFA;
color:rgba(245,255,250,1);
text-transform:uppercase;/*Großbuchstaben*/
margin-left:1px;
font-size:0.60em;
}

ul#footernav li a:hover{
color:#fff;
color:rgba(255,255,255,1);
}






ul#social{	
/*float:left;*/
list-style-type:none;
}

ul#social li{
display:inline;

}

ul#social li a{
color:#fff;/*Fallback für ältere Browser, welche css3-Eigenschaft rgba nicht verstehen*/
color:rgba(255,255,255,0.6);
margin-right:8px;
font-size:0.70em;
}

ul#social li a:hover{
color:#ccc;
color:rgba(255,255,255,1);
}


/*Du kannst diese Lösung auch oben bei 766px von hier ausschneiden und da einfügen. Kannst machen wie du willst. Das sind alle nur variationen, bei verschidenen Ansichten*/

}/* Ende  Breakpoint bix 420px ////////////////////////////////////////*/












