/**
 * Nickel – Theme-Builder-Header
 * Top-Bar + Logo/Menü-Zeile (Divi Flex)
 */

/* -------------------------------------------------------------------------- */
/* Top-Bar                                                                      */
/* -------------------------------------------------------------------------- */

.nickel-site .et-l--header .et_pb_section_0_tb_header {
	background: #1d2327;
}

.nickel-site .et-l--header .et_pb_section_0_tb_header .et_pb_row {
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 8px !important;
	padding-bottom: 8px !important;
	min-height: 36px;
}

.nickel-site .et-l--header .et_pb_section_0_tb_header .et_pb_column {
	flex: 0 1 auto !important;
	width: auto !important;
	max-width: none !important;
}

.nickel-site .et-l--header .et_pb_section_0_tb_header .et_pb_text,
.nickel-site .et-l--header .et_pb_section_0_tb_header .et_pb_text_inner,
.nickel-site .et-l--header .et_pb_section_0_tb_header .et_pb_text_inner p,
.nickel-site .et-l--header .et_pb_section_0_tb_header .et_pb_text_inner a {
	margin: 0;
	font-family: var(--font-body);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.92);
}

.nickel-site .et-l--header .et_pb_section_0_tb_header .et_pb_text_inner a:hover {
	color: #fff;
}

.nickel-site .et-l--header .et_pb_column_1_tb_header {
	margin-left: auto;
	text-align: right;
}

/* -------------------------------------------------------------------------- */
/* Logo + Navigation                                                            */
/* -------------------------------------------------------------------------- */

.nickel-site .et-l--header .et_pb_section_1_tb_header {
	background: #fff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nickel-site .et-l--header .et_pb_row--with-menu {
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: nowrap !important;
	padding-top: 12px !important;
	padding-bottom: 12px !important;
	min-height: 72px;
}

.nickel-site .et-l--header .et_pb_column_2_tb_header {
	flex: 0 1 auto !important;
	width: auto !important;
	max-width: min(280px, 55%) !important;
}

.nickel-site .et-l--header .et_pb_column_3_tb_header {
	flex: 1 1 auto !important;
	width: auto !important;
	max-width: none !important;
	align-items: flex-end;
	justify-content: center;
}

.nickel-site .et-l--header .et_pb_image_0_tb_header {
	margin: 0 !important;
}

.nickel-site .et-l--header .et_pb_image_0_tb_header a {
	display: inline-flex;
	line-height: 0;
}

.nickel-site .et-l--header .et_pb_image_0_tb_header img {
	display: block;
	width: auto !important;
	max-width: 100%;
	height: auto;
	max-height: 52px;
}

/* -------------------------------------------------------------------------- */
/* Mobile                                                                       */
/* -------------------------------------------------------------------------- */

@media (max-width: 980px) {
	.nickel-site .et-l--header .et_pb_section_0_tb_header .et_pb_row {
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: flex-start;
		justify-content: center;
		gap: 2px;
		min-height: 0;
		padding-top: 8px !important;
		padding-bottom: 8px !important;
	}

	.nickel-site .et-l--header .et_pb_section_0_tb_header .et_pb_column {
		width: 100% !important;
		flex: 0 0 auto !important;
	}

	.nickel-site .et-l--header .et_pb_column_1_tb_header {
		margin-left: 0;
		text-align: left;
	}

	.nickel-site .et-l--header .et_pb_section_0_tb_header .et_pb_text_inner,
	.nickel-site .et-l--header .et_pb_section_0_tb_header .et_pb_text_inner p,
	.nickel-site .et-l--header .et_pb_section_0_tb_header .et_pb_text_inner a {
		font-size: 0.625rem;
		letter-spacing: 0.04em;
		white-space: nowrap;
	}

	.nickel-site .et-l--header .et_pb_section_0_tb_header .et_pb_column_1_tb_header .et_pb_text_inner {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.nickel-site .et-l--header .et_pb_section_0_tb_header .et_pb_column_1_tb_header .et_pb_text_inner::-webkit-scrollbar {
		display: none;
	}

	/* Logo links, Burger rechts – eine Zeile */
	.nickel-site .et-l--header .et_pb_row--with-menu {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 12px;
		min-height: 64px;
		padding-top: 10px !important;
		padding-bottom: 10px !important;
	}

	.nickel-site .et-l--header .et_pb_column_2_tb_header {
		flex: 1 1 auto !important;
		width: auto !important;
		max-width: calc(100% - 56px) !important;
		min-width: 0;
	}

	.nickel-site .et-l--header .et_pb_column_3_tb_header {
		flex: 0 0 auto !important;
		width: auto !important;
		max-width: none !important;
		align-items: flex-end !important;
		justify-content: center !important;
	}

	.nickel-site .et-l--header .et_pb_menu,
	.nickel-site .et-l--header .et_pb_menu_inner_container {
		width: auto !important;
		margin: 0 !important;
	}

	.nickel-site .et-l--header .et_pb_image_0_tb_header img {
		max-height: 44px;
	}
}

@media (max-width: 480px) {
	/* Utility-Links auf sehr schmalen Screens ausblenden – Kontakt bleibt */
	.nickel-site .et-l--header .et_pb_column_1_tb_header {
		display: none;
	}

	.nickel-site .et-l--header .et_pb_section_0_tb_header .et_pb_row {
		padding-top: 6px !important;
		padding-bottom: 6px !important;
	}
}
