/* Allgemeines Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Header und Navigation */
header {
    background-color: #4CAF50;
    padding: 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    margin: 0;
    padding: 0;
    position: relative;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px;
    display: block;
}

/* Dropdown-Menü */
nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #f4f4f4;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin: 0;
    z-index: 1000;
    list-style: none;
    flex-wrap: nowrap; /* Kein Zeilenumbruch */
    white-space: nowrap;
}

nav ul ul li {
    margin: 0;
}

nav ul ul a {
    color: #0078d7;
    padding: 5px;
}

nav ul ul a:hover {
    color: #0056a3;
}

nav li:hover > ul {
    display: block;
}

/* Hauptbild */
#main-image {
    text-align: center;
    margin: 2rem 0;
}

/* Kontaktformular */
form {
    max-width: 400px;
    margin: 20px auto;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

form input, form textarea, form button {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    box-sizing: border-box;
}

form button {
    background: #0078d7;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
}

form button:hover {
    background: #0056a3;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #f1f1f1;
    margin-top: 2rem;
}
a {
	color: gray;
	padding: 1rem;
	text-decoration: none;
}	
#legal-info, #privacy-policy {
    padding: 2rem;
    line-height: 1.6;
}

h2 {
    color: #4CAF50;
    margin-bottom: 1rem;
}
.image-comparison {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.image-comparison figure {
    text-align: center;
    margin: 0 10px;
}

.image-comparison img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.image-comparison figcaption {
    margin-top: 8px;
    font-weight: bold;
    color: #555;
}
/* Grid-Container für Kacheln */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 20px;
}

/* Kachel-Elemente */
.grid-item {
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.grid-item img, .grid-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.modal-content video,
.modal-content img {
    width: 100%;
    height: auto;
}

/* Schließen-Schaltfläche */
.modal .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 2000;
}
.disabled {
    color: gray;
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}
/* Spezifische Styling für die Referenzen */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 20px;
    justify-content: center;
}

.references-item {
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.references-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.references-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}


