@font-face {
    font-family: 'Chivo';
    src: url("fonts/Chivo-Regular.woff2") format("woff2"),
         url("fonts/Chivo-Regular.woff") format("woff"),
         url("fonts/Chivo-Regular.ttf") format("truetype"),
         url("fonts/Chivo-Regular.eot");
    font-weight: 300;
    font-style: normal;
}

body {
    position: relative;
	margin: 0;
    padding: 0;
	font-family: 'Chivo' !important;
}



body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background: #f4f4fd;/*#fffbf7;/*#1a191c;
    /*background: url('background.jpg') no-repeat center center fixed;
    background-size: cover;
    opacity: 0.2; /* Ändere diesen Wert für mehr oder weniger Transparenz */
    z-index: -1;
}

#start{
	/*margin: 20px;*/
	color: #361f09;
	
}

.header-image {
    width: 100%;
    height: 700px;
    object-fit: cover;
	border-bottom: solid #d45422;
    box-shadow: 0px 10px 20px #cfc7d2;


}

nav {
    background: linear-gradient(135deg, #4d5266, #93a4be);/*#90b1d3#0a1450;#b9def2;*/	
    /*padding: 10px;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
	right:0;
	left:0;
    z-index: 1000;
    overflow-x: auto;
    white-space: nowrap;
    
	/*background: linear-gradient(to bottom, #081349, rgba(185, 222, 242, 0.8));*/

}

.desktop-nav {
    display: flex;
    list-style: none;
    padding: 0;
    flex-wrap: nowrap;
	
}

.desktop-nav li {
    margin: 0 15px;
}

.desktop-nav a {
    color: orange;/*#d45422;*/
    text-decoration: none;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    list-style: none;
    background-color: #444;
    padding: 10px;
    position: fixed;
    width: 100%;
	
    left: 0;
    top: 50px;
	overflow-y: auto;
	margin-top:0;
}

.mobile-nav li {
    margin: 10px 0;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
}

.grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    /*padding: 40px 20px;*/
}

.field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #4d5266, #93a4be);/*background-color: #93a4be; /*#eee;#010101;*/
    padding: 20px;
    text-align: left;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 80%;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    position: relative;
	color: #371f0a;
	box-shadow: 0px 10px 20px #cfc7d2;
	gap: 20px; /* Abstand zwischen Bild und Text */
	max-width:1000px;
}

.field:nth-child(odd) {
    margin-left: 10%;
}

.field:nth-child(even) {
    margin-right: 10%;
    flex-direction: row-reverse;
}

.field.visible {
    opacity: 1;
    transform: translateY(0);
}

.field img {
    width: 40%;
	max-width: 400px;
    height: auto;
    border-radius: 25%;
}

.field-content {
    width: 55%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.field-content h3 {
    margin: 0 0 10px 0;
}

.button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: white;
    margin-top: 20px;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}


@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .field {
        flex-direction: column !important;
        text-align: center;
        width: 90%;
		
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .field img {
        width: 100%;
    }
    .field-content {
        width: 100%;
        align-items: center;
        text-align: center;
    }
	.header-image {
		height:400px;
	}
	
}

table {
	width: 100%;
	border-collapse: collapse;
}
table, th, td {
	border: 1px solid #ddd;
}
th, td {
	padding: 10px;
	text-align: left;
}
th {
	background-color: #f4f4f4;
}

a {
    color: #d45422;
    text-decoration: none; /* Entfernt die Unterstreichung */
    font-weight: bold;
}

a:hover {
    color: #d46d22; /* Farbe beim Hover */
    text-decoration: underline;
}

a:active {
    color: red; /* Farbe, wenn geklickt */
}



#plattform{
	text-align:center;
	display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Falls mehrere Kacheln existieren */
    min-height: 50vh; /* Damit es vertikal mittig bleibt */
}

.firma-container { margin: 20px; padding: 20px; border-radius: 10px; background: #f9f9f9; width:100%}
.firma-logo { max-width: 150px; height: auto; }
.button-container { margin-top: 20px; }
.button { padding: 10px 20px; background: #222; color: #fff; border: none; border-radius: 5px; cursor: pointer; }

/* Desktop: Angebote horizontal scrollbar unter dem Button */
.angebote-wrapper {
	display: flex;
	justify-content: center;
	margin-top: 20px;
	width: 100%;
}

.angebote-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Automatische Anpassung */
	gap: 15px;
	padding: 20px;
	width: 80%;
	max-width: 1000px; /* Optional: Maximale Breite */
	justify-content: center;
	
}

.angebot {
	background: #fff;
	border-radius: 10px;
	padding: 15px;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
	text-align: center;
	max-width: 290px;
}

.angebot img {
	width: 100%; /* Bild füllt den Container */
	height: 150px; /* Einheitliche Höhe */
	object-fit: cover; /* Schneidet überstehende Teile ab */
	border-radius: 10px;
}

.services {
	display: grid;		
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 20px;
	margin-top: 40px;
}
.service-box {
	background: linear-gradient(135deg, #4d5266, #93a4be);
	padding: 20px;
	border-radius: 10px;
	color:#371f0a;
	text-align: center;
}
.service-box img {
	width: 150px;
	border-radius: 10px;
	/*margin-bottom: 15px;*/
}
.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}
.service-box-home img{
		width:400px;
		border-radius:10px;
	}
/* Mobile: Alle Angebote untereinander */
@media (max-width: 768px) {
	.angebote-container {
		width: 90%;
	}
	.services {
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	}
	.service-box-home img{
		width:210px;
		border-radius:10px;
	}
}

.button {
	display: inline-block;
	background-color: #413025;
	color: white;
	padding: 10px 20px;
	text-decoration: none;	
	font-weight: bold;
	border-radius: 5px;
	margin-top: 20px;
}
.button:hover {
	background-color: #d45422;
	color: white;
	text-decoration: none;
}

footer {
    background: #333333;
    color: #fff;
    padding: 20px 10px;
    text-align: center;
  }

  .footer-container {
    max-width: 960px;
    margin: 0 auto;
  }

  footer nav{
    background: #333333;
   
    display: block;
    justify-content: space-between;
    align-items: center;
    max-width:100vw;
    top: auto;
    bottom: auto;
    position: absolute;
	right:0;
	left:0;
    z-index: 1000;
    overflow-x: auto;
    white-space: nowrap;
  }

  footer p {
    margin: 0 0 10px;
    font-size: 0.9rem;
  }

  footer nav a {
    color: #ccc;
    margin: 0 10px;
    text-decoration: none;
    font-size: 0.9rem;
  }

  footer nav a:hover {
    color: #fff;
    text-decoration: underline;
  }

  @media (max-width: 480px) {
    footer nav a {
      display: block;
      margin: 5px 0;
    }
  }

  .news-ticker {
    background-color: #ffd700; /* Gelb */
    color: black;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
    font-weight: bold;
    padding: 10px 0;
    font-size: 1.1rem;
  }
  
  .ticker-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 20s linear infinite;
  }
  
  @keyframes scroll-left {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-100%);
    }
  }

  /* Formular */
form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
}

input, textarea, button {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #bdc3c7;
    border-radius: 5px;
}





