/* Allgemeine Stile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
	overflow-y: scroll;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #323232;
    background-color: #f8f9fa;
    line-height: 1.6;
}

a, a:visited {
  color: #0e92e6;           /* Deine gewünschte Linkfarbe */
  text-decoration: none;    /* Unterstreichung entfernen */
}
a:hover {
	text-decoration: underline;
}

/* Verhindert das Scrollen der Seite, wenn die mobile Navigation aktiv ist */
body.no-scroll {
    overflow: hidden;
    /* Die folgenden Eigenschaften werden dynamisch über JavaScript gesetzt:
       position: fixed;
       top: -scrollPositionpx;
       width: 100%;
    */
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    position: relative; /* Für die Positionierung des Hamburger-Menüs */
}

/* Header */
.header {
    background: linear-gradient(to right, rgb(15,15,15), rgb(30,30,30));
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
    z-index: 1001;
}

.header .container {
    display: flex;
    flex-direction: column; /* Stack logo and nav vertically */
    align-items: center; /* Zentriert den Inhalt horizontal */
    position: relative;
}

/* Firmenlogo */
.logo img {
    height: 30px;
    width: auto;
}

/* Hamburger-Icon Styles */
.menu-container {
    position: absolute;
    top: 50%; /* Vertikal zentrieren */
    left: 0;
    transform: translateY(-50%); /* Korrektur der Position um die Hälfte der Höhe */
    width: 20px; /* Verkleinerte Breite */
    height: 20px; /* Verkleinerte Höhe für kleinere Größe */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
}

.menu-container .line {
    height: 20px; /* Verkleinerte Höhe */
    width: 20px; /* Verkleinerte Breite */
    position: absolute;
    transition: transform 300ms ease-in-out;
}

.menu-container .line-inner {
    height: 2px; /* Dünnere Linie */
    width: 20px; /* Angepasste Breite der Linie */
    background: white;
    border-radius: 2px; /* Leicht reduzierte Rundung */
    position: absolute;
    transition: transform 200ms ease-in-out;
    transition-delay: 200ms;
}

/* Erste Linie */
.menu-container .line-inner-1 {
    top: 9px; /* Angepasste Position */
    transform: translateY(-4px);
}

/* Zweite Linie */
.menu-container .line-inner-2 {
    bottom: 9px; /* Angepasste Position */
    transform: translateY(4px);
}

/* Aktiver Zustand: Linien rotieren zu einem X */
.menu-container.active .line-1 {
    transform: rotateZ(45deg);
}

.menu-container.active .line-2 {
    transform: rotateZ(-45deg);
}

.menu-container.active .line-inner {
    transform: none;
    transition: transform 200ms ease-in-out;
}

.menu-container.active .line {
    transition-delay: 200ms;
}

/* Clock Icon */
.clock-icon {
    position: absolute;
    top: 50%; /* Vertikale Zentrierung */
    right: 0; /* Abstand zur rechten Seite */
    transform: translateY(-50%); /* Zentriert das Icon genau */
    font-size: 28px; /* Größe des Icons */
    color: white; /* Farbe des Icons */
    cursor: pointer; /* Zeigt an, dass es klickbar ist */
}
.clock-icon a {
    color: white !important;
    transition: transform 0.3s ease;
}

/* Navigationsmenü */
.nav {
    width: 100%;
    margin-top: 10px; /* Kleiner Abstand zwischen Logo und Menüs */
    display: flex;
    justify-content: center; /* Zentriert die Menüpunkte horizontal */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    /* color: #323232;  Goldfarbener Akzent */
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 113px; /* Startpunkt direkt unter dem Header */
    left: 0;
    width: 100%;
    height: 100%; /* Vollständige Höhe minus Header */
    background-color: #fff; /* Durchgehende weiße Hintergrundfarbe */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Links ausgerichtet */
    padding: 20px; /* Innenabstand für Menüpunkte */
    z-index: 1000; /* Unter dem Header */
    transform: translateY(-100%); /* Start außerhalb des sichtbaren Bereichs */
    transition: transform 0.5s ease-in-out; /* Sanfter Slide-Down-Effekt */
}

.mobile-nav.active {
    transform: translateY(0); /* Menü in sichtbaren Bereich schieben */
}

/* Mobile Navigation Links */
.mobile-nav ul {
    list-style: none;
    width: 100%;
}

.mobile-nav ul li {
    margin-bottom: 20px;
}

.mobile-nav ul li a {
    color: #323232; /* Schwarze Schriftfarbe */
    font-size: 1.2rem; /* Textgröße */
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav ul li a:hover {
    color: #323232; /* Leicht dunklere Farbe beim Hover */
}

/* Keyframes für das sanfte Erscheinen (optional entfernt) */
@keyframes slideDown {
    0% {
        transform: translateY(-100%); /* Startpunkt außerhalb des Sichtfelds */
        opacity: 0;
    }
    100% {
        transform: translateY(0); /* Endposition */
        opacity: 1;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('images/hero-background.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center; /* Horizontal zentriert */
}

.hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    top: 100px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Features Section */
.features {
    background-color: #f1f1f1;
    text-align: center;
}

.feature-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 200px;
    padding: 20px 0; /* Fügt 20px Abstand oben und unten hinzu */
}

.feature-item i {
    color: #323232; /* Goldfarbener Akzent */
    margin-bottom: 10px;
}

.feature-item h3 {
    font-size: 1.2rem;
    color: #323232;
    white-space: nowrap; /* Verhindert das Umbrechen des Textes */
}

button {
    font-family: 'Roboto', sans-serif; /* Gleiche Schriftart wie der Rest der Website */
    font-size: 1rem; /* Anpassung der Schriftgröße an die Website */
    width: 100%;
    padding: 12px;
    background-color: #0e92e6;
    /* background: linear-gradient(to right, #3582c4, #5094cf); */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Footer */
.footer {
    background-color: #ffffff; /* Weißer Hintergrund */
    color: #323232;
    padding: 20px 0;
}

.footer .container {
    display: flex;
    flex-direction: column;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.footer-section {
    text-align: left;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #323232;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    /* color: #323232; /* Goldfarbener Akzent beim Hover */
}

.footer-support p {
    font-size: 1rem;
    color: #323232;
}

.footer-support p i {
    margin-right: 10px;
}

.footer-support a {
    color: #323232;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-support a:hover {
    color: #323232;
}

.footer-bottom {
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid #cccccc;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #323232;
}

/* Social Media Icons */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links li a img {
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease;
}

.social-links li a img:hover {
    opacity: 0.7;
}

/* --- OVERLAY --- */
.cookie-banner-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cookie-banner-overlay.active {
	opacity: 1;
	visibility: visible;
}

/* --- Kompaktes Einstiegs-Fenster --- */
.cookie-compact {
	background: #fff;
	width: 90%;
	max-width: 500px;
	padding: 20px;
	border-radius: 8px;
	text-align: left;
	line-height: 1.6;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.cookie-compact h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 1.2rem;
}
.cookie-compact p {
	margin-bottom: 15px;
	font-size: 0.95rem;
}
.cookie-button-row {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.cookie-button-row button {
	width: 100%;
	background-color: #0e92e6;
	border: none;
	color: #fff;
	cursor: pointer;
	padding: 10px 15px;
	border-radius: 5px;
	font-size: 0.95rem;
	transition: background 0.3s;
}
.cookie-button-row button:hover {
	opacity: 0.9;
}
/* Rechtliche Links in der kompakten Ansicht */
.cookie-legal {
	margin-top: 10px;
	text-align: center;
	font-size: 0.8rem;
	color: #000;
}
.cookie-legal a {
	color: #000;
	text-decoration: none;
	margin: 0 5px;
}

/* --- Erweiterte Einstellungen --- */
.cookie-extended {
	background: #fff;
	width: 90%;
	max-width: 600px;
	padding: 20px;
	border-radius: 8px;
	text-align: left;
	line-height: 1.6;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	position: relative;
	height: 64vh;
	display: flex;
	flex-direction: column;
}
.cookie-extended h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 1.2rem;
}
.cookie-extended p {
	font-size: 0.95rem;
	margin-bottom: 15px;
}
/* Scrollbarer Bereich für Toggle-Reihen – Scrollbalken soll bündig rechts erscheinen */
.cookie-options {
	flex: 1;
	overflow-y: scroll;
	margin-right: -20px;
	padding-right: 20px;
}
/* Der "Speichern & schließen"-Button bleibt außerhalb des Scrollbereichs */
.extended-buttons {
	margin-top: 10px;
}
.extended-buttons button {
	width: 100%;
	background-color: #0e92e6;
	border: none;
	color: #fff;
	cursor: pointer;
	padding: 10px 20px;
	border-radius: 5px;
	font-size: 0.95rem;
}
/* Kleine rechtliche Links am Ende der erweiterten Ansicht */
.cookie-legal-extended {
	margin-top: 10px;
	text-align: center;
	font-size: 0.8rem;
	color: #000;
}
.cookie-legal-extended a {
	color: #000;
	text-decoration: none;
	margin: 0 5px;
}

/* Schließ-"X" oben rechts – nicht fett */
.cookie-close {
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
	color: #000;
}

/* Toggles (Slider) */
.toggle-row {
	display: flex;
	align-items: center;
	margin: 15px 0;
}
.toggle-label {
	flex: 1;
	font-weight: 500;
	font-size: 0.95rem;
}
.toggle-controls {
	display: flex;
	align-items: center;
	gap: 8px;
}
.toggle-switch {
	position: relative;
	width: 40px;
	height: 20px;
}
.toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	border-radius: 34px;
	transition: 0.4s;
}
.slider:before {
	position: absolute;
	content: '';
	height: 16px;
	width: 16px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	border-radius: 50%;
	transition: 0.4s;
}
input:checked + .slider {
	background-color: #0e92e6;
}
input:checked + .slider:before {
	transform: translateX(20px);
}
/* Pfeil-Icon */
.arrow-icon {
	font-size: 1rem;
	color: #0e92e6;
	cursor: pointer;
	user-select: none;
}
/* Platzhalter für nicht aufklappbare Reihen */
.arrow-icon.placeholder {
	width: 1rem;
	display: inline-block;
}
/* Aufklappbarer Inhalt */
.cookie-details {
	display: none;
	padding-left: 0;
	font-size: 0.9rem;
	color: #333;
	margin: 8px 0 0 0;
}
.cookie-details ul {
	padding-left: 40px;
}

/* Responsive Fixes */
@media (max-width: 480px) {
	.cookie-extended {
		padding: 15px;
	}
}
	
/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Navigation Anpassungen */
    .mobile-nav {
        top: 77px; /* Startpunkt direkt unter dem Header */
    }

    /* Navigationsmenü auf dem Desktop ausblenden */
    .nav {
        display: none;
    }

    /* Features Section Anpassungen */
	.features .feature-grid {
		flex-direction: column;
		align-items: center;
		gap: 20px; /* Kein Abstand zwischen den Elementen */
		padding: 20px 0; /* Abstand oben und unten beibehalten */
	}

	.feature-item {
		padding: 0; /* Kein extra Abstand innerhalb der Items */
	}

    .feature-item i {
        font-size: 2rem; /* Symbolgröße */
        margin-bottom: 10px; /* Abstand unter dem Symbol */
    }

    .feature-item h3 {
        margin: 0; /* Kein zusätzlicher Abstand */
        white-space: normal; /* Umbrechen erlauben */
    }
}