body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

.container {
    display: flex;
    flex-wrap: wrap;
    height: 100vh; /* Nutzt die volle Bildschirmhöhe */
}

.box {
    position: relative;
    flex: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    font-family: Arial, sans-serif;
    transition: transform 0.5s, box-shadow 0.5s; /* Sanfte Animation */
}
.boxx {
    position: relative;
    flex: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    font-family: Arial, sans-serif;
    transition: transform 0.5s, box-shadow 0.5s; /* Sanfte Animation */
}
.icon {
    font-size: 48px; /* Größer für bessere Sichtbarkeit */
    z-index: 2;
}

.button-hover {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    font-size: 16px;
    text-align: center;
    width: 100%;
    margin-top: 60px; /* Abstand nach oben, um unter dem Icon zu erscheinen */
    color: black; /* Für besseren Kontrast */
    z-index: 1;
}

.box:hover .button-hover {
    opacity: 1;
}
/* Hover Effekt */
.box:hover {
    box-shadow: 0px 0px 20px rgba(0,0,0,0.5); /* Fügt einen leichten Schatten hinzu */
	z-index: 9;
}
.boxx:hover {
    /*box-shadow: 0px 0px 20px rgba(0,0,0,0.5); /* Fügt einen leichten Schatten hinzu */
	z-index: 9;
}
.first_box {
	position: relative;
    flex: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 20px;
    font-family: Arial, sans-serif;
}
.box1 h1, .box1 h2 {
    font-family: 'Roboto', sans-serif;
}

button {
    padding: 10px 20px;
    text-decoration: none;
    color: black;
    border: none;
    border-radius: 30px;
	border: 5px;
	border-style: solid;
    /*background-image: linear-gradient(45deg, #6e45e2, #88d3ce);*/
    transition: background-image 0.3s, transform 0.2s;
    font-size: 22px;
	margin-top: 110px;
    cursor: pointer;
    display: inline-block; /* Ermöglicht die Anwendung von margin und padding */
}
.button{
    padding: 10px 20px;
    text-decoration: none;
    color: black;
    border: none;
    border-radius: 30px;
	border: 5px;
	border-style: solid;
    /*background-image: linear-gradient(45deg, #6e45e2, #88d3ce);*/
    transition: background-image 0.3s, transform 0.2s;
    font-size: 22px;
	margin-top: 110px;
    cursor: pointer;
    display: inline-block; /* Ermöglicht die Anwendung von margin und padding */
}

.button:hover {
    /*background-image: linear-gradient(45deg, #88d3ce, #6e45e2);*/
    /*transform: translateY(-px); /* Leichtes Anheben des Buttons beim Hovern */
	background-color: light-grey;
	color: black;
	box-shadow: 0px 0px 20px rgba(0,0,0,0.5);
}
button:hover {
    /*background-image: linear-gradient(45deg, #88d3ce, #6e45e2);*/
    /*transform: translateY(-px); /* Leichtes Anheben des Buttons beim Hovern */
	background-color: light-grey;
	color: black;
	box-shadow: 0px 0px -10px rgba(0,0,0,0.5);
}
#centralImage {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
	max-width: 10%; /* Begrenzt die Breite des Bildes auf maximal ein Drittel der Containerbreite */
    max-height: 10%; /* Optional, je nach Bedarf */
    transition: transform 1s ease-in-out;
    z-index: 10; /* Stellt sicher, dass es über den Boxen schwebt */
}
.symbol {
	max-width: 10%;
}

/*Popup*/

.popup {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4); /* Dunkler Hintergrund */
	align-items: center;
    justify-content: center;
}

.popup-content {
    position: relative;
    background-color: #fefefe;
    margin: 5% auto;
    padding: 00px;
    border: 1px solid #888;
    width: 44%;
	min-width: 820px;
	height: 66%;
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}
/* Stil für die Telefonnummer und Beschreibung */
.popup-content p {
    font-family: 'Roboto', sans-serif;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
	font-size: x-large;
}
/* Stil für den "Jetzt anrufen"-Button */
.call-now-btn {
    font-family: 'Roboto', sans-serif;
    padding: 10px 20px;
    text-decoration: none;
    color: black;
    border: none;
    border-radius: 30px;
	border: 5px;
	border-style: solid;
    /*background-image: linear-gradient(45deg, #6e45e2, #88d3ce);*/
    transition: background-image 0.3s, transform 0.2s;
    font-size: 22px;
	margin-top: 10px;
    cursor: pointer;
    display: inline-block; /* Ermöglicht die Anwendung von margin und padding */
}

.call-now-btn:hover {
   background-color: light-grey;
	color: black;
	box-shadow: 0px 0px 20px rgba(0,0,0,0.5);
}

/* Schließ-Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* Email Form */

.contact-form {
	font-family: 'Roboto', sans-serif;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	width: 100%;
	height: 100%;
}

.contact-form h2 {
    margin-top: 0;
    color: #333;
}

/*Formular*/

.form-field {
    width: 100%;
    margin-bottom: 15px;
}

.form-field label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-size: 16px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-submit-btn {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 16px;
}

.form-submit-btn:hover {
    background-color: #0056b3;
}
/* Anruf Button */

/* Zusätzliches CSS für den neuen Button
.open-popup-btn {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.open-popup-btn:hover {
    background-color: #0056b3;
}*/
.button-container {
    display: flex;
    justify-content: space-around; /* Zentriert die Buttons und verteilt den verfügbaren Platz dazwischen */
    width: 100%; /* Stellt sicher, dass der Container die gesamte Breite der Box einnimmt */
    padding: 10px; /* Fügt ein wenig Abstand innerhalb des Containers hinzu */
}

.open-popup-btn {
    flex: 1; /* Lässt die Buttons den verfügbaren Platz innerhalb des Containers nutzen */
    /*margin: 0 10px; /* Fügt ein wenig Abstand zwischen den Buttons hinzu */
	z-index: 10;
	 pointer-events: auto; /* Ermöglicht Klick-Events auf dem Button */
    /* Restliche Stile bleiben unverändert */
}

/* Anpassungen für kleinere Bildschirme */
@media (max-width: 600px) {
    .box {
        flex: 100%; /* Jedes Feld nimmt 100% der Containerbreite auf kleineren Bildschirmen ein */
	}
	#centralImage {
		display:none;
	}
	.popup-content {
		width: 98%;
		min-width: 10px;
	}	
	.box:hover {
        box-shadow: none;
        transform: none;
    }
	.boxx h1 {
		font-size: 28px!important;
	}
	img {
		margin-top: -15%;
	}
	button {
		display: inline;
		margin-top: 0%;
		opacity: 1;
	}
	.button-hover {
		opacity: 1;
		z-index: 1;
	}
}
