* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

body.loading {
    visibility: hidden;
}


header {
    background: linear-gradient(to bottom, #1f3b5b, #1d2b40 99%);
    color: #fff;
    text-align: center;
    padding: 1em 0 0 0;
}



@media (max-width: 700px) {
	header {
		background: #31415a;
	}
}

.branding {
    display: flex;
	height: 20vh;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

.branding-slogan {
    display: flex;
	height: 5vh;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

.logo {
    width: 200px; /* Passen Sie diese Größe nach Bedarf an */
}

/* Font-Einbindung */
@font-face {
    font-family: 'New Brilliant';
    src: url('New Brilliant.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.slogan {
    color: black;
	border: 0.5px solid;
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-size: 1.2em; /* Größere Schrift für ein Zitat */
    margin: 1em auto;
    padding: 0.5em 1em;
    border-left: 4px solid #275482; /* Linie auf der linken Seite */
	border-radius: 4px;
	background: #f4f4f4;
    width: 60%; /* Beschränkung der Breite */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}


@media (max-width: 700px) {
    .branding {
        flex-direction: column; /* Ordnet Elemente untereinander */
        text-align: center;
		height: auto;
    }
	
	.branding-slogan {
		display: flex;
		height: 25vh;
		width: 100%;
		justify-content: center;
		align-items: center;
		gap: 1em;
	}
	
	.slogan {
		width: 80%; /* Beschränkung der Breite */
	}
	
	h1 {
		font-size: 20px;
	}
}


.slogan:before {
    content: open-quote; /* Öffnendes Anführungszeichen */
    font-size: 2em;
    color: #e6b800;
    vertical-align: -0.4em; /* Anpassung der vertikalen Position */
    margin-right: 0.2em;
}

.slogan:after {
    content: close-quote; /* Schließendes Anführungszeichen */
    font-size: 2em;
    color: #e6b800;
    vertical-align: -0.4em;
    margin-left: 0.2em;
}

.author-link {
    color: #666; /* Passende dunkle Farbe */
    text-decoration: none;
    font-style: italic; /* Kursiv für die Zitation */
    font-size: 0.9em; /* Kleinere Schriftgröße */
    margin-left: 0.5em;
}

.author-link:hover {
    color: #275482; /* Farbe bei Hover */
    text-decoration: underline; /* Unterstreicht bei Hover */
}

.author-link i {
    margin-right: 0.3em; /* Abstand zwischen Icon und Text */
    font-size: 1em; /* Kleinere Schriftgröße für das Icon */
}

/* Anwenden auf die Überschrift */
h1 {
    font-family: 'New Brilliant', sans-serif;
    margin: 0.5em 0;
    color: #fff;
}


h2 {
   font-family: 'Montserrat', sans-serif;
   text-align: center;
   font-size: 2.5em;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap');

h3 {
   font-family: 'Montserrat', sans-serif;
}


nav {
    display: flex;
    justify-content: center;
    padding-bottom: 1em;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1em;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 0.5em 1em;
    border: 2px solid transparent;
    transition: border 0.3s, color 0.3s;
}

.nav-links a:hover {
    border: 2px solid #fff;
}

.nav-links a.active {
    border: 2px solid #e6b800; /* Markiert den aktiven Link */
    color: #e6b800; /* Hebt die Textfarbe hervor */
}

.hero-image {
	width: 100%;
	height: 50vh; /* Höhe des Bildes auf 50% der Viewport-Höhe festgelegt */
	overflow: hidden;
	position: relative;
	z-index: -1;
}

.header-img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* Das Bild füllt den gesamten Container aus */
	-webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
	mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
	position: absolute;
	top: 0;
	left: 0;
}


main {
    max-width: 80%;
    margin: 2em auto;
}

@media (max-width: 600px) {
	main {
		max-width: 96%;
	}
}

#background-container {
    position: fixed; /* Fixiert bezüglich des Viewports */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Höhe des Viewports */
    z-index: -4; /* Hinter dem Inhalt */
    pointer-events: none; /* Ermöglicht Klicks auf darunterliegende Elemente */
}


.section {
    background: #1f3b5b;
    padding: 2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 2em auto;
    color: #fff;
}


.section h2 {
    margin-top: 0.5em;
}


.contact-section {
    background: #1f3b5b;
    padding: 2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 2em auto;
    color: #fff;
    position: relative; /* Für die Positionierung des Icons */
	border-radius: 4px;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Zentriert die Kinder */
    gap: 1em;
}
.contact-info {
    width: 30%;
    padding-right: 1em;
    transition: opacity 0.3s, visibility 0.3s;
}

.toggle-info {
    opacity: 1;
    visibility: visible;
}

.contact-form {
    width: 65%;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

@media (max-width: 900px) {
    .contact-info {
        position: absolute;
        right: 1em;
        width: 250px;
        background: #275482;
        border-radius: 8px;
        padding: 1em;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        z-index: 10;
        display: none;
		margin-top: 80px;
    }

    .toggle-icon {
        display: inline-block;
        cursor: pointer;
        font-size: 2em;
        color: #e6b800;
        padding: 1em;
        position: absolute;
        right: 0.5em;
        z-index: 20;
    }
}

@media (max-width: 800px) {
    .form-row {
        flex-direction: column; /* Anordnung untereinander bei kleinen Bildschirmen */
    }

    .contact-form {
        width: 100%; /* Kontaktformular passt sich dem Bildschirm an */
    }

    .form-group-inline {
        flex-direction: column; /* Checkbox und Text untereinander */
        align-items: flex-start;
    }
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 1em;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.5em;
}

.form-group input, .form-group textarea {
    padding: 0.75em;
    border-radius: 6px;
    border: none;
    background: #f4f4f4;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #333;
    font-size: 1em;
}

.send-btn {
    padding: 0.75em 1.5em;
    border-radius: 6px;
    background: #e6b800;
    color: #1f3b5b;
    font-weight: bold;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.send-btn:hover {
    background: #d6a700;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.contact-info a {
    color: #e6b800; /* Passende Farbe zum Design */
    text-decoration: none; /* Keine Unterstreichung */
    font-weight: bold; /* Optional: hebt den Text hervor */
}

.contact-info a:hover {
    text-decoration: underline; /* Unterstreichung bei Hover (optional) */
}

.form-group-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5em; /* Abstand zwischen Checkbox und Text */
}

.form-group-inline input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

.main-footer {
    background: #1f3b5b;
    padding: 2em 1em;
    color: #fff;
    text-align: left;
    border-top: 4px solid #e6b800;
}

.footer-section a {
    color: white; /* Passende Farbe zum Design */
    text-decoration: none; /* Keine Unterstreichung */
}


.footer-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2em;
    margin-bottom: 1em;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    margin-top: 0;
    color: #e6b800;
    font-size: 1.5em;
}

.footer-section address, .footer-section ul {
    margin: 0.5em 0;
    list-style: none;
    padding: 0;
}

.footer-section ul li, .footer-section address a {
    margin-bottom: 0.5em;
    color: #e6b800;
    text-decoration: none;
}

.footer-section ul li a:hover, .footer-section address a:hover {
    text-decoration: underline;
}

.copyright {
    text-align: center;
    margin-top: 1em;
    font-size: 1em;
    padding-top: 1em;
}

.language-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

#current-flag {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

#current-flag {
    background-size: cover; /* Deckt den verfügbaren Raum ab, ohne das Seitenverhältnis zu verzerren */
    background-position: center; /* Zentriert das Hintergrundbild */
}

.language-circle:hover {
    background-color: #1f3b5b;
}

.dropdown-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 8px;
    z-index: 1001;
}

.dropdown-menu a {
    text-decoration: none;
    color: #275482;
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu a:hover {
    color: #1f3b5b;
}

.show-dropdown {
    display: flex;
}


.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #1f3b5b;
    color: #fff;
    display: none; /* Anfangs ausgeblendet */
    align-items: center;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.sticky-nav.show {
    display: flex;
}

.sticky-nav .nav-content {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-nav .nav-links {
    display: flex;
    list-style: none;
	margin-top: 10px;
}

.sticky-nav .nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 0.5em 1em;
}

.sticky-nav .logo {
    width: 100px; /* Passen Sie diese Größe nach Bedarf an */
}

.sticky-nav .name-sticky {
    font-size: 20px;
    text-align: left; /* Text linksbündig ausrichten */
}


@media (max-width: 700px) {
    .sticky-nav .nav-content {
        flex-direction: row; /* Horizontal ausrichten des gesamten nav-content */
		width: 80%;
		white-space: nowrap;
		padding: none;
    }

    .sticky-nav .logo {
        display: none; /* Versteckt das Logo */
    }
	
	.sticky-nav .name-sticky {
        font-size: 10px;
		display: none; 
    }

    .sticky-nav .nav-links a {
        width: 100%; /* Setzt die Breite der Links auf die volle verfügbare Breite */
        text-align: center; /* Zentriert den Text der Links */
    }
	
	.language-container {
		position: fixed;
		bottom: 20px;
		top: auto;
		right: 20px;
		z-index: 1000; 
	}
	
	.language-circle {
		width: 40px;
		height: 40px;
	}

	.dropdown-menu {
		flex-direction: column;
		position: absolute;
		top: -180px; 
		right: 0; 
		background-color: #fff;
		border: 1px solid #ccc; 
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
		padding: 10px; 
		border-radius: 8px; 
		z-index: 1001; 
	}
}

.error-message {
	color: red;
	display: none;
}
.success-message {
	color: green;
	display: none;
}
