body {
	font-family: Roboto Condensed, sans-serif;
	font-size: 19px;
}

header {
	background-color: #fefefe;
	width: 100%;
	height: 130px;
	position: sticky;
	top: 0;
  z-index: 1000;
	display: flex;
	box-shadow: rgba(10, 10, 10, 0.2) 0px 4px 2px 0px;
	font-size: 16px;


	.container {
		display: flex;
	}

	ul {
		padding: 0;
		margin-bottom: 0;
	}

.nav-search-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

/* Suchbutton */
#search-toggle {
	background: none;
	border: none;
	cursor: pointer;
	position: relative;
	width: 40px;
	height: 40px;
	padding: 0;
	display: flex;
	align-self: center;
	justify-self: center;
	align-items: center;
	justify-content: center;
	z-index: 20;
}

/* Icons überlagern */
#search-toggle .icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(1);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

#search-toggle .close-icon {
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.5);
}

/* Aktiv: Icons wechseln */
#search-toggle.active .search-icon {
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.5);
}

#search-toggle.active .close-icon {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

/* Navigation Overlay */
#search-overlay {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 0;               /* initial */
	overflow: hidden;
	background: #fff;
	transition: width 0.3s ease, padding 0.3s ease;
	z-index: 10;
	display: flex;
	align-items: center;
	padding: 0;
	box-sizing: border-box;
}

/* Aktiv: Overlay ausklappen */
#search-overlay.active {
	width: 100%;
	padding: 0 10px;
}

/* Navigation ausblenden, wenn Overlay aktiv */
#main-nav.inactive {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

/* Suchfeld Styling */
#search-overlay input[type="search"] {
	width: 100%;
	padding: 8px 12px;
	font-size: 1rem;
	border: 1px solid #ccc;
	border-radius: 4px;
}
}


.main_page {
	background-color: #fefefe;
}

.inhalt {
	background-color: #fefefe;
	position: relative;
	z-index: 10;
	
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}

.block-separator {
	color: var(--color-secondary);
	margin-bottom: 60px;
  margin-top: 60px;
}

.menu-haupt-navigation-container {
	display: flex;
  	flex-direction: column;
  	justify-content: center;

  	.top_bar {
		list-style-type: none;
		display: flex;
		padding-left: 0;

	 	li {
      background-color: #fefefe;
      padding: 2px;
	 		a {
	 			display: block;
	 			padding: 1rem;
	 			width: 100%;
	 			text-decoration: none;
      	color: var(--color-primary);
	 		}

	 		a:focus {
				background-color: #C2C2C2;
	 		}

	 		ul {
	 			display: none;
	 			position: absolute;
	 			background: none;
	 			box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
	 			margin: 0;
	 			list-style-type: none;
	 			width: auto;
	 			padding: 0;
	 		}
		}

		li:hover {
			background-color: #C2C2C2;
		}

		.menu-item-has-children:focus-within .sub-menu {
			display: block;
		}

		.menu-item-has-children:hover .sub-menu {
			display: block;
		}
	}
}

.site-logo {
	height: auto;
	display: flex;
	flex-direction: column;
  justify-content: center;
  margin-right: 25px;
	.custom-logo {
  		max-height: 80px; /* Höhe begrenzen */
  		width: auto;      /* Breite automatisch anpassen */
	}
}

.header-image {
	margin-left: 25px;
}

/* Footer */
footer {
	margin-top: 60px;
	color: var(--color-secondary);
	background-color: #F0F0F0;
	border-top: 10px solid #0F6AAD;
	font-size: 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* 3 gleich breite Spalten */
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-column h3 {
	font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer-menu {
  list-style: square;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 0.3rem;
}

.footer-menu a {
  text-decoration: none;
  color: inherit;
}

.footer-menu a:hover {
  color: var(--color-link);
}

.footer-image {
	margin-top: 30px;
}

/*Main*/
.main {
  position: relative;
  display: flex;
  height: 400px; /* Höhe des Hero-Bereichs */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 5rem;
  margin-bottom: -50px;
}

.main-overlay {
  background-color: rgba(0, 0, 0, 0.5); /* leicht transparent */
  padding: 2rem;
  border-radius: 12px;
  color: var(--color-main);
  width: fit-content;
  max-width: 400px;
}

.main-title {
  font-size: 29px;
  font-weight: bold;
  text-transform: uppercase;
}

.main-subtitle {
  font-size: 19px;
}

/* Breadcrumb */
.breadcrumb-div {
	display: flex;
	height: 50px;
	padding-left: 50px;
	font-size: 17px;
	margin-bottom: 50px;

	p {
		margin-left: 15px;
		margin-bottom: 0;
		align-content: center;
	}
}

.breadcrumb {
	margin-left: 15px;
  	color: var(--color-primary);
  	justify-content: center;
  	margin-bottom: 0;
  	height: 100%;
	align-content: center;

  	a {
		margin-left: 15px;
  		text-decoration: underline;
  		color: var(--color-primary);
	}

	p {
		margin-left: 15px;
	}
}

.breadcrumb a:hover {
	color: var(--color-link);
}

.search-number {
    display: inline-block;
    color: #888;
    margin-right: 0.5em;
    font-weight: 600;
}

.search-highlight {
    background-color: none;
    color: var(--color-link);
}

.card-search {
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

/* Letzte Karte ohne Trennlinie */
.card-search:last-of-type {
    border-bottom: none;
}

.center {
	text-align: center;
}

.margin-top-40 {
	margin-top: 40px;
}

/* Gesamte Suchform */
.search-form {
	display: flex;
	flex-direction: column;
	position: relative;
	width: 100%;
	margin: 0 auto;
	font-family: inherit;
}

/* Label */
.search-label {
	font-size: 0.9rem;
	color: #555;
	margin-bottom: 6px;
	padding-left: 4px;
}

/* Wrapper mit Rahmen */
.search-wrapper {
	display: flex;
	align-items: center;
	border: 2px solid #ccc;
	border-radius: 9999px; /* schön rund */
	padding: 4px 10px;
	background: #fff;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover/Fokus-Effekte */
.search-wrapper:focus-within {
	border-color: #000;
	box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}

/* Input-Feld */
.search-wrapper input[type="text"] {
	flex: 1;
	border: none;
	outline: none;
	width: 100%;
	padding: 8px 10px;
	font-size: 1rem;
	background: transparent;
	color: #000;
}

/* Placeholder Styling (optional) */
.search-wrapper input::placeholder {
	color: #aaa;
}

/* Button im Feld */
.search-btn {
	border: none;
	background: none;
	cursor: pointer;
	padding: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background 0.2s ease, transform 0.2s ease;
}

/* Hover Effekt */
.search-btn:hover {
	background: rgba(0,0,0,0.05);
	transform: scale(1.05);
}

/* SVG-Pfeil */
.search-btn svg {
	stroke: #000;
	width: 20px;
	height: 20px;
}