:root {
	--brand-orange: #fda33b;
	--brand-orange-light: #ffc27a;
	--brand-navy: #1a3c4c;
	--brand-navy-deep: #122c38;
	--brand-teal: #50c1cd;
}

/* Top bar */

.site_topbar {
	background: linear-gradient(90deg, var(--brand-navy-deep) 0%, var(--brand-navy) 100%);
	color: #b9cbd3;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	line-height: 1.4;
}

.site_topbar_inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 44px;
}

.site_topbar_inner::before,
.site_topbar_inner::after {
	display: none;
}

.site_topbar .site_topbar_info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site_topbar .site_topbar_info li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
	margin: 0;
	padding: 0;
}

.site_topbar .site_topbar_info li::before {
	display: none;
}

.site_topbar .site_topbar_info [class^='icon-'] {
	color: var(--brand-orange);
	font-size: 14px;
}

.site_topbar .site_topbar_info [class^='icon-']::before {
	margin: 0;
}

body .site_topbar a {
	color: #b9cbd3;
	transition: color 0.25s ease;
}

body .site_topbar a:hover {
	color: var(--brand-orange);
}

.site_topbar_socials {
	display: flex;
	gap: 6px;
}

body .site_topbar .site_topbar_socials .social_item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin: 0;
	border-radius: 50%;
	color: #ffffff;
	font-size: 13px;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

body .site_topbar .site_topbar_socials .social_item:hover {
	background-color: var(--brand-orange);
	color: var(--brand-navy);
	transform: translateY(-2px);
}

.site_topbar_socials .social_item [class^='icon-']::before {
	margin: 0;
}

.site_topbar_socials .site_footer_svg_icon {
	display: block;
	width: 13px;
	height: 13px;
}

/* Main navigation bar */

body .top_panel .top_panel_navi {
	background-color: #ffffff;
	border-bottom: 0;
	box-shadow: 0 6px 24px rgba(26, 60, 76, 0.08);
	transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

body .top_panel .top_panel_navi.sc_layouts_row_fixed_on {
	background-color: rgba(255, 255, 255, 0.98);
	box-shadow: 0 10px 30px rgba(26, 60, 76, 0.15);
}

body .top_panel .top_panel_navi .sc_layouts_logo img {
	max-height: 64px;
}

/* The legacy page title bar is hidden site-wide; hide it before first paint */

body .top_panel .top_panel_title {
	display: none;
}

/* Logo left, menu centred, search right */

@media (min-width: 768px) {
	body .top_panel .top_panel_navi .columns_wrap {
		display: flex;
		align-items: center;
		margin-left: 0;
	}

	body .top_panel .top_panel_navi .columns_wrap::before,
	body .top_panel .top_panel_navi .columns_wrap::after {
		display: none;
	}

	body .top_panel .top_panel_navi .columns_wrap > .column-1_4 {
		flex: 0 0 auto;
		width: auto;
		padding-left: 0;
	}

	body .top_panel .top_panel_navi .columns_wrap > .column-3_4 {
		display: flex;
		flex: 1 1 0;
		align-items: center;
		width: auto;
		min-width: 0;
		padding-left: 0;
	}

	body .top_panel .top_panel_navi .columns_wrap > .column-3_4 > .sc_layouts_item:first-child {
		display: flex;
		flex: 1 1 0;
		justify-content: center;
		min-width: 0;
		margin: 0 16px;
	}

	body .top_panel .top_panel_navi .columns_wrap > .column-3_4 > .sc_layouts_item:first-child::after {
		display: none;
	}

	body .top_panel .top_panel_navi .columns_wrap > .column-3_4 > .sc_layouts_item:last-child {
		display: flex;
		flex: 0 0 auto;
		justify-content: flex-end;
		margin: 0;
	}
}

@media (min-width: 1400px) {
	body .top_panel .top_panel_navi .columns_wrap > .column-1_4,
	body .top_panel .top_panel_navi .columns_wrap > .column-3_4 > .sc_layouts_item:last-child {
		flex-basis: 200px;
	}
}

body .top_panel .top_panel_navi.sc_layouts_row_fixed_on .sc_layouts_logo img {
	max-height: 48px;
}

body .top_panel .menu_main_nav > li > a {
	padding: 1em 0.75em;
	color: var(--brand-navy) !important;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: 600;
}

body .top_panel .menu_main_nav > li > a::before {
	content: '';
	position: absolute;
	left: 0.75em;
	right: 0.75em;
	bottom: 0.45em;
	height: 2px;
	border-radius: 2px;
	background-color: var(--brand-orange);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.3s ease;
}

body .top_panel .menu_main_nav > li.menu-item-has-children > a::before {
	right: 1.6em;
}

body .top_panel .menu_main_nav > li > a:hover,
body .top_panel .menu_main_nav > li.sfHover > a,
body .top_panel .menu_main_nav > li.current-menu-item > a,
body .top_panel .menu_main_nav > li.current-menu-ancestor > a {
	color: var(--brand-orange) !important;
}

body .top_panel .menu_main_nav > li > a:hover::before,
body .top_panel .menu_main_nav > li.sfHover > a::before,
body .top_panel .menu_main_nav > li.current-menu-item > a::before,
body .top_panel .menu_main_nav > li.current-menu-ancestor > a::before {
	transform: scaleX(1);
}

/* "Kontakt" is styled as the call to action */

body .top_panel .menu_main_nav > li.menu-item-107 {
	margin-left: 10px;
}

body .top_panel .menu_main_nav > li.menu-item-107 > a {
	padding: 0.85em 1.6em;
	border-radius: 50px;
	background: linear-gradient(120deg, var(--brand-orange) 0%, var(--brand-orange-light) 100%);
	color: var(--brand-navy) !important;
	font-weight: 700;
	box-shadow: 0 8px 18px rgba(253, 163, 59, 0.35);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

body .top_panel .menu_main_nav > li.menu-item-107 > a::before {
	display: none;
}

body .top_panel .menu_main_nav > li.menu-item-107 > a:hover,
body .top_panel .menu_main_nav > li.menu-item-107.current-menu-item > a {
	background: var(--brand-navy);
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(26, 60, 76, 0.3);
}

/* Dropdown menus */

body .top_panel .menu_main_nav > li ul {
	width: 17em;
	padding: 0.8em 0;
	border-radius: 14px;
	border-top: 3px solid var(--brand-orange);
	background-color: #ffffff !important;
	box-shadow: 0 18px 40px rgba(26, 60, 76, 0.18);
	text-align: left;
}

body .top_panel .menu_main_nav > li > ul::before {
	display: none;
}

body .top_panel .menu_main_nav > li li > a {
	margin: 2px 0.8em;
	padding: 0.7em 1.1em;
	border-radius: 10px;
	color: var(--brand-navy) !important;
	font-size: 14px;
	font-weight: 600;
	text-transform: none;
	transition: background-color 0.2s ease, color 0.2s ease, padding 0.2s ease;
}

body .top_panel .menu_main_nav > li li > a:hover,
body .top_panel .menu_main_nav > li li.current-menu-item > a {
	padding-left: 1.4em;
	background-color: rgba(253, 163, 59, 0.12) !important;
	color: var(--brand-orange) !important;
}

/* "More" button holding the items that do not fit on tablet widths */

body .top_panel .menu_main_nav > li.menu-collapse {
	margin-left: 6px;
}

body .top_panel .menu_main_nav > li.menu-collapse > a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 50%;
	background-color: rgba(26, 60, 76, 0.07);
	transition: background-color 0.25s ease;
}

body .top_panel .menu_main_nav > li.menu-collapse > a::before {
	content: '';
	position: static;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background-color: currentColor;
	box-shadow: -7px 0 0 currentColor, 7px 0 0 currentColor;
	transform: none;
}

body .top_panel .menu_main_nav > li.menu-collapse > a::after {
	display: none;
}

body .top_panel .menu_main_nav > li.menu-collapse > a:hover,
body .top_panel .menu_main_nav > li.menu-collapse.sfHover > a {
	background-color: rgba(253, 163, 59, 0.18);
}

body .top_panel .menu_main_nav > li.menu-collapse > ul {
	right: 0;
	left: auto;
}

/* Search button */

body .top_panel .search_style_fullscreen.header_search:not(.search_opened) .search_submit {
	position: relative;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background-color: rgba(26, 60, 76, 0.06) !important;
	color: var(--brand-navy) !important;
	font-size: 16px;
	transition: background-color 0.25s ease, color 0.25s ease;
}

body .top_panel .search_style_fullscreen.header_search:not(.search_opened) .search_submit:hover {
	background-color: var(--brand-orange) !important;
	color: #ffffff !important;
}

/* Mobile menu button */

body .top_panel .sc_layouts_menu_mobile_button .sc_layouts_item_link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: linear-gradient(120deg, var(--brand-orange) 0%, var(--brand-orange-light) 100%);
	box-shadow: 0 6px 16px rgba(253, 163, 59, 0.35);
}

body .top_panel .sc_layouts_menu_mobile_button .sc_layouts_item_icon {
	color: var(--brand-navy) !important;
	font-size: 20px;
}

/* Mobile fullscreen menu */

body .menu_mobile.menu_mobile_fullscreen .menu_mobile_inner {
	background: linear-gradient(160deg, var(--brand-navy) 0%, var(--brand-navy-deep) 100%);
}

body .menu_mobile .menu_mobile_inner .sc_layouts_logo {
	display: inline-block;
	padding: 10px 16px;
	border-radius: 14px;
	background-color: #ffffff;
}

body .menu_mobile .menu_mobile_nav_area li > a {
	color: #ffffff !important;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
}

body .menu_mobile .menu_mobile_nav_area li > a:hover,
body .menu_mobile .menu_mobile_nav_area li.current-menu-item > a,
body .menu_mobile .menu_mobile_nav_area li.current-menu-ancestor > a {
	color: var(--brand-orange) !important;
}

body .menu_mobile .search_mobile .search_field {
	border: 1px solid rgba(255, 255, 255, 0.15);
	background-color: rgba(255, 255, 255, 0.08) !important;
	color: #ffffff !important;
}

body .menu_mobile .search_mobile .search_submit {
	color: var(--brand-orange) !important;
}

body .menu_mobile .socials_mobile {
	display: flex;
	justify-content: center;
	gap: 10px;
}

body .menu_mobile .socials_mobile .social_item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.08);
	color: #ffffff !important;
	font-size: 15px;
}

body .menu_mobile .socials_mobile .social_item:hover {
	background-color: var(--brand-orange);
	color: var(--brand-navy) !important;
}

body .menu_mobile .socials_mobile .social_item [class^='icon-']::before {
	margin: 0;
}

body .menu_mobile .menu_mobile_close::before,
body .menu_mobile .menu_mobile_close::after {
	border-color: var(--brand-orange);
}

/* Responsive */

@media (max-width: 1279px) {
	.site_topbar_hours {
		display: none !important;
	}

	body .top_panel .menu_main_nav > li > a {
		padding: 1em 0.55em;
		font-size: 13px;
	}

	body .top_panel .menu_main_nav > li.menu-item-107 > a {
		padding: 0.85em 1.2em;
	}
}

@media (max-width: 767px) {
	.site_topbar_info li:not(:first-child) {
		display: none !important;
	}

	.site_topbar_inner {
		min-height: 40px;
		gap: 10px;
	}

	.site_topbar_socials {
		gap: 2px;
	}

	body .site_topbar .site_topbar_socials .social_item {
		width: 28px;
		height: 28px;
	}
}
