/* ==========================================================================
   SGV GmbH – Hausverwaltung
   Eigene Gestaltung zu den Visual-Composer-Elementen (rocketsuits, 10/2026).
   Die Klassen werden im Visual Composer unter „Zusätzliche CSS-Klasse“ gesetzt.
   ========================================================================== */

:root {
	--sgv-green: #aebd15;
	--sgv-green-dark: #9aa713;
	--sgv-grey: #545b5b;
	--sgv-grey-light: #f5f5f5;
	--sgv-line: #e6e6e6;
	--sgv-text-muted: #6b7171;
}

/* --- Banner: Überschrift der grünen Box als H1, optisch wie bisher H2 --- */
.bg-red-svg h1 {
	font-size: var(--h2-font-size, 2.4rem);
	line-height: 1.2;
	margin-bottom: 1rem;
}
.bg-red-svg p:last-child {
	margin-bottom: 0;
}

/* --- Kleine Überzeile („Geschäftsführung“, „Objektbetreuung“ …) --- */
.sgv-eyebrow,
.wpb_text_column .sgv-eyebrow {
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--sgv-green-dark);
	font-weight: 400;
	margin: 0 0 .6rem;
	line-height: 1.5;
}

/* --- Zentrierte Abschnittsüberschrift mit grüner Linie --- */
.sgv-section-title {
	text-align: center;
}
.sgv-section-title h2 {
	position: relative;
	padding-bottom: 18px;
	margin-bottom: 1rem;
}
.sgv-section-title h2:after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 50px;
	height: 2px;
	margin-left: -25px;
	background: var(--sgv-green);
}
.sgv-section-title p {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

/* ==========================================================================
   Teamseite
   ========================================================================== */

/* Foto Geschäftsführung mit versetzter Fläche */
.sgv-lead-img .w-image {
	position: relative;
	display: block;
	max-width: 440px;
	margin: 0 auto;
}
.sgv-lead-img .w-image:before {
	content: '';
	position: absolute;
	top: 24px;
	right: -24px;
	bottom: -24px;
	left: 24px;
	background: var(--sgv-grey-light);
	border-radius: 3px;
}
.sgv-lead-img .w-image-h,
.sgv-lead-img img {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	border-radius: 3px;
}

/* Name, Titel, Schlagworte, Qualifikationen */
.sgv-lead-text h2 {
	margin-bottom: .3rem;
}
.sgv-lead-text .sgv-subtitle {
	color: #7a8080;
	margin: 0 0 1.6rem 18px;
}
.sgv-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 1.8rem;
}
.sgv-tags span {
	background: var(--sgv-green);
	color: #fff;
	font-size: 13px;
	line-height: 1.4;
	padding: 7px 14px;
	border-radius: 2px;
}
.sgv-list-title {
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--sgv-grey);
	font-weight: 500;
	margin: 0 0 .75rem;
}
ul.sgv-quals {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	border-top: 1px solid var(--sgv-line);
}
ul.sgv-quals li {
	position: relative;
	margin: 0;
	padding: 12px 0 12px 22px;
	border-bottom: 1px solid var(--sgv-line);
}
ul.sgv-quals li:before {
	content: '›';
	position: absolute;
	left: 4px;
	top: 10px;
	color: var(--sgv-green);
	font-size: 1.15em;
}

/* Mitarbeiterkarten */
.sgv-members > .vc_column-inner > .g-cols,
.sgv-members .g-cols {
	align-items: stretch;
}
.sgv-member > .vc_column-inner {
	background: #fff;
	border-radius: 3px;
	overflow: hidden;
	height: 100%;
	padding: 0 !important;
}
.sgv-member .w-image {
	display: block;
	overflow: hidden;
	margin: 0;
}
.sgv-member .w-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center 20%;
	transition: transform .5s ease;
}
.sgv-member:hover .w-image img {
	transform: scale(1.04);
}
.sgv-member .wpb_text_column {
	padding: 24px 24px 28px;
}
.sgv-member .sgv-eyebrow {
	font-size: 11px;
	font-weight: 500;
	min-height: 33px;
	margin-bottom: .3rem;
}
.sgv-member h3 {
	font-size: 24px;
	line-height: 1.2;
	margin: 0;
	padding-bottom: 16px;
	position: relative;
}
.sgv-member h3:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 32px;
	height: 2px;
	background: var(--sgv-green);
}
.sgv-member ul {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}
.sgv-member ul li {
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--sgv-text-muted);
	margin: 0 0 7px;
	padding: 0;
}
/* Karten ohne Foto (vorerst, bis neue Mitarbeiterbilder da sind) */
.sgv-member-noimg > .vc_column-inner {
	border-top: 3px solid var(--sgv-green);
}
.sgv-member-noimg .wpb_text_column {
	padding: 26px 24px 28px;
}

/* ==========================================================================
   Kontaktleiste „Interesse?“ (Wiederverwendbarer Block)
   ========================================================================== */
.sgv-cta .g-cols {
	align-items: center;
}
.sgv-cta h2 {
	margin-bottom: .4rem;
}
.sgv-cta .sgv-cta-phone {
	font-family: var(--h1-font-family, 'Oswald', sans-serif);
	font-weight: 300;
	font-size: 26px;
	margin: 0;
}
.sgv-cta .sgv-cta-phone a {
	color: var(--sgv-grey);
}
.sgv-cta .sgv-cta-phone a:hover {
	color: var(--sgv-green);
}
.sgv-cta-right .vc_column-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 28px;
}
.sgv-cta-right .wpb_text_column,
.sgv-cta-right .w-btn-wrapper {
	margin: 0 !important;
}
/* Variante mit zwei Buttons (Kontaktleiste mit Angebot) */
.sgv-cta-2btn .vc_column-inner {
	gap: 14px;
}
.sgv-cta-2btn .sgv-cta-phone {
	margin-right: 14px !important;
}

/* ==========================================================================
   Leistungskarten (nummerierte Leistungen auf grauem Grund)
   ========================================================================== */
.sgv-cards .g-cols {
	align-items: stretch;
}
.sgv-card > .vc_column-inner {
	background: #fff;
	border-radius: 3px;
	padding: 2rem 2rem 1.6rem !important;
	height: 100%;
}
.sgv-card h3 {
	font-size: 1.35rem;
	line-height: 1.3;
	padding-bottom: 14px;
	margin-bottom: 1rem;
	position: relative;
}
.sgv-card h3:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 32px;
	height: 2px;
	background: var(--sgv-green);
}
.sgv-card p:last-child,
.sgv-card ul:last-child {
	margin-bottom: 0;
}

/* Aufzählungen mit grünen Häkchen */
ul.sgv-check {
	list-style: none;
	margin-left: 0;
	padding: 0;
}
ul.sgv-check li {
	position: relative;
	padding-left: 1.8rem;
	margin-bottom: .6rem;
}
ul.sgv-check li:before {
	content: '';
	position: absolute;
	left: 0;
	top: .45em;
	width: 14px;
	height: 8px;
	border-left: 2px solid var(--sgv-green);
	border-bottom: 2px solid var(--sgv-green);
	transform: rotate(-45deg);
}

/* ==========================================================================
   Kontaktseite
   ========================================================================== */
.sgv-contact-box > .vc_column-inner {
	background: var(--sgv-grey-light);
	border-radius: 3px;
	padding: 2rem !important;
	height: 100%;
}
.sgv-contact-box h3 {
	font-size: 1.2rem;
	margin-bottom: .5rem;
}
.sgv-contact-box p {
	margin-bottom: 1.2rem;
}
.sgv-contact-box p:last-child {
	margin-bottom: 0;
}
.sgv-notruf {
	border-left: 3px solid var(--sgv-green);
	padding-left: 1rem;
}

/* Google-Karte (eigenes Element „Google-Karte (SGV)“) */
.sgv-karte {
	width: 100%;
	border-radius: 3px;
	overflow: hidden;
	background: var(--sgv-grey-light);
}
.sgv-karte iframe {
	display: block;
	width: 100%;
	border: 0;
}

/* ==========================================================================
   FAQ und Downloads
   ========================================================================== */
/* FAQ-Akkordeon: Frage gut lesbar, Antwort bündig mit der Frage, ohne Rahmen/Einzug des Theme-Standards */
.w-tabs.sgv-faq {
	border: 0;
}
.sgv-faq .w-tabs-sections {
	padding: 0 !important;
	border: 0 !important;
	border-top: 1px solid var(--sgv-line) !important;
}
.sgv-faq .w-tabs-section {
	margin: 0;
	border: 0 !important;
	border-bottom: 1px solid var(--sgv-line) !important;
}
.sgv-faq .w-tabs-section-header {
	display: flex;
	align-items: center;
	gap: 24px;
	width: 100%;
	padding: 22px 0 !important;
	text-align: left;
}
.sgv-faq .w-tabs-section-title {
	flex: 1;
	margin: 0;
	padding: 0;
	font-size: 21px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--sgv-grey);
	transition: color .2s;
}
.sgv-faq .w-tabs-section-header:hover .w-tabs-section-title,
.sgv-faq .w-tabs-section.active .w-tabs-section-title {
	color: var(--sgv-green-dark);
}
.sgv-faq .w-tabs-section-control {
	flex: none;
	color: var(--sgv-green);
	font-size: 18px;
}
.sgv-faq .w-tabs-section-content-h {
	padding: 0 64px 28px 0 !important;
}
.sgv-faq .w-tabs-section-content p {
	font-size: 15px;
	line-height: 1.8;
}
@media (max-width: 600px) {
	/* Titelgröße steht im Element (Variable --sections-title-size), auf dem Handy etwas kleiner */
	.w-tabs.sgv-faq {
		--sections-title-size: 18px !important;
	}
	.sgv-faq .w-tabs-section-content-h {
		padding-right: 0 !important;
	}
}
.sgv-link-list p {
	margin-bottom: .4rem;
}

/* ==========================================================================
   Fußbereich
   ========================================================================== */
.sgv-footer-intro p {
	margin-bottom: .3rem;
}
.sgv-footer-vdiv img {
	max-width: 140px;
}

/* ==========================================================================
   Mobil
   ========================================================================== */
@media (max-width: 899px) {
	.sgv-lead-img .w-image {
		max-width: 360px;
		margin-bottom: 2.5rem;
	}
	.sgv-cta-right .vc_column-inner {
		justify-content: flex-start;
		margin-top: 1rem;
	}
	.sgv-card > .vc_column-inner {
		padding: 1.5rem !important;
	}
}

/* Mehrere Buttons nebeneinander (Spalten mit Klasse „sgv-btns“).
   Der Abstand kommt nur vom Wrapper – die Customizer-Regeln (.wp-block-text-left a, .block-text-right a.us-btn-style_1)
   gaben dem ersten Button sonst einen anderen Abstand als dem zweiten. */
.sgv-btns .w-btn-wrapper {
	display: inline-block;
	margin: 2rem .75rem 0 0;
	vertical-align: top;
}
.sgv-btns .w-btn-wrapper .w-btn {
	margin-top: 0;
}

/* Lange Wörter (z. B. „Sondereigentumsverwaltung“) auf schmalen Bildschirmen trennen */
.sgv-card h3,
.sgv-service .w-iconbox-title,
.bg-red-svg h1 {
	hyphenate-limit-chars: 12 5 5;
	hyphens: auto;
	-webkit-hyphens: auto;
	overflow-wrap: break-word;
}

/* Handy: Spalten stehen untereinander – das nach oben versetzte Bild (Customizer „.img-top-minus“)
   würde sonst die letzte Textzeile darüber überdecken */
@media (max-width: 600px) {
	.block-img-left .img-top-minus img,
	.wpb_column .img-top-minus img {
		margin-top: 0;
	}
}

/* ==========================================================================
   Überschriften
   ========================================================================== */

/* Pfeile vor und hinter Überschriften (Customizer-Klasse „arrow-start-end“) entfernt */
html .arrow-start-end::before,
html .arrow-start-end::after,
html .listViewGrayBg--arrow-start-end::before,
html .listViewGrayBg--arrow-start-end::after {
	content: none;
	display: none;
}

/* Strich unter Überschriften („underline-dark“) in Grün statt Grau */
html .underline-dark::before {
	background-color: var(--sgv-green);
}

/* ==========================================================================
   Bild bündig unten (Arno Pichler auf der Startseite und „Über uns“)
   Spalte mit Klasse „sgv-img-bottom“; Zeile mit „sgv-flush“ verliert den Innenabstand unten,
   die Textspalte „sgv-flush-text“ übernimmt ihn.
   ========================================================================== */
.g-cols.via_grid > .wpb_column.sgv-img-bottom.vc_column_container {
	justify-content: flex-end;
}
.sgv-img-bottom .w-image,
.sgv-img-bottom .w-image-h,
.sgv-img-bottom img {
	display: block;
	margin-bottom: 0;
}
.l-section.height_medium.sgv-flush {
	padding-bottom: 0;
}
.sgv-flush .sgv-flush-text {
	padding-bottom: 4rem;
}
@media (max-width: 1024px) {
	.sgv-flush .sgv-flush-text {
		padding-bottom: 2.5rem;
	}
}
/* Customizer kehrt unter 800px die Spalten um (.revers-columns-mobile .g-cols {column-reverse}),
   Impreza dreht sie erst unter 600px zurück – dazwischen stand das Bild oben. So bleibt es immer unten. */
@media (max-width: 799px) {
	.revers-columns-mobile .g-cols > .sgv-img-bottom {
		order: -1;
	}
}
@media (max-width: 600px) {
	.sgv-flush .sgv-flush-text {
		padding-bottom: 1.5rem;
	}
}

/* ==========================================================================
   Startseite „Was Sie bei uns erwartet“ (Entwurf „Startseite Leistungen“)
   Jede Karte ist ein Icon-Box-Element mit SVG-Icon aus der Mediathek.
   ========================================================================== */
.sgv-service > .vc_column-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border-radius: 3px;
	border-top: 3px solid #fff;
	padding: 40px 40px 44px !important;
	transition: border-color .25s;
}
.sgv-service:hover > .vc_column-inner {
	border-top-color: var(--sgv-green);
}
.sgv-service .w-iconbox,
.sgv-service .w-iconbox-meta,
.sgv-service .w-iconbox-text {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}
.sgv-service .w-iconbox {
	margin: 0 !important;
}
.sgv-service .w-iconbox-link {
	color: inherit;
}
.sgv-service .w-iconbox-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin: 0 0 28px;
	border-radius: 50%;
	background: #f3f5e2;
}
.sgv-service .w-iconbox-icon svg,
.sgv-service .w-iconbox-icon img {
	display: block;
	width: 44px;
	height: 44px;
}
.sgv-service .w-iconbox-title {
	position: relative;
	margin: 0 0 18px !important;
	padding: 0 0 20px !important;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.25;
	color: var(--sgv-grey);
	opacity: 1 !important;
	text-wrap: balance;
}
.sgv-service .w-iconbox-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 32px;
	height: 2px;
	background: var(--sgv-green);
}
.sgv-service .w-iconbox-text p {
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.8;
}
.sgv-service .w-iconbox-text p.sgv-more {
	margin: auto 0 0;
}
.sgv-service .sgv-more a {
	font-size: 15px;
	font-weight: 400;
	color: var(--sgv-green-dark);
}
.sgv-service .sgv-more a:hover {
	color: var(--sgv-grey);
}
@media (max-width: 1024px) {
	.sgv-service > .vc_column-inner {
		padding: 32px 30px 36px !important;
	}
}
@media (max-width: 600px) {
	.sgv-service > .vc_column-inner {
		padding: 28px 24px 32px !important;
	}
}

/* ==========================================================================
   Startseite „Warum SGV GmbH?“ – Kennzahlen-Box (Zähler-Elemente + VDIV-Logo)
   ========================================================================== */
.sgv-facts > .vc_column-inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem 1.5rem;
	align-content: start;
	background: var(--sgv-grey-light);
	border-top: 3px solid var(--sgv-green);
	border-radius: 3px;
	padding: 2.5rem !important;
}
.sgv-facts > .vc_column-inner > .wpb_text_column,
.sgv-facts > .vc_column-inner > .w-image {
	grid-column: 1 / -1;
	margin: 0 !important;
}
.sgv-facts .sgv-eyebrow {
	margin: 0;
}
.sgv-facts .w-counter {
	margin: 0 !important;
}
.sgv-facts .w-counter:not(.has_font_size) .w-counter-value {
	font-size: 46px;
}
/* Customizer setzt Schriften mit !important (p, div, span = roboto; h1–h6 = oswald) */
.sgv-facts .w-counter .w-counter-value,
.sgv-facts .w-counter .w-counter-value span {
	font-family: oswald, sans-serif !important;
	font-weight: 300;
	line-height: 1;
	white-space: nowrap;
	color: var(--sgv-green-dark);
	-webkit-text-fill-color: currentColor;
	background: none;
}
.sgv-facts .w-counter .w-counter-title {
	margin-top: .5rem !important;
	font-family: roboto, sans-serif !important;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.45;
	color: var(--sgv-text-muted);
}
.sgv-facts .sgv-facts-vdiv {
	padding-top: 1.5rem;
	border-top: 1px solid var(--sgv-line);
	font-size: 14px;
	color: var(--sgv-text-muted);
}
.sgv-facts .sgv-facts-vdiv p {
	margin: 0;
}
/* Das VDIV-Logo ist hellgrau für den dunklen Footer – hier abgedunkelt */
.sgv-facts .sgv-facts-logo img {
	width: 120px;
	height: auto;
	margin: -14px 0 -14px -8px;
	filter: brightness(.4);
}
/* Bis Tablet-Breite steht die Box unter dem Text, sonst wird die Drittel-Spalte zu schmal */
@media (max-width: 1024px) {
	.sgv-why.g-cols {
		grid-template-columns: 100%;
	}
	.sgv-facts > .vc_column-inner {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
@media (max-width: 600px) {
	.sgv-facts > .vc_column-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 1.75rem !important;
		margin-top: 2rem;
	}
	.sgv-facts .w-counter:not(.has_font_size) .w-counter-value {
		font-size: 38px;
	}
}

/* ==========================================================================
   Leistungsseiten „Unsere Leistungen im Detail“ (Entwürfe WEG, Makler, Sondereigentum)
   Zeile „sgv-detail“: Gruppenkopf „sgv-ghead“ (Icon-Box) + Karten „sgv-dcard“ zu zweit.
   Die Nummern zählt das CSS selbst hoch – beim Umsortieren nichts umnummerieren.
   ========================================================================== */
.l-section.sgv-detail {
	counter-reset: sgv-nr;
}
.sgv-detail .sgv-section-title {
	margin-bottom: 4rem !important;
}

/* Gruppenkopf: Icon im weißen Kreis, Titel, Linie bis zum Rand */
.g-cols.sgv-ghead {
	margin: 4rem auto 1.75rem !important;
}
.sgv-section-title + .g-cols.sgv-ghead {
	margin-top: 0 !important;
}
.sgv-ghead .w-iconbox {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 18px;
	margin: 0 !important;
}
/* Impreza begrenzt Icons bei „Icon links“ auf 1.1em Breite */
.sgv-ghead .w-iconbox-icon {
	flex: 0 0 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px !important;
	max-width: none !important;
	height: 64px;
	margin: 0 !important;
	border-radius: 50%;
	background: #fff;
}
.sgv-ghead .w-iconbox-icon svg,
.sgv-ghead .w-iconbox-icon img {
	display: block;
	width: 40px;
	height: 40px;
}
.sgv-ghead .w-iconbox-meta {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
}
.sgv-ghead .w-iconbox-meta::after {
	content: '';
	flex: 1;
	min-width: 20px;
	height: 1px;
	background: #dfe1e1;
}
.sgv-ghead .w-iconbox-title {
	text-align: left;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 30px;
	font-weight: 300;
	line-height: 1.2;
	color: var(--sgv-grey);
	opacity: 1 !important;
}

/* Karten */
.sgv-dcard > .vc_column-inner {
	height: 100%;
	background: #fff;
	border-radius: 3px;
	padding: 40px 44px 44px !important;
}
.sgv-dcard h3 {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 22px;
	align-items: start;
	margin: 0 0 22px;
	padding: 0;
	font-size: 21px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--sgv-grey);
	text-wrap: balance;
}
.sgv-dcard h3::before {
	counter-increment: sgv-nr;
	content: counter(sgv-nr, decimal-leading-zero);
	margin-top: -4px;
	font-size: 46px;
	font-weight: 300;
	line-height: .95;
	color: var(--sgv-green);
}
.sgv-dcard h3::after {
	content: '';
	grid-column: 1 / -1;
	width: 40px;
	height: 2px;
	margin-top: 24px;
	background: var(--sgv-green);
}
.sgv-dcard-plain h3 {
	display: block;
}
.sgv-dcard-plain h3::before {
	content: none;
	counter-increment: none;
}
.sgv-dcard-plain h3::after {
	display: block;
}
.sgv-dcard p {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.8;
}
.sgv-dcard ul.sgv-check {
	margin: 0 0 18px;
}
.sgv-dcard ul.sgv-check li {
	margin-bottom: 9px;
	font-size: 15px;
	line-height: 1.55;
}
.sgv-dcard .wpb_text_column :last-child {
	margin-bottom: 0;
}
.sgv-dcard p a {
	font-weight: 400;
}

/* Arno auf hellgrüner Kachel (Makler, Sondereigentum) */
.sgv-arno-tile > .vc_column-inner {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	height: 100%;
	min-height: 380px;
	padding: 24px 0 0 !important;
	overflow: hidden;
	border-radius: 3px;
	background: #f3f5e2;
}
.sgv-arno-tile .w-image,
.sgv-arno-tile .w-image-h {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	width: 100%;
	margin: 0;
}
.sgv-arno-tile img {
	display: block;
	width: auto;
	max-width: 92%;
	max-height: 400px;
}

/* Arno steht auf der unteren Abschnittskante (WEG, Mietverwaltung, Nebenkosten) */
.l-section.sgv-detail.sgv-flush-end {
	padding-bottom: 0;
}
.g-cols.sgv-dcards-stand > .sgv-dcard > .vc_column-inner {
	height: auto;
	margin-bottom: 100px;
}
.g-cols.via_grid.sgv-dcards-stand > .sgv-dcard.vc_column_container {
	justify-content: flex-end;
}
.sgv-arno-stand .w-image,
.sgv-arno-stand .w-image-h {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	margin: 0;
}
.sgv-arno-stand img {
	display: block;
	width: 100%;
	max-width: 380px;
	height: auto;
}
.sgv-steps-row .sgv-arno-stand img {
	max-width: 420px;
}

/* Grüne Box „Ihr Vorteil …“ (Sondereigentum) */
.g-cols.sgv-advantage-row {
	margin-top: 4rem !important;
}
.sgv-advantage > .vc_column-inner {
	padding: 48px 52px 52px !important;
	border-radius: 3px;
	background-color: #b2bc1e;
	background-image: repeating-linear-gradient(-55deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 9px);
	color: #fff;
}
.sgv-advantage h3 {
	position: relative;
	margin: 0 0 22px;
	padding: 0 0 22px;
	font-size: 34px;
	font-weight: 300;
	line-height: 1.2;
	color: #fff;
}
.sgv-advantage h3::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 50px;
	height: 2px;
	background: #fff;
}
.sgv-advantage p {
	max-width: 900px;
	margin: 0;
	font-size: 16px;
	line-height: 1.8;
	color: #fff;
}

/* Nebenkosten „Was wir für Sie übernehmen“: Karten mit Haken (baut auf .sgv-service auf) */
.sgv-service-check > .vc_column-inner {
	padding: 32px 34px 36px !important;
}
.sgv-service-check .w-iconbox-icon {
	width: 48px;
	height: 48px;
	margin-bottom: 22px;
}
.sgv-service-check .w-iconbox-icon svg,
.sgv-service-check .w-iconbox-icon img {
	width: 22px;
	height: 22px;
}
.sgv-service-check .w-iconbox-title {
	margin-bottom: 16px !important;
	padding-bottom: 18px !important;
	font-size: 21px;
	line-height: 1.3;
}
.sgv-service-check .w-iconbox-text p {
	margin: 0;
	line-height: 1.75;
}
.sgv-services .sgv-service-check:hover > .vc_column-inner {
	border-top-color: #fff;
}

/* Nebenkosten „So einfach geht’s“: nummerierte Schritte (Nummern per CSS) */
ol.sgv-steps {
	counter-reset: sgv-step;
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
	border-bottom: 1px solid #e6e8e8;
}
ol.sgv-steps li {
	counter-increment: sgv-step;
	display: grid;
	grid-template-columns: 64px 1fr;
	column-gap: 26px;
	margin: 0;
	padding: 24px 0;
	border-top: 1px solid #e6e8e8;
	font-size: 15px;
	line-height: 1.75;
}
ol.sgv-steps li::before {
	content: counter(sgv-step, decimal-leading-zero);
	grid-row: 1 / span 2;
	font-family: oswald, sans-serif;
	font-size: 52px;
	font-weight: 300;
	line-height: .95;
	color: var(--sgv-green);
}
ol.sgv-steps li strong {
	display: block;
	margin-bottom: 6px;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--sgv-grey);
}

/* Tablet und Handy */
@media (max-width: 899px) {
	.g-cols.sgv-dcards {
		grid-template-columns: 100%;
	}
}
@media (max-width: 600px) {
	.sgv-ghead .w-iconbox-title {
		font-size: 24px;
	}
	.sgv-ghead .w-iconbox-icon {
		flex-basis: 52px;
		width: 52px !important;
		height: 52px;
	}
	.sgv-ghead .w-iconbox-icon svg {
		width: 32px;
		height: 32px;
	}
	.sgv-dcard > .vc_column-inner {
		padding: 28px 24px 32px !important;
	}
	.sgv-dcard h3::before {
		font-size: 38px;
	}
	.g-cols.sgv-dcards-stand > .sgv-dcard > .vc_column-inner {
		margin-bottom: 2rem;
	}
	.sgv-arno-tile > .vc_column-inner {
		min-height: 0;
	}
	.sgv-advantage > .vc_column-inner {
		padding: 32px 26px 36px !important;
	}
	.sgv-advantage h3 {
		font-size: 26px;
	}
	ol.sgv-steps li {
		grid-template-columns: 48px 1fr;
		column-gap: 18px;
	}
	ol.sgv-steps li::before {
		font-size: 40px;
	}
}

/* ==========================================================================
   Angebot anfordern (Entwurf „Angebot anfordern“)
   ========================================================================== */
.sgv-lead-p p {
	font-size: 16px;
	line-height: 1.85;
}

/* Portal-Box rechts neben der Einleitung */
.sgv-portal-box > .vc_column-inner {
	padding: 36px 36px 40px !important;
	border-radius: 3px;
	background: var(--sgv-grey-light);
}
/* Icon über dem Titel (Impreza stellt „Icon oben + links“ sonst nebeneinander) */
.sgv-portal-box .w-iconbox,
.sgv-acard .w-iconbox {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.sgv-portal-box .w-iconbox-meta,
.sgv-acard .w-iconbox-meta {
	width: 100%;
}
.sgv-portal-box .w-iconbox {
	margin: 0 0 26px !important;
}
.sgv-portal-box .w-iconbox-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin: 0 0 22px !important;
	border-radius: 50%;
	background: #fff;
}
.sgv-portal-box .w-iconbox-icon svg {
	width: 44px;
	height: 44px;
}
.sgv-portal-box .w-iconbox-title,
.sgv-acard .w-iconbox-title {
	position: relative;
	opacity: 1 !important;
	color: var(--sgv-grey);
	text-align: left;
}
.sgv-portal-box .w-iconbox-title {
	margin: 0 !important;
	padding: 0 0 18px !important;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.3;
}
.sgv-portal-box .w-iconbox-title::after,
.sgv-acard .w-iconbox-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 32px;
	height: 2px;
	background: var(--sgv-green);
}
.sgv-portal-box .w-btn-wrapper {
	margin: 0;
}

/* Karten „Preise“ und „Lieber persönlich?“ */
.sgv-acard > .vc_column-inner {
	display: grid;
	grid-template-columns: auto 1fr;
	align-content: start;
	align-items: center;
	column-gap: 28px;
	height: 100%;
	padding: 48px 48px 52px !important;
	border-radius: 3px;
	background: #fff;
	overflow: hidden;
}
.sgv-acard > .vc_column-inner > * {
	grid-column: 1 / -1;
	margin: 0 !important;
}
.sgv-acard > .vc_column-inner > .w-btn-wrapper {
	grid-column: 1;
}
.sgv-acard > .vc_column-inner > .wpb_text_column {
	grid-column: 2;
}
.sgv-acard .w-iconbox-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 0 26px !important;
	border-radius: 50%;
	background: #f3f5e2;
}
.sgv-acard .w-iconbox-icon svg {
	width: 40px;
	height: 40px;
}
.sgv-acard .w-iconbox-title {
	margin: 0 0 24px !important;
	padding: 0 0 22px !important;
	font-size: 34px;
	font-weight: 300;
	line-height: 1.15;
	text-wrap: balance;
}
.sgv-acard .w-iconbox-title::after {
	width: 50px;
}
.sgv-acard .w-iconbox-text p {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.8;
}
.sgv-acard-arno .w-iconbox-text p {
	margin-bottom: 28px;
}
.sgv-acard ul.sgv-check {
	margin: 0 0 28px;
	border-top: 1px solid #eee;
}
.sgv-acard ul.sgv-check li {
	margin: 0;
	padding: 12px 0 12px 28px;
	border-bottom: 1px solid #eee;
	font-size: 15px;
	line-height: 1.55;
}
.sgv-acard ul.sgv-check li::before {
	top: calc(12px + .45em);
}
.sgv-acard p.sgv-note {
	margin: 0;
	padding: 24px;
	border-radius: 3px;
	background: #f3f5e2;
}
.sgv-acard-phone {
	margin: 0;
	font-family: oswald, sans-serif !important;
	font-size: 24px;
	font-weight: 300;
	line-height: 1.2;
}
.sgv-acard-phone a {
	font-family: oswald, sans-serif !important;
	color: var(--sgv-grey);
}
.sgv-acard-phone a:hover {
	color: var(--sgv-green);
}
/* Arno auf hellgrünem Band am unteren Kartenrand */
.sgv-acard-arno > .vc_column-inner {
	grid-template-rows: auto auto 1fr;
	padding-bottom: 0 !important;
}
.sgv-acard-arno > .vc_column-inner > .w-image {
	display: flex;
	align-self: stretch;
	justify-self: stretch;
	width: auto !important;
	max-width: none !important;
	justify-content: center;
	align-items: flex-end;
	min-height: 260px;
	margin: 36px -48px 0 !important;
	padding-top: 28px;
	background: #f3f5e2;
}
.sgv-acard-arno .w-image-h {
	display: flex;
	justify-content: center;
	align-items: flex-end;
}
.sgv-acard-arno img {
	display: block;
	width: auto;
	max-width: 90%;
	max-height: 320px;
	margin: 0 auto;
}
@media (max-width: 600px) {
	.sgv-acard > .vc_column-inner {
		padding: 32px 24px 36px !important;
		column-gap: 18px;
	}
	.sgv-acard-arno > .vc_column-inner > .w-image {
		margin: 28px -24px 0 !important;
	}
	.sgv-acard .w-iconbox-title {
		font-size: 28px;
	}
	/* Telefonnummer unter den Button statt daneben */
	.sgv-acard > .vc_column-inner {
		grid-template-columns: 1fr;
	}
	.sgv-acard > .vc_column-inner > .w-btn-wrapper,
	.sgv-acard > .vc_column-inner > .wpb_text_column {
		grid-column: 1;
		justify-self: start;
	}
	.sgv-acard > .vc_column-inner > .wpb_text_column {
		margin-top: 18px !important;
	}
	.sgv-acard-phone {
		font-size: 22px;
		white-space: nowrap;
	}
}

/* ==========================================================================
   Mobiles Menü (unter 1280px): alle Unterpunkte sofort sichtbar
   Der Customizer klappt die Unterpunkte dauerhaft auf (display:block) und blendet die Pfeile aus –
   Impreza 9.4 versteckt sie zusätzlich per visibility:hidden, bis man tippt. Das wird hier aufgehoben;
   die Hauptpunkte sind normale Links (Kopfbereich: „Unterpunkte per Klick auf: Pfeil“).
   ========================================================================== */
.w-nav.type_mobile .w-nav-list.level_2 {
	visibility: visible !important;
	opacity: 1 !important;
	transform: none !important;
}
.w-nav.type_mobile .w-nav-item-toggle {
	display: none !important;
}

/* ==========================================================================
   Button „Angebot anfordern“ im Kopfbereich (us_header #11, Klasse sgv-header-btn)
   ========================================================================== */
.l-header .sgv-header-btn {
	margin-left: 1.5rem;
}
.l-header .sgv-header-btn .w-btn,
.l-header .w-btn.sgv-header-btn {
	font-size: 14px;
	white-space: nowrap;
}
