@font-face {
    font-family: 'Orbitron'; /* Name der Schrift */
    src: url('fonts/Orbitron-Bold.woff2') format('woff2'),
         url('fonts/Orbitron-Bold.woff') format('woff'),
         url('fonts/Orbitron-Bold.ttf') format('truetype'); /* Fallback */
    font-weight: 400;
    font-style: normal;
}

/* Allgemeine Stile */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0; /* Ändere zu der Hintergrundfarbe der bestehenden Seite */
    color: #333;
}

header {
    padding: 10px 20px;
    text-align: right;
    background-color: black;
}

header img {
    max-width: 150px; /* Passe die Größe des Logos an */
}

.header-content {
	display: flex; /* Setzt Flexbox ein */
	height: 104px; /* Setzt die Höhe des Headers */
	justify-content: space-between; /* Richtet den Inhalt nach rechts aus */
	align-items: center; /* Vertikale Zentrierung der Elemente */
	width: 100%;
}

.header-content {
    height: 100%; /* Passt die Höhe des Logos an die Höhe des Headers an */
    width: auto; /* Behält das Seitenverhältnis des Logos bei */
}

.logo{
    height: 100%; /* Passt die Höhe des Logos an die Höhe des Headers an */
    width: auto; /* Behält das Seitenverhältnis des Logos bei */
	margin-left: 10%;
	margin-top: 1em;
}

/* Div mit Box */
.box_gray {
	background-color: lightgray;
    color: black;
    margin-top: 3em;
    padding: 10px 25px;
	border-radius: 25px;
}

/* Grundlayout */
nav {
    z-index: 9999;
}

nav ul {
    list-style: none;
    padding: 0px 30px 0px 0px;
    margin: 0;
    display: flex;
    justify-content: center;
    margin: 20px 0;
	font-size: 1.2em;
	font-family: 'Orbitron';
}

nav ul li {
    position: relative;
    margin: 0px 0px;
}

nav ul li a {
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    /*color: #333;*/
}

nav ul li:hover > a {
    background-color: #f0f0f0;
    color: #595959;
}

/* Dropdown-Menü */
.dropdown-menu {
    display: none; /* Standardmäßig ausgeblendet */
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    color:whitesmoke;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    padding: 10px 20px;
    white-space: nowrap; /* Verhindert Zeilenumbrüche */
}

/* Zeige das Dropdown beim Hover */
.dropdown:hover .dropdown-menu {
    display: block;
}


/* Hamburger-Styling */
.hamburger {
    display: none; /* Standardmäßig ausblenden */
	position: absolute;
	top: 1em;
	right: 10px;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	font-size: 26px;
	z-index: 1000;
	/* color: black; */
}

/* Dünner Top-Header */
.top-header {
    background-color: #111; /* Dunkel, passend zum schwarzen Haupt-Header */
    color: #fff;
    font-size: 0.85rem;
 /*   padding: 10px 20px; */
    font-family: 'Orbitron', Arial, sans-serif;
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1350px;
    margin: 0 auto;
}

.lang-select{
    padding: 10px 20px;
}

.lang-select button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    margin-right: 8px;
    font-size: 0.85rem;
    font-family: 'Orbitron', Arial, sans-serif;
}

.lang-select button:hover {
    text-decoration: underline;
}

.contact-info {
    font-size: 0.85rem;
}

/* Infobanner-Styling */
.infobanner {
    display: none; /* Standardmäßig ausblenden */
	background-color: orange;
	color: white;
	padding: 10px 50px;
	font-size: 4em;	
}

/* Infobanner-Styling */
.hotline {
	margin-top: 20px;
    display: none; /* Standardmäßig ausblenden */
	background-color: orange;
	text-decoration: none;
	color: white;
	padding: 20px 50px;
	font-family: 'Orbitron';
	font-size: 1.5em;	
	text-align: center;
}

/* Call to Action */
.CallToAction {
    position: fixed; /* Fixierte Position */
    right: 0; /* Am rechten Rand */  
    top: 35%; /* Mittig vertikal */
    width: 32px;
    height: 32px;
    transform: translateY(-50%); /* Zentriert das Element vertikal */
    padding: 10px; /* Innenabstand */
    background-color: orange; /* Blauer Hintergrund */
    color: white; /* Weiße Schriftfarbe */
    border-radius: 5px; /* Abgerundete Ecken */
    cursor: pointer; /* Cursor als Hinweis, dass es klickbar ist */
    z-index: 1000; /* Stellt sicher, dass das Element über anderen liegt */
    display: flex; /* Flexibles Box-Modell für die innere Ausrichtung */
    align-items: center; /* Zentriert die Inhalte vertikal */
  }
  
  .fa-phone { /* Styles für das Icon */
    font-size: 1em; /* Größe des Icons */
    margin-right: 10px; /* Abstand zwischen Icon und vertikalem Text */
  }
  
  .vertical-text {
    writing-mode: vertical-rl; /* Text vertikal von rechts nach links */
    transform: rotate(180deg); /* Dreht den Text, sodass er lesbar von oben nach unten geht */
    font-size: 2em; /* Größe des vertikalen Textes */
    line-height: 1; /* Zeilenhöhe, um die Buchstaben näher zusammenzubringen */
  }
  
  #ctaText{
    display: none;
    font-size: 1.4em;
    text-align: right;
    margin: 25px;
    color: white;
  }


/* Bilderlayout nebeneinander */
.image-container {
	display: flex;
	gap: 200px; /* Kleinerer Abstand */
	justify-content: center;
	flex-wrap: wrap; /* Erlaubt Umbruch auf kleine Bildschirme */
}

.image-container img {
	max-width: 100%; /* Bilder skalieren mit der Bildschirmbreite */
	height: auto;
}

.container {
    display: flex;
    flex-wrap: wrap; /* Erlaubt das Umbruchverhalten */
    gap: 10px; /* Abstand zwischen den Spalten */
}

.column {
    flex: 1; /* Jede Spalte nimmt den gleichen Anteil des Raumes ein */
    padding: 10px; /* Padding innerhalb der Spalten */
    text-align: center; /* Zentrierung des Textes in der Spalte */
}
.column p{
    text-align: left; /* Zentrierung des Textes in der Spalte */
}

.box_icon{
    border: solid;
    border-color: #f0f0f0;
    border-radius: 1em;
    font-size: 1.0em;
    font-weight: bold;
}

a{
    text-decoration: none;
    color: gray;
}

@media (min-width:1216px) {
     header {
        position: fixed;
        top: 28px; /* Platz für den Top-Header schaffen */
        left: 0;
        width: 100%;
        padding: 10px 20px;
        text-align: right;
        background: black;
        background-repeat: repeat-x;
        z-index: 1000;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .top-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000; /* höher als der Hauptheader */
    }
}

@media (max-width: 600px) { /* Für Handys */
    .image-container {
		flex-direction: column; /* Bilder untereinander anordnen */
		align-items: center; /* Zentrieren */
	}

    .container {
        flex-direction: column; /* Stapelt die Spalten untereinander */
    }

    .top-header-content {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 4px;
    }
}


/* Mobilgeräte */
@media (max-width: 1215px) {
    header {
        padding: 10px 20px;
        text-align: right;
        background: black;
        background-repeat: repeat-x;
    }

    nav ul {
        display: none; /* Standardmäßig ausblenden */
        flex-direction: column;
        background-color: #333;
        padding: 10px;
        position: absolute;
        top: 60px; /* Unterhalb des Headers */
        width: 100%;
		right: 1em;
        overflow: hidden;
        z-index: 9999;
    }

    nav ul.active {
        display: flex; /* Einblenden bei Aktivierung */
		margin-left: -30px;
    }

    .hamburger {
        display: block; /* Zeige den Hamburger-Button */
        color: whitesmoke;
    }

    .dropdown-menu {
        position: static;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }
	
	.logo{
		position: static;
        display: none;
	}
	
	.hotline{
    	display: inherit;
	}

    .CallToAction{
        display: none;
    }

}


.hero {
	/*background-image: url('../images/bg.jpg');*/
	/*background-repeat: repeat-x;*/
    background-color: white;/*#e0e0e0; /* Hintergrundfarbe des Hero-Banners */
    text-align: center;
	display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px; /* Abstand zwischen den Elementen */
}


/* Bilder mit H3 Titel */
.hero img {
	/* max-width: 70%; /* Bild auf 50% der verfügbaren Breite beschränken */
    height: auto;
}

.hero h3 {
	font-family: 'Orbitron';
	padding: 0px 10px;
	font-size: 1.1em;
    flex: 1.3; /* Lässt den Text den restlichen Platz einnehmen */
}
h1,h2,h3,h4{
	color: #595959; /* Farbcode des Textes */
	font-family: 'Orbitron';
}
@media (max-width: 1250px) {
  	.hero h3 {
    display: none; /* Versteckt das h3-Element */
  }
	.hero img {
		max-width: 100%; /* Bild auf 50% der verfügbaren Breite beschränken */
		height: auto;
	}
}


main {
  width: 80%;    /* Standardbreite für größere Bildschirme */
  margin: 0 auto; /* Zentriert das Element horizontal */
}

/* Media Query für Bildschirme kleiner als 1024px */
@media (max-width: 1024px) {
  main {
    width: auto; /* Setzt die Breite auf auto für kleinere Bildschirme */
  }
}


main .content {
    padding: 40px;
    background-color: white;
    margin: 20px 0px;
	hyphens: auto; 
	text-align: justify
}

footer {
    text-align: center;
    padding: 10px;
	background-repeat: repeat-x;
	color: #595959;
	font-size: 0.9em;
}

footer a{
	text-decoration: none;
	color: #595959;
	font-size: 0.8em;
}

.link {
    text-decoration: none;
    font-size: 18px;
	color: #595959;
}


/* GALLERY CSS */

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery img {
    width: 150px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.1);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
}

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

.overlay .prev, .overlay .next {
    position: absolute;
    top: 50%;
    font-size: 50px;
    color: white;
    cursor: pointer;
}

.overlay .prev {
    left: 20px;
}

.overlay .next {
    right: 20px;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}


/* Cookiebanner */
#cookieBanner {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: black;
	color: white;
	text-align: center;
	padding: 10px;
	box-sizing: border-box;
	transition: transform 0.5s ease;
	transform: translateY(0);
	z-index: 1000;
}
#cookieBanner a{
	color:orange;
	cursor: pointer;
	text-decoration: none;
}



/* GALLERY SLIDSHOW */
.gal_slider {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 1; /* oder 16 / 9 etc. */
}

.gal_slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s;
    user-select: none;
    pointer-events: none;
    z-index: 1;
}

.gal_active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.gal_prev, .gal_next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff7;
    padding: 6px 10px;
    border: none;
    cursor: pointer;
    z-index: 5;
    font-size: 28px;
    color: #333;
    border-radius: 50%;
    opacity: 0.8;
}

.gal_prev { left: 10px; }
.gal_next { right: 10px; }

/* Karussell Effekt */
.gal_slider[data-effect="carousel"] .gal_slide {
    opacity: 1;
    transition: none;
    z-index: 1;
    transform: translateX(100%);
}
.gal_slider[data-effect="carousel"] .gal_active {
    transform: translateX(0);
    z-index: 2;
    transition: transform 0.6s;
}
.gal_slider[data-effect="carousel"] .gal_slide.gal_prev_active {
    transform: translateX(-100%);
}