:is(
	#top.page-id-1056,
	#top.page-id-1060,
	#top.page-id-2088,
	#top.page-id-2350,
	#top.page-id-673,
	#top.page-id-2076
) #main > .container_wrap_first > .container > .content {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

:is(
	#top.page-id-1056,
	#top.page-id-1060,
	#top.page-id-2088,
	#top.page-id-2350
) #av_section_1 {
	display: none !important;
}

:is(
	#top.page-id-1056,
	#top.page-id-1060,
	#top.page-id-2088,
	#top.page-id-2350
) #av_section_2 {
	min-height: 291px;
	background-color: #cbc5cf !important;
	background-image: url("https://oblaender.ch/wp-content/uploads/2019/02/bannerbg.jpg"), linear-gradient(to right top, #cbc5cf, #fff) !important;
	background-position: top left !important;
	background-repeat: repeat !important;
	background-size: cover !important;
}

:is(
	#top.page-id-1056,
	#top.page-id-1060,
	#top.page-id-2088,
	#top.page-id-2350
) #av_section_2 > .container {
	min-height: 291px;
}

:is(
	#top.page-id-1056,
	#top.page-id-1060,
	#top.page-id-2088,
	#top.page-id-2350
) #av_section_2 .content {
	padding-top: 190px !important;
	padding-bottom: 34px !important;
}

:is(
	#top.page-id-1056,
	#top.page-id-1060,
	#top.page-id-2088,
	#top.page-id-2350
) #av_section_2 .flex_column {
	width: 100% !important;
	margin: 0 !important;
}

:is(
	#top.page-id-1056,
	#top.page-id-1060,
	#top.page-id-2088,
	#top.page-id-2350
) #av_section_2 .av-special-heading,
:is(
	#top.page-id-1056,
	#top.page-id-1060,
	#top.page-id-2088,
	#top.page-id-2350
) #av_section_2 .av-special-heading-tag {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
}

:is(
	#top.page-id-1056,
	#top.page-id-1060,
	#top.page-id-2088,
	#top.page-id-2350
) #av_section_2 h1.av-special-heading-tag {
	color: #242424 !important;
	font-size: clamp(2.1rem, 3.1vw, 2.65rem) !important;
	font-weight: 400 !important;
	line-height: 1.08 !important;
	letter-spacing: -0.025em !important;
	text-transform: none !important;
}

:is(
	#top.page-id-1056,
	#top.page-id-1060,
	#top.page-id-2088,
	#top.page-id-2350
) #av_section_2 .scroll-down-link {
	display: none !important;
}

#top .q76-legal-shell,
#top .q76-privacy-shell {
	width: 100% !important;
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

/* Ruhigere Rechtsseiten: Inhalt und Raster bleiben erhalten, die Akzente treten zurück. */
#top .q76-legal-shell .q76-legal-card,
#top .q76-privacy-shell .q76-privacy-section {
	background: transparent;
	border-top: 1px solid rgba(48, 48, 46, 0.16);
	box-shadow: none;
}

#top .q76-legal-shell .q76-legal-grid {
	gap: 0 32px;
}

#top .q76-legal-shell .q76-legal-card {
	padding: 28px 0 30px;
}

#top .q76-legal-shell .q76-legal-card h2 {
	margin-bottom: 14px !important;
	color: #30302e !important;
	font-size: clamp(21px, 1.85vw, 27px) !important;
	font-weight: 500 !important;
	letter-spacing: -0.012em !important;
}

#top .q76-privacy-shell .q76-privacy-intro {
	padding: 27px 32px;
	border-left: 2px solid rgba(168, 77, 49, 0.4);
	background: rgba(239, 237, 232, 0.38);
	box-shadow: none;
	color: #30302e;
}

#top .q76-privacy-shell .q76-privacy-stack {
	gap: 0;
}

#top .q76-privacy-shell .q76-privacy-section {
	padding: 31px 0 33px;
}

#top .q76-privacy-shell .q76-privacy-section h2 {
	margin-bottom: 16px !important;
	color: #30302e !important;
	font-size: clamp(22px, 1.95vw, 28px) !important;
	font-weight: 500 !important;
	letter-spacing: -0.012em !important;
}

#top .q76-privacy-shell .q76-privacy-section h3,
#top .q76-legal-shell .q76-legal-card a,
#top .q76-privacy-shell .q76-privacy-section a {
	color: #a84d31 !important;
}

#top .q76-legal-shell .q76-agency-logo a {
	background: transparent;
}

:is(#top.page-id-673, #top.page-id-2076) #av_section_1 {
	min-height: calc(100vh - 32px) !important;
}

:is(#top.page-id-673, #top.page-id-2076) #av_section_1 > .container,
:is(#top.page-id-673, #top.page-id-2076) #av_section_1 .content {
	height: auto !important;
	min-height: calc(100vh - 32px) !important;
}

:is(#top.page-id-673, #top.page-id-2076) #av_section_1 > .container {
	display: block !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

:is(#top.page-id-673, #top.page-id-2076) #av_section_1 .content {
	display: block !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

:is(#top.page-id-673, #top.page-id-2076) #av_section_1 .flex_column_table {
	display: block !important;
	width: 100% !important;
	height: auto !important;
}

:is(#top.page-id-673, #top.page-id-2076) #av_section_1 .flex_column_table > .flex_column.avia-builder-el-first,
:is(#top.page-id-673, #top.page-id-2076) #av_section_1 .flex_column_table > .flex_column.avia-builder-el-last {
	display: none !important;
}

:is(#top.page-id-673, #top.page-id-2076) #av_section_1 .flex_column_table > .flex_column:not(.avia-builder-el-first):not(.avia-builder-el-last) {
	display: block !important;
	width: min(720px, 100%) !important;
	height: auto !important;
	margin: 0 !important;
	padding: clamp(210px, 27vh, 265px) 0 90px !important;
	text-align: left !important;
}

:is(#top.page-id-673, #top.page-id-2076) #av_section_1 .av-special-heading,
:is(#top.page-id-673, #top.page-id-2076) #av_section_1 .av-special-heading-tag {
	width: 100% !important;
	max-width: 680px !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
}

:is(#top.page-id-673, #top.page-id-2076) #av_section_1 h1.av-special-heading-tag {
	font-size: clamp(2.8rem, 6vw, 5.2rem) !important;
	font-weight: 500 !important;
	line-height: 0.98 !important;
	letter-spacing: -0.045em !important;
	text-transform: none !important;
}

:is(#top.page-id-673, #top.page-id-2076) #av_section_1 section[class*="av-q76-404-intro"] p {
	max-width: 620px !important;
	margin: 1.6rem 0 1.4rem !important;
	text-align: left !important;
}

:is(#top.page-id-673, #top.page-id-2076) #av_section_1 section[class*="av-q76-404-number"] .avia_textblock > div {
	margin: 0.08em 0 0.14em !important;
	font-size: clamp(6rem, 14vw, 10rem) !important;
	text-align: left !important;
}

:is(#top.page-id-673, #top.page-id-2076) #av_section_1 section[class*="av-q76-404-actions"] .avia_textblock > div {
	justify-content: flex-start !important;
	margin: 1.6rem 0 1.3rem !important;
	text-align: left !important;
}

:is(#top.page-id-673, #top.page-id-2076) #av_section_1 section[class*="av-q76-404-actions"] .avia_textblock > p {
	text-align: left !important;
}

@media (max-width: 767px) {
	#top .q76-legal-shell .q76-legal-card,
	#top .q76-privacy-shell .q76-privacy-section {
		padding: 22px 0 24px;
	}

	#top .q76-privacy-shell .q76-privacy-intro {
		padding: 22px;
	}

	:is(
		#top.page-id-1056,
		#top.page-id-1060,
		#top.page-id-2088,
		#top.page-id-2350
	) #av_section_2,
	:is(
		#top.page-id-1056,
		#top.page-id-1060,
		#top.page-id-2088,
		#top.page-id-2350
	) #av_section_2 > .container {
		min-height: 250px;
	}

	:is(
		#top.page-id-1056,
		#top.page-id-1060,
		#top.page-id-2088,
		#top.page-id-2350
	) #av_section_2 .content {
		padding-top: 172px !important;
		padding-bottom: 30px !important;
	}

	:is(#top.page-id-673, #top.page-id-2076) #av_section_1 .flex_column_table > .flex_column:not(.avia-builder-el-first):not(.avia-builder-el-last) {
		padding: 178px 0 70px !important;
	}

	:is(#top.page-id-673, #top.page-id-2076) #av_section_1 section[class*="av-q76-404-actions"] .avia_textblock > div {
		align-items: stretch;
		flex-direction: column;
	}

	:is(#top.page-id-673, #top.page-id-2076) #av_section_1 section[class*="av-q76-404-actions"] a {
		width: 100%;
	}
}
