*
{margin: 0 ;
padding: 0;
text-decoration:  none;
color:#ffffff;
flex-wrap: wrap;
box-sizing: border-box;
scroll-behavior: smooth;
}
/*-----------------------body*/

body {
    background-image: url("images/textur-web.jpg"); /* Pfad zum Bild anpassen */
    background-size: 100%; /* Passt das Bild an die Bildschirmgröße an */
    background-position: fixed; /* Zentriert das Bild */
	font-family: "Special Elite", sans-serif; /* Gibt Fließtext Elite*/
	font-size: 24px;
	text-align: center;
}


.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  padding: 20px;
  justify-items: center; /* Centers items horizontally in their grid cell */
  max-width: 1600px;
  margin: 0 auto; /* Centers the entire gallery */
}

.gallery img, .gallery video {
  width: 100%;
  max-width: 500px; /* Larger max-width for images */
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 25px;
  margin: 0 auto; /* Center images */
  transition: transform 0.3s ease;
}

.gallery img:hover {
	transform: scale(1.25);
}

.gallery p {
  max-width: 500px; /* Match the image width */
  margin: 0 auto; /* Center text */
  padding: 15px 10px;
}

/* Center the main content */
.col-80 {
  margin: 0 auto;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .gallery img, .gallery video {
    max-width: 450px;
  }
}

@media (max-width: 767px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
  }
  
  .gallery img, .gallery video {
    max-width: 350px;
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr; /* Single column on very small screens */
  }
  
  .gallery img, .gallery video {
    max-width: 300px;
  }
}

.zeugs img{
		transition: transform 0.3s ease;
}

.zeugs img:hover {
	transform: scale(2);
}


/*-----------------------main*/
main{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 40px 40px 40px;
	margin-top: -20px;	
}

.zab {line-height: 36px;
}

h1{font-family: "YouMurderer BB"; line-height: 48px;
}

/*h4{cursor: url("images/pommesgabel-cursor-48.png") 48 4, auto;}*/

.fs18{ 
	font-size: 20px;
}

.linksbundig{
	text-align: left;
}

.rechtsbundig{
	text-align: right;
}

/*-----------------------------Grid-System*/

.row{
	display:flex;
}

.row + .row{ 
	margin-top: 60px;
}

.full{ 
	margin: 0 -15px;
}

.small{ 
	max-width: 1200px;
	padding: 0 25px;
	margin: auto;
}

.extrasmall{
	margin: 0 -70px;
}


.extrasmall img { 
	width: 100%; /* 100% der Container-Breite */
	max-width: 100%; 
 	height: auto;
}

.medium{
	padding: 0 25px;
}

.medium img {
 	width: 100%; /* 100% der Container-Breite */
	max-width: 100%; 
 	height: auto;
}






.rund img{
	border-radius: 25px;
}

.col-40{ 
	width: 40%;
	padding: 0 15px;
}
.col-50{
	width: 50%;
	padding: 0 15px;
}

.col-5{
	width: 5%;
	padding: 0 15px;
}

.col-10{
	width: 10%;
	padding: 0 15px;
}
.col-20{
	width: 18%;
	padding: 0 15px;
}

.col-25{
	width: 25%;
	padding: 0 15px;
}

.col-30{
	width: 30%;
	padding: 0 15px;
	margin: 15px;
}
.col-80{
	width: 80%;
	padding: 0 15px;
}

.mittig{transform: scale(0.6);
}

.hoch{ 
	margin-top: -25px
}

.runter{ 
	margin-top: 50px;
}

.links{
	margin-left: 40px;
}


/*-----------------------------Header */

header{
	display: flex;
	justify-content:  space-between;
	align-items: center;
	padding:  40px; 
}

header nav ul{ 
	display: flex;
	list-style:none;
}

header nav ul li{
	font-family: 'YouMurderer BB', sans-serif;
	font-size:30px;
	margin-left:45px;
	text-transform: uppercase;
	font-weight: 300;
	
}

header nav ul li a:hover{
	color: #ff822f;
}

header nav ul li a.active{
	color:#008400;
}

header img {
    width: 250px; /* Oder eine andere gewünschte Größe */
	height: auto;
	margin-bottom: 100px;
}


header nav {
    align-self: flex-start; /*lässt sich zusammen schieben*/
}


header {
    background-image: url("images/header-hintergrund.png"); /* Pfad zur Grafik anpassen */
    background-size: cover; /* Passt das Bild an die Header-Größe an */
    background-position: center; /* Zentriert das Bild */
    background-repeat: no-repeat; /* Verhindert Wiederholungen */
	min-height: 150px;
}

/*------------------*Body*/
.runter{
	margin-bottom: 4%;
}


/*-----------------------------------------------------Formular*/

form{
	box-shadow: 0 0 40px #00000011;
	padding: 40px;
	border-radius: 25px;
	border: 3px solid #eee;
	display: flex;
	justify-content: space-between;
	margin:20px 20px;

}

form input{
	width: 48%;
	padding: 20px;
	font-size: 25px;
	font-weight: 300;
	border: 3px solid #eee;
	margin-bottom: 4%;
	background-color: transparent;
	color: white;
	border-radius: 25px;
}


form textarea {
  width: 100%;
  padding: 20px;
  font-size: 25px;
  font-weight: 300;
  border: 3px solid #eee;
  margin-bottom: 4%;
  color: white;
  height: 250px; /* Beispielhafte Höhe in Pixeln */
	border-radius: 25px;
	background-color: transparent;
}

form .button{
	color: white;
	border-color: #eee;
	margin-bottom: 0;
	border-radius: 25px;
	background-color: transparent;
	font-size: 25px;
}

form .button:hover{
	background-color: #ff822f;
	 cursor: url("images/pommesgabel-cursor-48.png") 38 4, auto; 
}

/*------------------*farben*/

.gruen{ 
	color: #00873a;
}

.orange{
	color: #ff822f;
}




/*---------------------------footer*/

footer {
    padding: 20px;
    text-align: center;
  }
  
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-content a {
    color: white;
    text-decoration: none;
    margin: 10px 0;
  }
  
  .footer-content a:hover {
    color: #ff822f;
  }







/*------------------*Social Media*/

#scroll-to-top{
	font-size: 35px;
	position: fixed;
	right:20px;
	top: 70%;
	background-color: #008400;
	padding: 7px 10px;
	color: white;
	transition: 0.3s;
	box-shadow: 0 0 40px #00000022;
	border-radius: 10px;
	z-index: 2;
}

#scroll-to-top:hover{
	color: #ff822f; 
	/*transform: scale(1.1);*/ 
}

#right-fixed{
	font-size: 40px;
	position: fixed;
	right: 0;
	top: 25%;
	z-index: 1;
}

.fb{
	
	position: fixed;
	right:-15px ;
	top: 55%;
	transform: scale(0.4);
	z-index: 2;
}


.insta{
	position: fixed;
	right:-15px ;
	top: 45%;
	transform: scale(0.4);
	z-index: 2;
}

.footer-schwarz{ 
	font-size: 40px;
	position: static;
	right: 0;
	bottom: 20px;
	z-index: 1;
}	

a, a:hover {
 cursor: url("images/pommesgabel-cursor-48.png") 38 4, auto !important;
}

/*---------------------------------*Karussel*/


.focus-carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: auto;
  padding: 40px 0;
}

.carousel-track {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: transform 0.5s ease-in-out;
  min-height: 500px;
  position: relative;
}

.carousel-slide {
  position: absolute;
  transition: all 0.5s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  left: 50%;
  max-width: 400px;
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  border-radius: 20px; 
  /* Box-shadow entfernt */
  transition: all 0.5s ease;
}

/* Desktop View (3 images visible) */
@media (min-width: 992px) {
  .carousel-slide.active {
    opacity: 1;
    z-index: 5;
    transform: translateX(-50%) scale(1.3);
    pointer-events: auto;
  }

  .carousel-slide.prev {
    opacity: 0.7;
    z-index: 4;
    transform: translateX(-150%) scale(0.9);
    pointer-events: auto;
  }

  .carousel-slide.next {
    opacity: 0.7;
    z-index: 4;
    transform: translateX(50%) scale(0.9);
    pointer-events: auto;
  }
  
  .carousel-slide.far-prev {
    opacity: 0.4;
    z-index: 3;
    transform: translateX(-225%) scale(0.7);
  }
  
  .carousel-slide.far-next {
    opacity: 0.4;
    z-index: 3;
    transform: translateX(125%) scale(0.7);
  }
}

/* Tablet View */
@media (max-width: 991px) and (min-width: 768px) {
   .carousel-track {
    min-height: 450px; /* Increased from 350px */
  }
  
  .carousel-slide {
    max-width: 350px; /* Increased from 250px */
  }
  
  .carousel-slide.active {
    opacity: 1;
    z-index: 5;
    transform: translateX(-50%) scale(1.2); /* Increased from 1.1 */
    pointer-events: auto;
  }

  .carousel-slide.prev {
    opacity: 0.6;
    z-index: 4;
    transform: translateX(-140%) scale(0.9); /* Increased from 0.8 */
    pointer-events: auto;
  }

  .carousel-slide.next {
    opacity: 0.6;
    z-index: 4;
    transform: translateX(40%) scale(0.9); /* Increased from 0.8 */
    pointer-events: auto;
  }
}

/* Mobile View */
@media (max-width: 767px) {
  .carousel-track {
    min-height: 380px; /* Zurück zu einem funktionierenden Wert */
  }
  
  .carousel-slide {
    max-width: 320px; /* Etwas größer als Original, aber sicher */
  }
  
  .carousel-slide.active {
    opacity: 1;
    z-index: 5;
    transform: translateX(-50%) scale(1.1);
    pointer-events: auto;
  }

  .carousel-slide.prev {
    opacity: 0.5;
    z-index: 4;
    transform: translateX(-110%) scale(0.8);
  }

  .carousel-slide.next {
    opacity: 0.5;
    z-index: 4;
    transform: translateX(10%) scale(0.8);
  }
  
  .carousel-slide.far-prev,
  .carousel-slide.far-next {
    display: none;
  }
}

/* Small Mobile Screens */
@media (max-width: 480px) {
  .carousel-track {
    min-height: 400px;
  }
  
  .carousel-slide {
    max-width: 350px; /* Nur leicht erhöht */
  }
  
  .carousel-slide.active {
    transform: translateX(-50%) scale(2);
  }
  
  .carousel-slide.prev {
    opacity: 0.4;
    transform: translateX(-100%) scale(1.5);
  }
  
  .carousel-slide.next {
    opacity: 0.4;
    transform: translateX(0%) scale(1.5);
  }
}

.carousel-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 50px;
  font-family: "YouMurderer BB", sans-serif;
  user-select: none;
  transition: color 0.3s ease;
  z-index: 10;
  margin: 70px 15px;
  cursor: url("images/pommesgabel-cursor-48.png") 38 4, auto;
}

.carousel-btn:hover {
  color: #ff822f;
	
}

/*----------------------------*FC News*/

.fanclub-treffen {
  background-color: tranparent;
  color: #f2f2f2;
  padding: 40px 20px;
  border-top: 2px solid #ff822f;
  font-family: 'Special Elite', sans-serif;
}

.fanclub-treffen .content {
  max-width: 800px;
  margin: 0 auto;
}

.fanclub-treffen h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: white;
}

.fanclub-treffen ul {
  list-style: none;
  padding: 0;
}

.fanclub-treffen li {
  margin-bottom: 30px;
  position: relative;
  padding-left: 20px;
}

.fanclub-treffen li::before {
  content: "☘";
  position: absolute;
  left: 0;
}

.fanclub-treffen p {
  margin-top: 20px;
  font-size: 1.1rem;
}





.pommes:hover{
	 cursor: url("images/pommesgabel-cursor-48.png") 38 4, auto;
}

/*----------------------------------------------------Responsiv*/

@media (max-width: 1200px){

.col-40{ 
	width: 60%;
	padding: 0 15px;
}
.col-50{
	width: 75%;
	padding: 0 15px;
}

.col-5{
	width: 5%;
	padding: 0 15px;
}

.col-10{
	width: 10%;
	padding: 0 15px;
}
.col-20{
	width: 36%;
	padding: 0 15px;
}

.col-25{
	width: 50%;
	padding: 0 15px;
}

.col-30{
	width: 45%;
	padding: 0 15px;
	margin: 15px;
}
.col-80{
	width: 80%;
	padding: 0 15px;
}
/*-----------------------------Header */

header{
	display: flex;
	justify-content:  space-between;
	align-items: center;
	padding:  40px; 
}

header nav ul{ 
	display: flex;
	list-style:none;
}

header nav ul li{
	font-family: 'YouMurderer BB', sans-serif;
	font-size:20px;
	margin-left:30px;
	text-transform: uppercase;
	font-weight: 300;
	}
	
header img {
    width: 200px; /* Oder eine andere gewünschte Größe */
	height: auto;
	margin-bottom: 100px;
}
}

@media (max-width: 767px){

.col-40{ 
	width: 80%;
	padding: 0 15px;
}
.col-50{
	width: 80%;
	padding: 0 15px;
}

.col-5{
	width: 5%;
	padding: 0 15px;
}

.col-10{
	width: 10%;
	padding: 0 15px;
}
.col-20{
	width: 50%;
	padding: 0 15px;
}

.col-25{
	width: 80%;
	padding: 0 15px;
}

.col-30{
	width: 80%;
	padding: 0 15px;
	margin: 15px;
}
.col-80{
	width: 80%;
	padding: 0 15px;
}
/*-----------------------------Header */

header{
	display: flex;
	justify-content:  space-between;
	align-items: center;
	padding:  20px; 
}

header nav ul{ 
	display: block;
	list-style:none;
}

header nav ul li{
	font-family: 'YouMurderer BB', sans-serif;
	font-size:20px;
	margin-left:30px;
	text-transform: uppercase;
	font-weight: 300;
}
header img {
    width: 150px; /* Oder eine andere gewünschte Größe */
	height: auto;
	margin-bottom: 100px;
}
}

/*--------------------------------------------------Responsiv social*/

/* Keep desktop view as is */
@media (min-width: 1201px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding: 20px;
    padding-right: 60px; /* Add extra padding on the right to avoid fixed elements */
  }
}

/* Tablet view adjustments */
@media (max-width: 1200px) and (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    padding: 15px;
    padding-right: 80px; /* More right padding to avoid buttons */
    margin-right: 20px;
  }
  
  .gallery img, .gallery video {
    max-width: 300px; /* Slightly smaller images */
  }
  
  /* Center the content more to the left */
  .medium {
    padding: 0 15px 0 25px;
  }
  
  .col-80 {
    width: 85%;
    padding-right: 60px; /* Add padding to avoid fixed elements */
  }
}

/* Mobile view adjustments */
@media (max-width: 767px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    padding: 10px;
    padding-right: 60px; /* Extra padding to avoid the fixed elements */
    margin-right: 15px;
  }
  
  .gallery img, .gallery video {
    max-width: 200px; /* Much smaller images for mobile */
    border-radius: 15px; /* Slightly smaller rounded corners */
  }
  
  .gallery p {
    font-size: 18px; /* Smaller text on mobile */
    line-height: 1.4;
  }
  
  /* Adjust main padding to shift everything slightly left */
  main {
    padding: 0px 20px 40px 30px;
  }
  
  /* Move content further left on mobile */
  .col-80 {
    width: 90%;
    padding-right: 50px; /* Add padding to avoid fixed elements */
  }
  
  /* Disable the hover scale effect on mobile */
  .gallery img:hover {
    transform: none;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    padding: 8px;
    padding-right: 50px;
  }
  
  .gallery img, .gallery video {
    max-width: 160px;
    border-radius: 12px;
  }
  
  /* Further reduce right side padding */
  main {
    padding: 0px 15px 30px 20px;
  }
  
  /* Make social elements more compact */
  #right-fixed {
    width: 50px !important;
    top: 30%;
  }
}

/* Keep desktop view as is - no changes above 1200px */

/* Tablet adjustments */
@media (max-width: 1200px) and (min-width: 768px) {
  /* Adjust the team members container to better fit tablet screens */
  .row.extrasmall.zab.fs18.rund {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 40px; /* Add padding to avoid fixed elements */
  }
  
  /* Make team member columns wider on tablets */
  .row.extrasmall.zab.fs18.rund .col-20 {
    width: 30%; /* Show 3 per row instead of 5 */
    margin-bottom: 30px;
    min-width: 200px;
  }
  
  /* Fix the height issues */
  .row.extrasmall.zab.fs18.rund .col-20.hoch {
    margin-top: 0; /* Remove the height offset on tablets */
  }
  
  /* Adjust font sizes for better readability */
  .row.extrasmall.zab.fs18.rund h1 {
    font-size: 40px;
    line-height: 40px;
  }
  
  .row.extrasmall.zab.fs18.rund h2 {
    font-size: 20px;
  }
  
  /* Adjust the main image */
  .col-80.runter img {
    max-width: 90%;
  }
}

/* Mobile phone adjustments */
@media (max-width: 767px) {
  /* Make team members display in a single column on mobile */
  .row.extrasmall.zab.fs18.rund {
    flex-direction: column;
    align-items: center;
    padding-right: 35px; /* Space for social media buttons */
  }
  
  /* Make each person take full width */
  .row.extrasmall.zab.fs18.rund .col-20 {
    width: 80%;
    margin-bottom: 40px;
    min-width: auto;
    padding: 0 5px;
  }
  
  /* Reset the height offset */
  .row.extrasmall.zab.fs18.rund .col-20.hoch {
    margin-top: 0;
  }
  
  /* Keep images from getting too large */
  .row.extrasmall.zab.fs18.rund .col-20 img {
    max-width: 220px;
    width: 100%;
    height: auto;
  }
  
  /* Adjust font sizes */
  .row.extrasmall.zab.fs18.rund h1 {
    font-size: 36px;
    line-height: 36px;
  }
  
  .row.extrasmall.zab.fs18.rund h2 {
    font-size: 18px;
    line-height: 1.2;
  }
  
  /* Make text slightly smaller */
  .row.extrasmall.zab.fs18.rund .col-20 p {
    font-size: 18px;
    line-height: 1.3;
  }
  
  /* Adjust the header image */
  .col-80.runter img {
    max-width: 95%;
  }
  
  /* Make main padding more appropriate for mobile */
  main {
    padding: 0 15px 30px 15px;
  }
  
  /* Adjust spacing */
  .col-10 {
    width: 5%;
  }
  
  .col-80 {
    width: 90%;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  .row.extrasmall.zab.fs18.rund .col-20 {
    width: 90%;
  }
  
  .row.extrasmall.zab.fs18.rund h1 {
    font-size: 32px;
    line-height: 32px;
  }
  
  /* Further reduce padding */
  main {
    padding: 0 10px 20px 10px;
  }
  
  /* Make sure the social media elements don't overlap content */
  .row.extrasmall.zab.fs18.rund {
    padding-right: 30px;
  }
}


/* Desktop-Ansicht bleibt unverändert */

/* Tablet-Anpassungen */
@media (max-width: 1200px) and (min-width: 768px) {
  /* Hauptcontainer-Anpassungen */
  .row.medium.zab {
    flex-wrap: wrap;
    padding-right: 60px; /* Platz für Social-Media-Buttons */
  }
  
  /* Spaltenbreiten für Tablet */
  .col-40 {
    width: 45%;
  }
  
  .col-50 {
    width: 48%;
  }
  
  /* Bilder in der Spalte anpassen */
  .col-40.rund img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
  }
  
  /* Terminliste formatieren */
  .fanclub-treffen {
    padding: 30px 15px;
  }
  
  .fanclub-treffen h2 {
    font-size: 24px;
    line-height: 1.3;
  }
  
  .fanclub-treffen li {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  /* Rechts/Links-Ausrichtung verbessern */
  .rechtsbundig {
    padding-right: 15px;
  }
  
  .linksbundig {
    padding-left: 5px;
  }
}

/* Handy-Anpassungen */
@media (max-width: 767px) {
  /* Hauptcontainer auf volle Breite */
  .row.medium.zab {
    flex-direction: column;
    padding: 0 15px 0 15px;
  }
  
  /* Spaltenbreiten für Mobilgeräte */
  .col-40, .col-50 {
    width: 100%;
    margin-bottom: 20px;
    padding: 0 5px;
  }
  
  .col-10 {
    display: none; /* Kleine Abstands-Spalten entfernen */
  }
  
  /* Bilder in der Spalte anpassen */
  .col-40.rund img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
  }
  
  /* Text und Überschriften anpassen */
  h1 {
    font-size: 32px;
    line-height: 1.2;
  }
  
  /* Terminliste formatieren */
  .fanclub-treffen {
    padding: 20px 10px;
  }
  
  .fanclub-treffen h2 {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 15px;
  }
  
  .fanclub-treffen li {
    font-size: 16px;
    margin-bottom: 12px;
    padding-left: 15px;
  }
  
  /* Rechts/Links-Ausrichtung für Mobilgeräte */
  .rechtsbundig, .linksbundig {
    text-align: left;
    padding: 0 5px;
  }
  
  /* Termineinträge besser abgrenzen */
  .row.medium.zab .col-50.rund,
  .row.medium.zab .col-40.rechtsbundig.rund {
    border-bottom: 1px solid rgba(255, 130, 47, 0.3); /* Leichte Trennlinie in Orange */
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
  
  /* Abstand nach unten an der orangen Überschrift */
  p.orange.runter {
    margin-bottom: 30px;
    padding: 0 15px;
  }
  
  /* Zusätzlicher Abstand zwischen Abschnitten */
  .fanclub-treffen + .row.medium.zab {
    margin-top: 30px;
  }
}

/* Sehr kleine Bildschirme */
@media (max-width: 480px) {
  /* Noch kompaktere Darstellung */
  .row.medium.zab {
    padding: 0 10px 0 10px;
  }
  
  h1 {
    font-size: 28px;
  }
  
  .fanclub-treffen h2 {
    font-size: 18px;
  }
  
  .fanclub-treffen li {
    font-size: 15px;
  }
  
  /* Rechten Abstand erhöhen, damit Social-Media-Buttons nicht stören */
  main {
    padding-right: 40px;
  }
}


/* Tablet view: reduce hover scale */
@media (max-width: 1200px) and (min-width: 768px) {
    .zeugs img:hover {
        transform: scale(1.5); /* Reduce scale from 2 to 1.5 on tablets */
    }
}

/* Mobile view: minimal or no hover effect */
@media (max-width: 767px) {
    .zeugs img:hover {
        transform: scale(1.2); /* Even smaller scale on mobile */
    }
}

/* Very small screens: disable hover effect */
@media (max-width: 480px) {
    .zeugs img:hover {
        transform: none; /* No scale effect on very small screens */
    }
}






/* Grundlegende Viewport-Fixierung für alle Geräte für über uns*/
html, body {
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
    width: 100%;
    position: relative;
}

body {
    background-image: url("images/textur-web.jpg");
    background-size: cover; /* Ändert von 100% zu cover für bessere Abdeckung */
    background-attachment: fixed; /* Fixiert den Hintergrund */
    font-family: "Special Elite", sans-serif;
    font-size: 24px;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Verbesserte Container-Handhabung */
main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 40px 40px 40px;
    margin-top: -20px;
    max-width: 100%; /* Begrenzt die Breite */
    box-sizing: border-box; /* Verhindert, dass Padding die Breite vergrößert */
}

/* Anpassungen an extrasmall-Klasse für bessere mobile Darstellung */
.extrasmall {
    margin: 0;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

/* Verbesserte Row-Darstellung */
.row {
    display: flex;
    flex-wrap: wrap; /* Erlaubt Umbruch für mobile Ansicht */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Anpassungen für Tablets */
@media (max-width: 1200px) and (min-width: 768px) {
    .row.extrasmall.zab.fs18.rund {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 15px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .row.extrasmall.zab.fs18.rund .col-20 {
        width: 30%;
        margin-bottom: 30px;
        min-width: 180px;
        padding: 0 10px;
    }
    
    header nav ul li {
        font-size: 20px;
        margin-left: 15px;
    }
    
    main {
        padding: 0 20px 40px 20px;
    }
    
}

/* Anpassungen für Mobiltelefone */
@media (max-width: 767px) {
    body {
        font-size: 18px;
    }
    
    header {
         display: flex;
    flex-direction: row;  /* Wichtig: Reihenfolge behalten statt Spalten */
    flex-wrap: wrap;      /* Erlaubt Umbruch bei schmalen Bildschirmen */
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    }
	
	  header a {
    align-self: flex-start; /* Logo links oben halten */
    margin-bottom: 20px;    /* Etwas Abstand zur Navigation */
  }
    
    header img {
        width: 150px;
    height: auto;
    margin-bottom: 0; 
    }
    
    header nav {
    align-self: flex-end;  /* Navigation rechts oben ausrichten */
    margin-left: auto;     /* Drückt die Navigation nach rechts */
  }
	
      header nav ul {
    display: block;        /* Navigation untereinander anzeigen */
    text-align: right;     /* Text rechts ausrichten */
  }
  
  header nav ul li {
    margin-left: 0;        /* Links-Margin entfernen */
    margin-bottom: 10px;   /* Abstand zwischen Menüpunkten */
  }
    
    /* Container Anpassungen */
    main {
        padding: 0 15px 30px 15px;
        flex-direction: column;
        align-items: center;
    }
    
    .row.extrasmall.zab.fs18.rund {
        flex-direction: column;
        align-items: center;
        padding: 0 10px;
        margin: 0;
        width: 100%;
    }
    
    .row.extrasmall.zab.fs18.rund .col-20 {
        width: 80%;
        margin-bottom: 30px;
        padding: 0;
    }
    
    .col-10, .col-20, .col-40, .col-50, .col-80 {
        width: 100%;
        padding: 0 5px;
        margin: 10px 0;
        box-sizing: border-box;
    }
    
    /* Verstecke unnötige Spalten auf mobil */
    .col-10 {
        display: none;
    }

}




/* Sehr kleine Bildschirme */
@media (max-width: 480px) {
    body {
        font-size: 16px;
    }
    
    header nav ul li {
        font-size: 20px;
    }
    
    .row.extrasmall.zab.fs18.rund .col-20 {
        width: 90%;
    }
    
    main {
        padding: 0 10px 20px 10px;
    }
    
    .fs18 {
        font-size: 16px;
    }
    
    h1 {
        font-size: 26px;
        line-height: 30px;
    }
    
    h2 {
        font-size: 16px;
    }
}


/* responsiv buttons */

/* Shared positioning for all responsive views */
@media (max-width: 1200px) {
  /* Position the black background spot */
  #right-fixed {
    position: fixed;
    right: 0;
    top: 35%;
    width: 60px;
    height: auto;
    z-index: 1;
  }
  
  /* Position social media buttons with equal spacing */
  .fb, .insta, #scroll-to-top {
    position: fixed;
    right: 8px; /* 15px from right edge as requested */
    transform: scale(0.25);
    z-index: 2;
  }
  
  /* Position Instagram at the top */
  .insta {
    top: 35%;
	 right: -38px;
  }
  
  /* Position Facebook in the middle */
  .fb {
    top: 41%; 
	  right: -38px;
  }
  
  /* Position scroll-to-top at the bottom */
  #scroll-to-top {
    top: 56%;
    font-size: 25px;
    background-color: #008400;
    padding: 5px 8px;
    border-radius: 8px;
    transform: scale(1); /* Don't scale the scroll button */
	  right:6px;
  }
}

/* Tablet-specific adjustments */
@media (max-width: 1200px) and (min-width: 768px) {
  /* Slight adjustments for tablets if needed */
  #right-fixed {
    width: 60px;
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  /* Make elements smaller on mobile */
  #right-fixed {
    width: 50px;
  }
  
  .fb, .insta {
    transform: scale(0.23);
  }
  
  #scroll-to-top {
    font-size: 20px;
    padding: 4px 7px;
    border-radius: 6px;
  }
  
  /* Adjust spacing slightly for mobile */
  .insta {
    top: 36%;
	  right: -43px;
  }
  
  .fb {
    top: 41%;
	  right: -43px;
  }
  
  #scroll-to-top {
    top: 54%;
	  right: 3px;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  #right-fixed {
    width: 40px;
  }
  
  .fb, .insta {
    transform: scale(0.21);
    right: -45px;
  }
  
  #scroll-to-top {
    font-size: 18px;
    padding: 3px 6px;
    border-radius: 5px;
  }
}











