html, body {
    overflow-x: hidden;
	scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Roboto, sans-serif;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: white;
    border-bottom: 1px solid black;
    z-index: 1000;
	display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}


.logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 30px;
}
.logo img {
    height: 100%;
    width: auto;
}

/* === LINKER MENÜBEREICH (mit Hamburger) === */
.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-left a {
    color: black;
    text-decoration: none;
    border: 1px solid transparent;
    padding: 4px 6px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    cursor: cell;
}

/* === RECHTER BEREICH MIT ICON === */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
	margin-right: 20px; /* optional, redundant bei padding, aber sicher */
}

/* === MENÜLINKS UND ICONS === */
header a,
header button {
    text-decoration: none;
    color: black;
    background: none;
    border: none;
    font-size: 14px;
    font-family: inherit;
    cursor: cell;
    padding: 4px 6px;
}

header a {
    border: 1px solid transparent;
    box-sizing: border-box;
    padding: 4px 6px;
    transition: border-color 0.2s ease;
}

header a:hover {
    border-color: black;
}

/* Icon-Stil für Contact */
.contact-icon {
    width: 20px;
	pointer-events: auto;
    cursor: default;
    border: none;
}

/* Kontakt-Icon */
.contact-icon img {
    height: 20px;
    width: auto;
    display: inline-block;
}

.contact-icon:hover img {
    border: none;
    background: none;
    cursor: cell;

}


/* Scroll-container für den unteren Bereich */
.scroll-container {
    position: fixed; /* Fixiert das Element */
    bottom: 0; /* Am unteren Rand des Viewports */
    left: 0;
    width: 100%;
    background-color: #4A90E2;
    color: white;
    overflow: hidden;
    z-index: 9999; /* Höchste Priorität */
    padding: 10px 0;
}

.scroll-text {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    font-size: 18px;
    font-family: Gotham, 'Helvetica Neue', Helvetica, Arial, 'sans-serif'sans-serif;  /* Verwende den eigenen Webfont für die Buttons */
	font-weight: bold;
    animation: scroll 10s linear infinite;
    text-shadow: 
        -1px -1px 0 black,  
         1px -1px 0 black,
        -1px  1px 0 black,
         1px  1px 0 black;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* === HAMBURGER ICON === */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: cell;
    z-index: 10010;
}
.hamburger span {
    display: block;
    height: 2px;
    background: black;
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* === ANIMATION ZU X === */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* Mobile Menü */
.mobile-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    background: #FFFFFF;
    width: 100vw;
    height: 100vh;
    z-index: 10001;
    padding-top: 20px;
    box-sizing: border-box;
}

.mobile-menu.show {
    display: flex;
}

.mobile-menu-logo {
    margin-top: 60px;
    margin-left: 20px;
    margin-bottom: 40px;
}


.mobile-menu-logo img {
    height: 30px;
    width: auto;
}

.mobile-menu a {
    width: 100%;
    padding: 15px 20px;
    font-size: 24px;
    color: black;
    text-decoration: none;
    border-top: 1px solid black;
    box-sizing: border-box;
	cursor: cell;
}

.mobile-menu a:last-child {
    border-bottom: 1px solid black;
}

.mobile-menu a:hover {
    background: none;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
}


.intro-video {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
	border-bottom: 1px solid black;
}

.intro-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-button {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    color: white;
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* --- DESKTOP-FILTER-MENÜ --- */
.filter-submenu {
    position: fixed;
    top: 59px; /* direkt unter dem Header */
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: white;
    transition: height 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 999;
    pointer-events: auto;
}

.filter-submenu.show {
    height: 40px;
    pointer-events: auto;
}

.filter-submenu a {
    color: black;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 6px;
    transition: border-color 0.2s ease;
    cursor: cell;
}

.filter-submenu a:hover {
    border-color: black;
}

.filter-submenu a.active,
.mobile-filter-content a.active {
    font-weight: bold;
    text-decoration: underline;
    color: black;
}

.filter-toggle {
  	display: inline-block;
  	/*padding: 10px 20px;*/
	color: black;
	font-size: 14px;
    text-decoration: none;
    border: 1px solid transparent;
    padding: 4px 6px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    cursor: cell;
}

.filter-toggle:hover {
    border-color: black;
}

.mobile-filter-button {
    display: none;
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: black;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    z-index: 999;
    cursor: pointer;
}

.mobile-filter-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px; /* gleicher Abstand in beide Richtungen */
    padding: 80px 20px 20px 20px;
}

.mobile-filter-content a {
    font-size: 18px;
    color: black;
    text-decoration: none;
    border: 1px solid black;
    padding: 10px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.5); /* weiß, 50% Deckkraft */
    display: flex;
    justify-content: center;  /* horizontal zentriert */
    align-items: center;      /* vertikal zentriert */
    height: 60px;             /* oder eine andere feste Höhe */
    box-sizing: border-box;
}




/* Overlay-Styling */
.mobile-filter-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    flex-direction: column;
    padding: 100px 20px 40px;
    gap: 20px;
    opacity: 0;
    pointer-events: none;
}


.mobile-filter-overlay.show {
    display: flex;
	opacity: 1;
    pointer-events: auto;
}

/* Inhalt: gleiche Struktur wie Submenü */
.mobile-filter-content a {
    font-size: 18px;
    color: black;
    text-decoration: none;
    border: 1px solid black;
    padding: 10px;
    text-align: left;
}

/* Schließen-Button */
.close-mobile-filter {
    background: none;
    border: none;
    font-size: 32px;
    color: black;
    align-self: flex-end;
    margin-top: auto;
    cursor: cell;
}

.filter-button.active {
  font-weight: bold;
  color: black;
  text-decoration: underline;
}


@media (max-width: 768px) {
    .nav-left a {
    display: none;
	}

	.filter-submenu {
	display: none;
	}

	.filter-toggle{
	display: none;
	}
	
    .hamburger {
        display: flex;
    }

    .mobile-menu.show {
        display: flex;
    }

    .nav-right {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        gap: 20px;
    }
	
	    .mobile-filter-button {
        display: block;
    }
}




/* Desktop-spezifisch */
@media (min-width: 769px) {
  .filter-submenu {
    height: 0;
    overflow: hidden;
    background: white;
    border-bottom: 1px solid black;
    transition: height 0.3s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .filter-hover-area:hover .filter-submenu {
    height: 40px;
    pointer-events: auto;
  }
}



