/* Individuelle Anpassungen für Style 2: nur Header, Footer und Login-Boxen */

.ag-page-inhaltsseite2,
.ag-page-footerseite2 {
	--custom-teal: #659a98;
	--custom-dark: #304244;
	--custom-red: #741321;
	--custom-card: #e9f1f1;
	--custom-text: #050505;
	--custom-border: #cfd9d9;
	--custom-headline: "Bree Serif", serif;
	--custom-body: "Open Sans", Helvetica, Arial, sans-serif;
	font-family: var(--custom-body);
}

.ag-page-inhaltsseite2 h1,
.ag-page-inhaltsseite2 h2,
.ag-page-inhaltsseite2 h3,
.ag-page-inhaltsseite2 h4,
.ag-page-inhaltsseite2 h5,
.ag-page-inhaltsseite2 h6,
.ag-page-inhaltsseite2 .ag-h1,
.ag-page-inhaltsseite2 .ag-h2,
.ag-page-inhaltsseite2 .ag-h3,
.ag-page-inhaltsseite2 .ag-h4,
.ag-page-inhaltsseite2 .ag-h5,
.ag-page-inhaltsseite2 .ag-h6,
.ag-page-footerseite2 h1,
.ag-page-footerseite2 h2,
.ag-page-footerseite2 h3,
.ag-page-footerseite2 h4,
.ag-page-footerseite2 h5,
.ag-page-footerseite2 h6,
.ag-page-footerseite2 .ag-h1,
.ag-page-footerseite2 .ag-h2,
.ag-page-footerseite2 .ag-h3,
.ag-page-footerseite2 .ag-h4,
.ag-page-footerseite2 .ag-h5,
.ag-page-footerseite2 .ag-h6 {
	font-family: var(--custom-headline);
}

/* Headlines */
.ag-page-inhaltsseite2 #ag-Main .ag-item-pagestyle h1,
.ag-page-footerseite2 #ag-Main .ag-item-pagestyle h1 {
	color: var(--custom-teal);
	font-size: 48px;
	font-weight: 400;
	line-height: 0.95;
	text-align: center;
	padding-top: 1rem;
}

.ag-page-inhaltsseite2 #ag-Main .ag-item-pagestyle h2,
.ag-page-footerseite2 #ag-Main .ag-item-pagestyle h2 {
	font-size: 29px;
	font-weight: 400;
	line-height: 1;
}

.ag-page-inhaltsseite2 .ag-teaser .ag-slider-caption,
.ag-page-footerseite2 .ag-teaser .ag-slider-caption {
	top: 38px;
	padding: 0 60px;
	text-align: center;
}

.ag-page-inhaltsseite2 .ag-typo .ag-slider-caption h2,
.ag-page-footerseite2 .ag-typo .ag-slider-caption h2 {
	display: inline-block;
	margin: 0;
	padding: 0.08em 0.35em 0.16em;
	background: rgba(233, 241, 241, 0.88);
	color: var(--custom-teal);
	font-size: clamp(32px, 5vw, 64px);
	line-height: 1;
	letter-spacing: 0.02em;
}

/* Header */
.ag-page-inhaltsseite2 #ag-Header,
.ag-page-footerseite2 #ag-Header,
.ag-page-inhaltsseite2 #ag-Header .ag-item-content,
.ag-page-footerseite2 #ag-Header .ag-item-content,
.ag-page-inhaltsseite2 #ag-Header .ag-header-tools,
.ag-page-footerseite2 #ag-Header .ag-header-tools {
	background: var(--custom-teal);
}

.ag-page-inhaltsseite2 #ag-Header .ag-header-tools,
.ag-page-footerseite2 #ag-Header .ag-header-tools {
	min-height: 104px;
	padding: 18px 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ag-page-inhaltsseite2 #ag-Header .ag-menu-spacer,
.ag-page-footerseite2 #ag-Header .ag-menu-spacer {
	display: none;
}

.ag-page-inhaltsseite2 #ag-Header .ag-brand,
.ag-page-footerseite2 #ag-Header .ag-brand {
	display: block;
	width: 190px;
	height: 63px;
	background: url("/themes/default/images/logo_kufsteinerland_.svg") no-repeat
		center;
	background-size: contain;
}

.ag-page-inhaltsseite2 #ag-Header .ag-brand img,
.ag-page-footerseite2 #ag-Header .ag-brand img {
	width: 100%;
	height: 100%;
	opacity: 0;
}

/* Login-Boxen aus snippets/anmeldung-pin2.cfm */
.ag-page-inhaltsseite2 #ag-Main .ag-start-boxen-login,
.ag-page-footerseite2 #ag-Main .ag-start-boxen-login {
	width: min(100% - 48px, 1088px);
	margin: 0 auto 126px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 412px));
	gap: 90px;
	justify-content: center;
	align-items: stretch;
}

.ag-page-inhaltsseite2 #ag-Main .ag-event-login-box,
.ag-page-footerseite2 #ag-Main .ag-event-login-box {
	width: 100%;
	max-width: 412px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: var(--custom-card);
	box-shadow: none;
	display: flex;
	flex-direction: column;
}

.ag-page-inhaltsseite2 #ag-Main .ag-event-login-box > img,
.ag-page-footerseite2 #ag-Main .ag-event-login-box > img {
	display: block;
	width: 100%;
	height: 223px;
	object-fit: cover;
	flex: 0 0 223px;
}

.ag-page-inhaltsseite2 #ag-Main .ag-event-login-box .ag-box-inner,
.ag-page-footerseite2 #ag-Main .ag-event-login-box .ag-box-inner {
	padding: 22px 20px;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}

.ag-page-inhaltsseite2 #ag-Main .ag-event-login-box p,
.ag-page-footerseite2 #ag-Main .ag-event-login-box p {
	color: var(--custom-text);
	font-family: var(--custom-body);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
}

.ag-page-inhaltsseite2 #ag-Main .ag-event-login-box .ag-event-text,
.ag-page-footerseite2 #ag-Main .ag-event-login-box .ag-event-text,
.ag-page-inhaltsseite2 #ag-Main .ag-event-login-box .ag-event-text p,
.ag-page-footerseite2 #ag-Main .ag-event-login-box .ag-event-text p {
	font-family: var(--custom-headline);
	letter-spacing: 0.035rem;
}

.ag-page-inhaltsseite2 #ag-Main .ag-event-login-box .ag-h1,
.ag-page-footerseite2 #ag-Main .ag-event-login-box .ag-h1 {
	margin: 22px 0 14px;
	color: var(--custom-red);
	font-family: var(--custom-headline);
	font-size: 25px;
	font-weight: 400;
	line-height: 1.1;
}

.ag-page-inhaltsseite2 #ag-Main .ag-event-login-box .ag-pin-form h2,
.ag-page-footerseite2 #ag-Main .ag-event-login-box .ag-pin-form h2 {
	margin: 0 0 18px;
	color: var(--custom-teal);
	font-family: var(--custom-headline);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.25;
}

.ag-page-inhaltsseite2 #ag-Main .ag-event-login-box input[type="text"],
.ag-page-footerseite2 #ag-Main .ag-event-login-box input[type="text"] {
	width: 100%;
	max-width: 280px;
	min-height: 37px;
	margin: 0 0 18px;
	padding: 6px 8px;
	border: 1px solid var(--custom-border);
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.45);
	font-family: var(--custom-body);
	font-size: 14px;
}

.ag-page-inhaltsseite2 #ag-Main .ag-event-login-box .ag-hint,
.ag-page-footerseite2 #ag-Main .ag-event-login-box .ag-hint {
	margin: 0 0 18px;
	color: var(--custom-text);
	font-family: var(--custom-body);
	font-size: 11px;
	font-weight: 400;
	line-height: 1.3;
	font-style: normal;
}

.ag-page-inhaltsseite2 #ag-Main .ag-event-login-box form,
.ag-page-footerseite2 #ag-Main .ag-event-login-box form {
	margin-top: auto;
}

.ag-page-inhaltsseite2 #ag-Main .ag-event-login-box input[type="submit"],
.ag-page-footerseite2 #ag-Main .ag-event-login-box input[type="submit"] {
	min-height: 37px;
	padding: 8px 17px;
	border: 0;
	border-radius: 3px;
	background: var(--custom-teal);
	color: var(--custom-text);
	font-family: var(--custom-body);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.06em;
	cursor: pointer;
}

/* Footer */
.ag-page-inhaltsseite2 #ag-Footer.ag-footer-custom,
.ag-page-footerseite2 #ag-Footer.ag-footer-custom {
	width: 100%;
	margin: 0;
	padding: 0;
	background: var(--custom-teal);
}

.ag-page-inhaltsseite2 #ag-Footer .ag-footer-custom-bar,
.ag-page-footerseite2 #ag-Footer .ag-footer-custom-bar {
	width: min(100%, 880px);
	min-height: 82px;
	margin: 0 auto;
	padding: 26px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
	background: var(--custom-teal);
}

.ag-page-inhaltsseite2 #ag-Footer .ag-footer-title,
.ag-page-footerseite2 #ag-Footer .ag-footer-title,
.ag-page-inhaltsseite2 #ag-Footer .ag-footer-links,
.ag-page-footerseite2 #ag-Footer .ag-footer-links,
.ag-page-inhaltsseite2 #ag-Footer .ag-footer-links a,
.ag-page-footerseite2 #ag-Footer .ag-footer-links a,
.ag-page-inhaltsseite2 #ag-Footer .ag-footer-links span,
.ag-page-footerseite2 #ag-Footer .ag-footer-links span {
	color: var(--custom-text);
	font-family: var(--custom-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
}

.ag-page-inhaltsseite2 #ag-Footer .ag-footer-links,
.ag-page-footerseite2 #ag-Footer .ag-footer-links {
	display: flex;
	align-items: center;
	gap: 8px;
}

@media screen and (max-width: 920px) {
	.ag-page-inhaltsseite2 #ag-Main .ag-start-boxen-login,
	.ag-page-footerseite2 #ag-Main .ag-start-boxen-login {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px;
	}
}

@media screen and (max-width: 640px) {
	.ag-page-inhaltsseite2 #ag-Header .ag-header-tools,
	.ag-page-footerseite2 #ag-Header .ag-header-tools {
		min-height: 86px;
	}

	.ag-page-inhaltsseite2 #ag-Header .ag-brand,
	.ag-page-footerseite2 #ag-Header .ag-brand {
		width: 160px;
		height: 53px;
	}

	.ag-page-inhaltsseite2 #ag-Main .ag-item-pagestyle h1,
	.ag-page-footerseite2 #ag-Main .ag-item-pagestyle h1 {
		font-size: 34px;
		text-align: center;
	}

	.ag-page-inhaltsseite2 #ag-Main .ag-item-pagestyle h2,
	.ag-page-footerseite2 #ag-Main .ag-item-pagestyle h2 {
		font-size: 22px;
	}

	.ag-page-inhaltsseite2 .ag-teaser .ag-slider-caption,
	.ag-page-footerseite2 .ag-teaser .ag-slider-caption {
		top: 24px;
		padding: 0 16px;
	}

	.ag-page-inhaltsseite2 .ag-typo .ag-slider-caption h2,
	.ag-page-footerseite2 .ag-typo .ag-slider-caption h2 {
		font-size: clamp(24px, 8vw, 36px);
	}

	.ag-page-inhaltsseite2 #ag-Main .ag-start-boxen-login,
	.ag-page-footerseite2 #ag-Main .ag-start-boxen-login {
		width: min(100% - 32px, 412px);
		grid-template-columns: 1fr;
		gap: 34px;
		margin-bottom: 70px;
	}

	.ag-page-inhaltsseite2 #ag-Main .ag-event-login-box > img,
	.ag-page-footerseite2 #ag-Main .ag-event-login-box > img {
		height: auto;
		aspect-ratio: 412 / 223;
		flex-basis: auto;
	}

	.ag-page-inhaltsseite2 #ag-Footer .ag-footer-custom-bar,
	.ag-page-footerseite2 #ag-Footer .ag-footer-custom-bar {
		display: block;
		text-align: center;
	}

	.ag-page-inhaltsseite2 #ag-Footer .ag-footer-title,
	.ag-page-footerseite2 #ag-Footer .ag-footer-title {
		margin-bottom: 14px;
	}

	.ag-page-inhaltsseite2 #ag-Footer .ag-footer-links,
	.ag-page-footerseite2 #ag-Footer .ag-footer-links {
		justify-content: center;
		flex-wrap: wrap;
	}
}
