.ab-header {
	position: relative;
	z-index: 100;
	background: #fff;
	font-family: Alexandria, "Trebuchet MS", sans-serif;
	color: #2e3192;
}

.ab-header svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
	flex: 0 0 auto;
}

.ab-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 4px 12px 2px 18px;
}

.ab-top-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
}

.ab-top-list li,
.ab-top-list a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #2e3192;
	text-decoration: none;
}

.ab-ancv {
	width: 168px;
	height: auto;
	margin-right: 2%;
}

.ab-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 140px;
	padding: 8px 20% 10px 4px;
	background: #2e3192 url("https://autobecane.com/wp-content/uploads/2025/02/devanture-autobecane.png") bottom right / 27% auto no-repeat;
	border-bottom: 2px solid #fff;
	color: #fff;
}

.ab-logo {
	flex: 0 0 150px;
	display: flex;
	justify-content: center;
}

.ab-logo img {
	display: block;
	width: 118px;
	height: auto;
}

.ab-bar-copy {
	flex: 1 1 auto;
	min-width: 0;
}

.ab-headline {
	margin: 0 0 10px;
	text-align: center;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.35;
	white-space: nowrap;
}

.ab-words {
	display: inline-grid;
	vertical-align: bottom;
	margin: 0 0.2em;
	font-weight: 700;
	color: #fcfc3c;
}

.ab-word {
	grid-area: 1 / 1;
	opacity: 0;
	animation: ab-word 8s infinite;
}

.ab-word:nth-child(2) { animation-delay: 2s; }
.ab-word:nth-child(3) { animation-delay: 4s; }
.ab-word:nth-child(4) { animation-delay: 6s; }

@keyframes ab-word {
	0%, 18% { opacity: 1; }
	25%, 100% { opacity: 0; }
}

.ab-burger {
	display: none;
}

.ab-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ab-nav > li {
	display: flex;
	align-items: center;
	position: relative;
}

.ab-nav > li + li::before {
	content: "";
	height: 16px;
	margin: 0 16px;
	border-left: 2px dotted #fcfc3c;
}

.ab-nav a {
	color: #fff;
	font-size: 20px;
	font-weight: 300;
	line-height: 1;
	text-decoration: none;
}

.ab-nav a:hover,
.ab-nav a:focus-visible,
.ab-nav a[aria-current="page"] {
	color: #fcfc3c;
}

.ab-sub-toggle {
	margin-left: 6px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 12px;
	line-height: 1;
	cursor: pointer;
}

.ab-sub {
	display: none;
	position: absolute;
	top: calc(100% + 18px);
	left: -20px;
	z-index: 30;
	align-items: center;
	gap: 22px;
	width: max-content;
	max-width: min(760px, 80vw);
	padding: 18px 26px 16px;
	background: #2e3192;
}

.ab-has-sub:hover > .ab-sub,
.ab-has-sub:focus-within > .ab-sub,
.ab-has-sub.is-open > .ab-sub {
	display: flex;
}

.ab-sub p {
	margin: 0;
	max-width: 150px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.25;
	text-align: left;
}

.ab-fleet {
	display: grid;
	grid-template-columns: repeat(4, 92px);
	gap: 14px;
	text-align: center;
}

.ab-fleet a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	font-size: 16px;
	font-weight: 500;
}

.ab-fleet img {
	width: 86px;
	height: 78px;
	object-fit: contain;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

@media (max-width: 1200px) {
	.ab-headline {
		font-size: 16px;
	}

	.ab-nav a {
		font-size: 17px;
	}

	.ab-nav > li + li::before {
		margin: 0 10px;
	}
}

@media (max-width: 1024px) {
	.ab-top-list,
	.ab-ancv {
		display: none;
	}

	.ab-bar {
		position: sticky;
		top: 0;
		min-height: 0;
		padding: 12px 14px 16px;
		background-size: 46% auto;
		flex-wrap: wrap;
	}

	.ab-logo {
		flex-basis: 92px;
	}

	.ab-logo img {
		width: 84px;
	}

	.ab-headline {
		font-size: 14px;
		white-space: normal;
		text-align: left;
		padding-right: 28px;
	}

	.ab-burger {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		top: 16px;
		right: 12px;
		width: 42px;
		height: 42px;
		border: 0;
		background: transparent;
		color: #fff;
		cursor: pointer;
	}

	.ab-burger-bars,
	.ab-burger-bars::before,
	.ab-burger-bars::after {
		display: block;
		width: 22px;
		height: 2px;
		background: currentColor;
		position: relative;
	}

	.ab-burger-bars::before,
	.ab-burger-bars::after {
		content: "";
		position: absolute;
		left: 0;
	}

	.ab-burger-bars::before { top: -7px; }
	.ab-burger-bars::after { top: 7px; }

	.ab-nav-wrap {
		display: none;
		flex: 1 1 100%;
		padding-top: 8px;
	}

	.ab-header.is-open .ab-nav-wrap {
		display: block;
	}

	.ab-nav,
	.ab-nav > li {
		flex-direction: column;
		align-items: flex-start;
	}

	.ab-nav {
		gap: 12px;
	}

	.ab-nav > li + li::before {
		content: none;
	}

	.ab-sub {
		position: static;
		width: auto;
		max-width: none;
		margin-top: 10px;
		padding: 12px;
		flex-wrap: wrap;
	}
}
