/* Schriften lokal eingebunden (DSGVO-konform, keine Google-Server) */
@font-face { font-family: 'Arvo'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/arvo-v23-latin-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Arvo'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/arvo-v23-latin-italic-400.woff2') format('woff2'); }
@font-face { font-family: 'Arvo'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/arvo-v23-latin-normal-700.woff2') format('woff2'); }
@font-face { font-family: 'Arvo'; font-style: italic; font-weight: 700; font-display: swap; src: url('../fonts/arvo-v23-latin-italic-700.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/open-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/open-sans-latin-700-normal.woff2') format('woff2'); }

/* ==========================================================================
   Autofit Geiger – Contao 6 Theme
   Nachbau des WordPress-Designs (Bridge/WPBakery) mit eigenen ag-Klassen.
   ========================================================================== */

:root {
	--ag-red: #dd3333;
	--ag-text: #282828;
	--ag-dark: #303030;
	--ag-grey: #ededed;
	--ag-teal: #1abc9c;
	--ag-shadow: 0 8px 16px rgba(0, 0, 0, .08);
	--ag-cw: 1300px;            /* Rasterbreite (Bridge „Grid 1300“) */
	--ag-hw: 1300px;            /* Breite des Kopfbereichs */
}
@media (max-width: 1399px) { :root { --ag-cw: 1100px; --ag-hw: 1100px; } }
@media (max-width: 1200px) { :root { --ag-cw: 950px; --ag-hw: 100%; } }
@media (max-width: 1000px) { :root { --ag-cw: 768px; --ag-hw: 768px; } }
@media (max-width: 768px)  { :root { --ag-cw: 600px; --ag-hw: 600px; } }
@media (max-width: 600px)  { :root { --ag-cw: 420px; --ag-hw: 420px; } }
@media (max-width: 480px)  { :root { --ag-cw: 300px; --ag-hw: calc(100% - 30px); } }

/* ---------------------------------------------------------------- Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ag-grey);
	color: var(--ag-text);
	font: 400 16px/26px 'Arvo', Georgia, serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
#ag-wrapper { overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
figure { margin: 0; }
picture { display: contents; }
a { color: var(--ag-dark); text-decoration: none; cursor: pointer; transition: color .15s ease; }
a:hover { color: var(--ag-teal); }
p { margin: 0; }
strong, b { font-weight: 700; }
ul, ol { margin: 0; }
.content-text ul, .content-text ol { padding: 0; list-style-position: inside; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; }
h1 { font-size: 30px; line-height: 37.5px; color: var(--ag-dark); }
h2 { font-size: 55px; line-height: 60px; font-style: italic; letter-spacing: -1.1px; color: var(--ag-text); }
h3 { font-size: 40px; line-height: 43px; font-style: italic; letter-spacing: -.8px; color: var(--ag-text); }
h4 { font-size: 30px; line-height: 33px; font-style: italic; letter-spacing: -.6px; color: var(--ag-text); }
h5 { font-size: 19px; line-height: 20px; font-style: italic; letter-spacing: -.38px; color: var(--ag-text); }
h6 { font-size: 16px; line-height: 22px; color: var(--ag-text); }
h2 a, h3 a, h4 a, h5 a { color: inherit; }
@media (max-width: 600px) { h2 { font-size: 35px; line-height: 40px; } }
.invisible { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); border: 0; white-space: nowrap; }

/* Farben/Ausrichtung für Überschriften und Texte (als CSS-Klasse im Element) */
.ag-red, .ag-red a { color: var(--ag-red) !important; }
.ag-black { color: #000 !important; }
.ag-white, .ag-white h1, .ag-white h2, .ag-white h3, .ag-white h4, .ag-white h5 { color: #fff !important; }
.ag-tc { text-align: center; }
.ag-tl { text-align: left; }
.ag-tr { text-align: right; }
.ag-em { font-style: italic; }
.ag-fw900 strong, .ag-fw900 { font-weight: 700; }

/* ---------------------------------------------------------------- Kopfbereich */
.ag-header { position: fixed; top: 0; left: 0; right: 0; z-index: 110; }
.ag-header__bar {
	position: relative;
	height: 80px;
	padding: 0 45px;
	background: #fff;
	transition: height .2s ease, box-shadow .2s ease;
}
.ag-header.is-scrolled .ag-header__bar { height: 57px; box-shadow: 0 1px 3px rgba(0, 0, 0, .11); }
.ag-header__inner { position: relative; height: 100%; width: var(--ag-hw); margin: 0 auto; }
.ag-logo { position: absolute; left: 0; top: 5px; display: block; width: 70px; height: 70px; transition: width .2s ease, height .2s ease; }
.ag-logo img { display: block; width: 100%; height: 100%; }
.ag-header.is-scrolled .ag-logo { width: 47px; height: 47px; }
.ag-burger { display: none; }

/* Icons (SVG-Dateien als Maske, Farbe über color) */
.ag-icon { display: block; background-color: currentColor; -webkit-mask: var(--ag-icon) center / contain no-repeat; mask: var(--ag-icon) center / contain no-repeat; }
.ag-icon--menu { --ag-icon: url("../img/menu.svg"); width: 24px; height: 20px; }
.ag-icon--up { --ag-icon: url("../img/arrow-up.svg"); width: 19px; height: 18px; }

/* Hauptnavigation (Contao-Modul „Navigationsmenü“) */
.ag-nav { position: absolute; top: 0; right: 0; height: 100%; }
.ag-nav .mod_navigation, .ag-nav nav { height: 100%; }
.ag-nav ul.level_1 { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; }
.ag-nav ul.level_1 > li { position: relative; height: 100%; }
.ag-nav ul.level_1 > li > a,
.ag-nav ul.level_1 > li > strong {
	position: relative;
	display: block;
	height: 100%;
	padding: 0 15px;
	font-size: 21px;
	line-height: 80px;
	font-weight: 500;
	color: #000;
	transition: color .3s ease-in-out, line-height .2s ease;
}
.ag-header.is-scrolled .ag-nav ul.level_1 > li > a,
.ag-header.is-scrolled .ag-nav ul.level_1 > li > strong { line-height: 57px; color: var(--ag-text); }
.ag-nav ul.level_1 > li > a:hover { color: var(--ag-red); }
.ag-nav ul.level_1 > li > a::after,
.ag-nav ul.level_1 > li > strong::after {
	content: "";
	position: absolute;
	left: 15px;
	right: 15px;
	top: calc(50% + 21px);
	height: 5px;
	background: var(--ag-red);
	opacity: 0;
	transition: opacity .3s;
}
.ag-nav ul.level_1 > li > strong::after,
.ag-nav ul.level_1 > li > a:hover::after,
.ag-nav ul.level_1 > li > a.trail::after { opacity: 1; }

/* Mobile Navigation (Modul „Eigener HTML-Code“) */
.ag-mobile-nav { display: none; }

#ag-main { padding-top: 80px; }

@media (max-width: 1000px) {
	.ag-header { position: relative; }
	.ag-header__bar, .ag-header.is-scrolled .ag-header__bar { height: 100px; padding: 0; box-shadow: none; }
	.ag-header__inner { width: var(--ag-hw); }
	.ag-nav { display: none; }
	.ag-logo, .ag-header.is-scrolled .ag-logo { left: 50%; top: 10px; width: 80px; height: 80px; margin-left: -40px; }
	.ag-burger {
		display: block; position: absolute; left: 0; top: 0; height: 100px; width: 24px;
		padding: 0; border: 0; background: none; color: #000; cursor: pointer;
	}
	.ag-mobile-nav { display: block; position: relative; z-index: 100; background: #fff; }
	.ag-mobile-nav__inner { width: var(--ag-hw); margin: 0 auto; overflow: hidden; max-height: 0; transition: max-height .3s ease; }
	.ag-header.is-open .ag-mobile-nav__inner { max-height: 600px; }
	.ag-mobile-nav ul { margin: 0 0 -1px; padding: 0; list-style: none; }
	.ag-mobile-nav li { border-bottom: 1px solid #eaeaea; }
	.ag-mobile-nav li:last-child { border-bottom: 0; }
	.ag-mobile-nav a { display: block; padding: 10px 0; font-size: 13px; line-height: 26px; color: #888; }
	.ag-mobile-nav a:hover, .ag-mobile-nav a.active { color: var(--ag-red); }
	#ag-main { padding-top: 0; }
}

/* ---------------------------------------------------------------- Abschnitte (Artikel) */
.mod_article { position: relative; display: flow-root; }
.ag-bg-w { background-color: #fff; }
.ag-bg-g { background-color: var(--ag-grey); }
.ag-z4 { z-index: 4; }
.ag-z5 { z-index: 5; }

/* Rasterabschnitt: Inhalte stehen im zentrierten Raster */
.ag-grid > * { width: var(--ag-cw); max-width: 100%; margin-left: auto; margin-right: auto; }
.ag-grid > .ag-row { width: calc(var(--ag-cw) + 30px); max-width: none; margin-left: auto; margin-right: auto; }
/* Vollbreiter Abschnitt */
.ag-full > .ag-row { width: calc(100% + 30px); margin-left: -15px; margin-right: -15px; }
@media (max-width: 600px) {
	.ag-full.ag-mpad { padding-top: 30px; padding-bottom: 30px; }
	.ag-mpt { padding-top: 30px; }
}
@media (max-width: 639px) { .ag-sm-pt0 { padding-top: 0 !important; } }

/* Spalten (entspricht WPBakery: sm ab 640 px, md ab 768 px) */
.ag-row { display: flex; flex-wrap: wrap; align-items: flex-start; }
.ag-row.ag-jc { justify-content: center; }
.ag-col { position: relative; width: 100%; min-height: 1px; padding: 0 15px; }
@media (min-width: 640px) {
	.ag-c2 { width: 16.66666667%; }
	.ag-c3 { width: 25%; }
	.ag-c6 { width: 50%; }
}
@media (min-width: 768px) {
	.ag-m4 { width: 33.33333333%; }
	.ag-m6 { width: 50%; }
}
/* Gleich hohe Boxen in einer Zeile: Zeile mit „ag-eq“, Box füllt die Spalte */
.ag-row.ag-eq { align-items: stretch; }
.ag-row.ag-eq > .ag-col { display: flex; flex-direction: column; }
.ag-row.ag-eq > .ag-col > .ag-card,
.ag-row.ag-eq > .ag-col > .ag-box { flex: 1 1 auto; }

/* nur auf großen Bildschirmen (WPBakery „vc_hidden-lg/md/sm/xs“) */
@media (max-width: 1199px) { .ag-xl-only { display: none !important; } }
@media (min-width: 1200px) { .ag-xl-mt-192 { margin-top: 192px; } }

/* Trennlinie unter Überschriften */
.ag-sep { margin-bottom: 20px; }
.ag-sep::after { content: ""; display: block; width: 66px; height: 5px; margin-top: 20px; background: var(--ag-red); }
.ag-sep.ag-tc::after { margin-left: auto; margin-right: auto; }

/* Bilder */
.content-image img { display: inline-block; }
.ag-img-c { text-align: center; }
.ag-img-l { text-align: left; }
.ag-img-r { text-align: right; }
.ag-iw-247 img { width: 247px; }
.ag-iw-300 img { width: 300px; }

/* ---------------------------------------------------------------- Hero (Startseite) */
.ag-hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; container-type: inline-size; background: #3a3a3a; }
.ag-hero > .content-image, .ag-hero > .content-image figure { position: absolute; inset: 0; }
.ag-hero > .content-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ag-hero > .content-text {
	position: absolute; inset: 0; z-index: 2;
	display: flex; flex-direction: column; justify-content: center; align-items: center;
	padding: 0 15px 2.81cqw;
	text-align: center;
}
.ag-hero h1, .ag-hero p { margin: 0; font-family: 'Open Sans', Arial, sans-serif; letter-spacing: 0; }
.ag-hero h1 { font-size: min(55px, 3.667cqw); font-weight: 700; font-style: normal; color: #fff; margin-bottom: .903em; }
.ag-hero h1 span { display: table; margin: 0 auto .154em; padding: .0962em .1923em; line-height: 1.1923; background: var(--ag-red); white-space: nowrap; }
.ag-hero p { font-size: min(24px, 1.6cqw); font-weight: 400; color: var(--ag-dark); }
.ag-hero p span { display: table; margin: 0 auto .87em; padding: .217em .435em; line-height: 1.652; background: #fff; white-space: nowrap; }
.ag-hero h1 br, .ag-hero p br { display: none; }
.ag-hero p:last-child span:last-child, .ag-hero p span:last-child { margin-bottom: 0; }
@media (max-width: 777px) {
	.ag-hero > .content-text { padding-bottom: 59px; }
	.ag-hero h1 { max-width: 82vw; margin-left: auto; margin-right: auto; font-size: min(36px, 7.5vw); line-height: 1.946; margin-bottom: .955em; }
	.ag-hero p { font-size: min(18px, 3.75vw); line-height: 3.357; }
	.ag-hero h1 span, .ag-hero p span {
		display: inline; margin: 0; white-space: normal;
		-webkit-box-decoration-break: clone; box-decoration-break: clone;
	}
	.ag-hero h1 span { padding: .214em .286em; line-height: inherit; }
	.ag-hero p span { padding: .71em .571em; line-height: inherit; }
	.ag-hero h1 br, .ag-hero p br { display: inline; }
}

/* ---------------------------------------------------------------- Seitentitel (Impressum, Datenschutz) */
.ag-title { position: relative; height: 410px; overflow: hidden; background: #2b2b2b; }
.ag-title > .content-image, .ag-title > .content-image figure { position: absolute; inset: 0; }
.ag-title > .content-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ag-title > .content-headline {
	position: absolute; left: 0; right: 0; top: 169px; z-index: 2;
	width: var(--ag-cw); max-width: 100%; margin: 0 auto;
	font-size: 40px; line-height: 43px; font-style: italic; letter-spacing: 1px; text-align: center; color: #fff;
}
@media (max-width: 1920px) { .ag-title > .content-image img { object-fit: none; } }
@media (max-width: 1000px) {
	.ag-title { height: min(410px, 100vw); }
	.ag-title > .content-headline { top: 50%; transform: translateY(-50%); }
	.ag-title > .content-image img { object-position: left top; }
}
/* Inhaltsbereich unter dem Seitentitel */
.ag-cpt { padding-top: 80px; }
@media (max-width: 1000px) { .ag-cpt { padding-top: 30px; } }

/* ---------------------------------------------------------------- Zitat */
.ag-quote .rte {
	position: relative;
	padding: 14px;
	background: var(--ag-grey);
}
.ag-quote .rte::before {
	content: ""; float: left; width: 20px; height: 22px; margin-top: 6px;
	background: url("../img/quote.svg") left center / 20px auto no-repeat;
}
.ag-quote p { padding-left: 40px; font-size: 21px; line-height: 32.8125px; font-style: italic; font-weight: 400; color: var(--ag-text); }

/* ---------------------------------------------------------------- Monatsaktion (Kasten mit Bild) */
.ag-promo { position: relative; overflow: hidden; padding: 40px 0; text-align: center; }
.ag-promo > .content-image, .ag-promo > .content-image figure { position: absolute; inset: 0; z-index: 0; }
.ag-promo > .content-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ag-promo > :not(.content-image) { position: relative; z-index: 1; }
.ag-promo h2, .ag-promo h4 { color: #fff; }

/* ---------------------------------------------------------------- Siegel (TÜV, Innung, GTÜ, DEKRA) */
.ag-seal { text-align: center; }
.ag-seal img { display: inline-block; }
.ag-seal--tuev  { padding: 35px 0 18px; }
.ag-seal--tuev img  { width: 104px; }
.ag-seal--innung { padding: 30px 0 35px; }
.ag-seal--innung img { width: 78px; }
.ag-seal--gtue  { padding: 59px 0 29px; }
.ag-seal--gtue img  { width: 130px; }
.ag-seal--dekra { padding: 30px 0 18px; }
.ag-seal--dekra img { width: 104px; }

/* ---------------------------------------------------------------- Weiße Boxen */
.ag-box { position: relative; background: #fff; }
.ag-shadow { box-shadow: var(--ag-shadow); }
.ag-box--map  { padding: 60px 80px; }
.ag-box--map2 { padding: 60px 80px 50px; }
.ag-box--form { padding: 70px 115px 55px; }
@media (min-width: 1024px) and (max-width: 1280px) {
	.ag-box--map, .ag-box--map2 { padding: 48px 60px; }
	.ag-box--form { padding: 70px 100px 55px; }
}
@media (min-width: 768px) and (max-width: 1024px) { .ag-box--form { padding: 70px 59px 55px; } }
@media (min-width: 480px) and (max-width: 600px) { .ag-box--map2, .ag-box--form { padding: 40px; } }
@media (max-width: 480px) { .ag-box--map, .ag-box--map2, .ag-box--form { padding: 40px; } }

/* Boxen mit -15 % Versatz nach oben (Kontaktbereich Startseite) */
.ag-up-a, .ag-up-b { margin-top: calc(-15% - 4.5px); }
@media (max-width: 1000px) {
	.ag-up-a { margin-top: calc(-8% - 2.4px); }
	.ag-up-b { margin-top: 0; }
}

/* Kontaktseite: Spalten beginnen unterhalb des Titelbereichs (wie im Original) */
@media (min-width: 768px) { .ag-kt-off { padding-top: max(0px, calc(35px - 2vw)); } }

/* ---------------------------------------------------------------- Leistungskarten */
.ag-card {
	position: relative;
	padding: 74px 42px 57px 47px;
	margin-bottom: calc(77.6px - 8%);
	background: #fff;
	text-align: center;
}
.ag-card::after {
	content: "";
	position: absolute; left: 50%; top: 100%;
	width: 68.6px; height: 68.6px; margin: calc(3.3px - 8%) 0 0 -34.3px;
	border-radius: 50%;
	background: var(--ag-red) url("../img/check.svg") center / 18px auto no-repeat;
}
.ag-card .content-headline { margin-top: 58px; margin-bottom: 23px; }
.ag-card .content-headline::after { content: ""; display: block; width: 66px; height: 5px; margin: 17.5px auto 0; background: var(--ag-red); }
.ag-card--sm .content-headline { margin-top: 40px; }
.ag-card--img .content-headline { margin-top: 54px; }
.ag-card--sm .content-headline::after, .ag-card--img .content-headline::after { margin-top: 7px; }
@media (min-width: 768px) and (max-width: 1024px) { .ag-card { padding: 60px 20px 45px 20px; } }
@media (min-width: 600px) and (max-width: 768px) { .ag-card { padding: 60px 60px 85px 60px; } }

/* ---------------------------------------------------------------- Über uns – weißer Kasten */
.ag-whitebox { margin-top: -40px; padding: 46px 15px 0; background: #fff; }
.ag-grid > .ag-whitebox { width: calc(var(--ag-cw) + 30px); }
.ag-irow { display: flex; flex-wrap: wrap; align-items: flex-start; margin: 0 -15px; padding: 35px 5%; }
.ag-irow--a { padding: 45px 5% 75px; }
.ag-irow--b { padding: 85px 5% 5px; }

/* ---------------------------------------------------------------- Fußbereich */
#ag-footer { position: relative; z-index: 100; }
.ag-footer__top { padding: 30px 0 20px; background: #fff; }
.ag-footer__inner { width: var(--ag-cw); margin: 0 auto; }
.ag-footer__cols { display: flex; flex-wrap: wrap; }
.ag-footer__col { width: 50%; }
.ag-footer__col--1 { padding-right: 10px; }
.ag-footer__col--2 { padding-left: 25px; }
.ag-footer h5 { margin: 0 0 22px; color: var(--ag-red); }
.ag-footer__rule { height: 1px; margin: 10px 0; background: #565656; }
.ag-footer p { color: #000; }
.ag-footer__top p { padding-bottom: 10px; }
.ag-footer__bottom { padding: 23px 0 20px; background: var(--ag-grey); text-align: center; }
.ag-footer__bottom p { padding-bottom: 23px; }
.ag-footer__bottom a { color: #000; }
.ag-footer__bottom a:hover { color: var(--ag-red); }
.ag-footer__menu { margin: 0; padding: 0; list-style: none; font-size: 12px; line-height: 22px; }
.ag-footer__menu li { display: inline-block; margin-right: 46px; }
.ag-footer__menu li:last-child { margin-right: 0; }
.ag-footer__menu a { font-size: 13px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }
@media (max-width: 600px) {
	.ag-footer__col { width: 100%; padding: 0 0 25px; margin-bottom: 25px; }
	.ag-footer__col:last-child { margin-bottom: 0; }
	.ag-footer__menu { line-height: 35px; }
}
@media (max-width: 480px) { .ag-footer__inner { width: auto; margin: 0 15px; } }

/* ---------------------------------------------------------------- Nach oben */
.ag-totop {
	position: fixed; right: 25px; bottom: 65px; z-index: 10000;
	width: 56px; height: 56px;
	border: 2px solid #e8e8e8; border-radius: 50%;
	color: #b0b0b0; background: transparent;
	opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, background-color .2s;
	display: flex; align-items: center; justify-content: center;
}
.ag-totop.is-visible { opacity: 1; visibility: visible; }
.ag-totop:hover { background-color: #e8e8e8; color: #b0b0b0; }

/* ---------------------------------------------------------------- Formular (Kontaktformular) */
.ag-form { container-type: inline-size; }
.ag-form .formbody { text-align: center; }
.ag-form .widget { margin: 0 0 4px; text-align: center; }
.ag-form .widget > label { display: block; font-size: 16px; line-height: 26px; padding-top: 3px; }
.ag-form label .mandatory, .ag-form label .invisible { display: none; }
.ag-form input.text, .ag-form textarea {
	display: block; width: 100%; margin: 2px 0 0;
	padding: 10px 15px; border: 0; border-radius: 0;
	background: var(--ag-grey); color: var(--ag-text);
	font: italic 700 19px/22px 'Arvo', Georgia, serif; letter-spacing: -.38px; text-align: center;
	-webkit-appearance: none; appearance: none;
}
.ag-form textarea { height: 121px; resize: vertical; }
.ag-form input.text:focus, .ag-form textarea:focus { outline: 1px solid #c9c9c9; }
.ag-form .widget-checkbox { padding-top: 3px; }
.ag-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.ag-form fieldset legend { display: none; }
.ag-form .checkbox_container > span { display: inline-block; max-width: calc(100% - 16px); margin-left: 16px; }
.ag-form input.checkbox { margin: 3px 3px 3px 4px; vertical-align: top; }
.ag-form .checkbox_container label { font-size: 16px; line-height: 26px; }
.ag-form .widget-submit { margin-top: 10px; text-align: left; }
.ag-form button.submit {
	display: inline-block; height: 40px; padding: 0 45px; border: 0; border-radius: 3px;
	background: var(--ag-red); color: #fff;
	font: 700 20px/40px 'Arvo', Georgia, serif; letter-spacing: -.4px;
	box-shadow: 0 7px 5px rgba(0, 0, 0, .07); cursor: pointer; transition: background-color .2s, color .2s;
}
.ag-form button.submit:hover, .ag-form button.submit:focus-visible { background: var(--ag-text); color: #fff; }
.ag-form button.submit:focus-visible { outline: 2px solid var(--ag-red); outline-offset: 2px; }
@container (max-width: 236px) { .ag-form .widget-submit { text-align: center; padding-bottom: 32px; } }
.ag-form p.error { margin: 2px 0 0; color: var(--ag-red); font-size: 13px; line-height: 20px; }
.ag-form .widget.error input, .ag-form .widget.error textarea { outline: 1px solid var(--ag-red); }
.ag-form .message, .ag-form .confirmation { padding: 10px; border: 2px solid #46b450; text-align: center; }

/* ---------------------------------------------------------------- Cookie-Hinweis */
.ag-cookie-backdrop { position: fixed; inset: 0; z-index: 1040; background: rgba(0, 0, 0, .5); }
.ag-cookie {
	position: fixed; top: 50%; left: 50%; z-index: 9999;
	width: 500px; max-width: calc(100% - 20px); max-height: calc(100vh - 40px); overflow: auto;
	transform: translate(-50%, -50%);
	padding: 25px 20px 15px; border-radius: 3.2px;
	background: #fff; color: #000; box-shadow: 0 -1px 10px rgba(172, 171, 171, .3);
	font-size: 15px; line-height: 26px; font-weight: 300; text-align: left;
}
.ag-cookie[hidden], .ag-cookie-backdrop[hidden] { display: none; }
.ag-cookie:focus { outline: none; }
.ag-cookie h5 { margin: 0 0 15px; font-size: 24px; line-height: 28px; text-transform: uppercase; color: var(--ag-red); }
.ag-cookie__text { font-size: 13px; line-height: 20px; }
.ag-cookie__text a { font-weight: 700; color: var(--ag-red); }
.ag-cookie__settings-link {
	display: block; margin: 15px 0 5px; padding: 0; border: 0; background: none; width: 100%;
	font: 300 12px/20px 'Arvo', Georgia, serif; text-transform: uppercase; text-align: center; color: var(--ag-red); cursor: pointer;
}
.ag-cookie__settings { margin: 10px 0; padding: 10px 12px; background: #f4f4f4; font-size: 13px; line-height: 20px; }
.ag-cookie__settings label { display: flex; gap: 8px; align-items: flex-start; }
.ag-cookie__settings[hidden] { display: none; }
.ag-cookie__btn {
	display: block; width: 100%; margin: 0 0 5px; padding: 15px; border: 0; border-radius: 4px;
	font: 400 15px/15px 'Arvo', Georgia, serif; text-align: center; cursor: pointer;
}
.ag-cookie__btn--all { background: var(--ag-red); color: #fff; text-transform: uppercase; }
.ag-cookie__btn--essential { margin-bottom: 0; background: #f4f4f4; color: #222; }
.ag-cookie__links { margin: 15px 0 0; text-align: center; font-size: 11px; color: #222; }
.ag-cookie__links a { color: #222; font-weight: 400; }
@media (max-width: 600px) { .ag-cookie { padding: 20px 15px 15px; } }

/* ---------------------------------------------------------------- Abstände (Hilfsklassen) */
.ag-mb-16 { margin-bottom: 16px; }
.ag-mb-40 { margin-bottom: 40px; }
.ag-mb-45 { margin-bottom: 45px; }
.ag-mb-65 { margin-bottom: 65px; }
.ag-ml-n30 { margin-left: -30px; }
.ag-mt-105 { margin-top: 105px; }
.ag-mt-2-5p { margin-top: 2.5%; }
.ag-mt-5 { margin-top: 5px; }
.ag-mt-5p { margin-top: 5%; }
.ag-mt-80 { margin-top: 80px; }
.ag-mt-n35 { margin-top: -35px; }
.ag-pb-10 { padding-bottom: 10px; }
.ag-pb-100 { padding-bottom: 100px; }
.ag-pb-15 { padding-bottom: 15px; }
.ag-pb-30 { padding-bottom: 30px; }
.ag-pb-40 { padding-bottom: 40px; }
.ag-pb-41 { padding-bottom: 41px; }
.ag-pb-5 { padding-bottom: 5px; }
.ag-pb-50 { padding-bottom: 50px; }
.ag-pb-80 { padding-bottom: 80px; }
.ag-pt-10 { padding-top: 10px; }
.ag-pt-32 { padding-top: 32px; }
.ag-pt-35 { padding-top: 35px; }
.ag-pt-40 { padding-top: 40px; }
.ag-pt-44 { padding-top: 44px; }
.ag-pt-70 { padding-top: 70px; }
.ag-pt-78 { padding-top: 78px; }
.ag-pt-80 { padding-top: 80px; }
.ag-py-20 { padding-top: 20px; padding-bottom: 20px; }
.ag-py-2p { padding-top: 2%; padding-bottom: 2%; }
.ag-py-40 { padding-top: 40px; padding-bottom: 40px; }
.ag-py-50 { padding-top: 50px; padding-bottom: 50px; }
