/* ==========================================================================
   AAC – port of the original theme stylesheet (wp-content/themes/template/res/style.css)
   Same values, same modules; selectors mapped onto the Elementor structure:

   original                    → here
   #header, #logo, .menu       → .aac-header, .aac-logo, .aac-nav (Elementor nav menu)
   #page-header                → .aac-page-header (+ .aac-ph-title heading)
   #page-bg / .rte.small-width → .aac-page-bg / .aac-rte.aac-small-width
   .teaserbox                  → .aac-teaserbox (+ .aac-teaser-content, .aac-teaser-button)
   .course-link, .news-teaser  → unchanged (markup rendered by aac-kurse shortcodes)
   #courses, .sidebar, .filter → .aac-courses, .aac-courses-sidebar, .filter/.checkboxes (unchanged)
   #course, .course-details    → .aac-course, .aac-course-content, .aac-course-sidebar
   #related                    → .aac-related
   #news-list, .news-item      → .aac-news-list, .news-item (unchanged)
   #footer                     → .aac-footer
   ========================================================================== */

/* Original font setup: three single-weight families (bold = synthesised from the current face, as on the old site) */
@font-face { font-family: 'FreightSansProBook-Regular'; src: url('../fonts/freightsans-book.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'FreightSansProMedium-Regular'; src: url('../fonts/freightsans-medium.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'FreightSansProSemibold-Regular'; src: url('../fonts/freightsans-semibold.woff2') format('woff2'); font-display: swap; }

/* ---------- reset (original: * { margin:0; padding:0 }) ---------- */
body h1, body h2, body h3, body h4, body h5, body h6, body p, body ul, body ol, body li, body figure, body table { margin: 0; padding: 0; }
body ul, body ol { list-style-position: outside; }
strong, b { font-weight: 700; }

/* ---------- page.scss – base ---------- */
body {
	line-height: 1;
	color: #253338;
	font-family: 'FreightSansProBook-Regular', sans-serif;
	font-weight: normal;
	font-size: 16px;
	background-color: #FFFFFF;
}
body a, body a:hover, body a:active { text-decoration: none; color: inherit; }
body p { line-height: 1.3; }

body h1 { font-family: 'FreightSansProSemibold-Regular', sans-serif; font-weight: normal; font-size: 60px; line-height: 1; }
body h2 { font-family: 'FreightSansProMedium-Regular', sans-serif; font-weight: normal; font-size: 24px; line-height: 1; }
body h3 { font-family: 'FreightSansProSemibold-Regular', sans-serif; font-weight: normal; font-size: 18px; line-height: 1.1; }
body h4 { font-family: 'FreightSansProSemibold-Regular', sans-serif; font-weight: normal; font-size: 13px; line-height: 1.1; }
body h5 { font-family: 'FreightSansProSemibold-Regular', sans-serif; font-weight: normal; font-size: 14px; line-height: 1.1; }
.elementor-widget-heading .elementor-heading-title { color: inherit; }
.elementor-heading-title { color: inherit; }

/* .content-inner (1200px; 94 % + 3 % padding below 1280px) */
.e-con.e-con-boxed > .e-con-inner { max-width: 1200px; }
@media (max-width: 1280px) {
	.e-con.e-con-boxed > .e-con-inner { max-width: 94%; }
}

/* Elementor spacing neutralised – spacing comes from the rules below */
.elementor .e-con { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; }
.elementor .e-con, .elementor .e-con > .e-con-inner { --gap: 0px; --row-gap: 0px; --column-gap: 0px; }
.elementor .elementor-widget:not(:last-child) { margin-block-end: 0; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* ---------- Buttons (.button) ---------- */
body .elementor-button,
body .elementor-form .elementor-button,
body .aac-button {
	background-color: #ffc106;
	color: #253338;
	padding: 16px 0 14px;
	border: 0;
	border-bottom: 2px solid #ffc106;
	border-radius: 0;
	cursor: pointer;
	width: 260px;
	display: inline-block;
	text-align: center;
	font-size: 15px;
	line-height: 1;
	text-transform: uppercase;
	font-family: 'FreightSansProSemibold-Regular', sans-serif;
	font-weight: normal;
	letter-spacing: 0;
	appearance: none;
	-webkit-appearance: none;
	transition: all .5s ease;
}
body .elementor-button:hover,
body .elementor-button:focus,
body .elementor-form .elementor-button:hover,
body .aac-button:hover {
	background-color: #ffc106;
	color: #253338;
	letter-spacing: 1px;
	border-color: #253338;
}
body .elementor-button .elementor-button-content-wrapper { justify-content: center; }

/* ---------- loaded / scroll animations ---------- */
.scrollAnimated { transition: all .6s ease; transform: translate3d(0, 40px, 0); }
.scrollAnimated:nth-child(2) { transition-delay: .1s; }
.scrollAnimated:nth-child(3) { transition-delay: .2s; }
.loaded .scrollAnimated { transform: translate3d(0, 0, 0); }
.elementor-editor-active .scrollAnimated { transform: none; }

/* ==========================================================================
   header.scss
   ========================================================================== */
.aac-header.e-con {
	--display: block;
	display: block;
	position: fixed !important;
	left: 0;
	top: 0;
	width: 100%;
	color: #000;
	padding-bottom: 17px;
	background-color: #FFFFFF;
	border-bottom: 1px solid #e9eaeb;
	z-index: 200;
	transition: all .6s ease;
}
body.admin-bar .aac-header.e-con { top: 32px; }
@media (max-width: 782px) { body.admin-bar .aac-header.e-con { top: 46px; } }
.elementor-editor-active .aac-header.e-con { position: relative !important; top: 0; }
.aac-header.nav-up { transform: translate3d(0, -88px, 0); }

.aac-header-switches {
	position: absolute;
	width: 100%;
	background-color: #e9eaeb;
	left: 0;
	top: 0;
	height: 30px;
}

.aac-logo {
	position: absolute;
	z-index: 2;
	left: 50%;
	top: 0;
	width: 224px;
	height: 138px;
	margin: 2px 0 0 -112px;
	text-indent: -9999px;
	overflow: hidden;
	background-image: url(../img/sprite.png);
	background-size: 500px;
	background-repeat: no-repeat;
}

/* #navigation-bar → nav menu widget inside .content-inner */
.aac-header .aac-nav { width: 1200px; max-width: 94%; margin: 49px auto 0; position: relative; }
.aac-nav .elementor-nav-menu--main .elementor-nav-menu { display: flex; flex-wrap: nowrap; list-style: none; }
.aac-nav .elementor-nav-menu > li:nth-child(4) { margin-left: auto; }
.aac-nav .elementor-nav-menu > li { float: none; }
.aac-nav .elementor-nav-menu--main .elementor-item,
.aac-nav .elementor-nav-menu--main .elementor-item:hover,
.aac-nav .elementor-nav-menu--main .elementor-item:focus {
	font-size: 16px;
	line-height: 1;
	padding: 10px 30px;
	margin: 0;
	text-transform: uppercase;
	font-family: 'FreightSansProSemibold-Regular', sans-serif;
	font-weight: normal;
	color: #000;
	position: relative;
	text-align: center;
	transition: all .7s ease;
	z-index: 0;
}
.aac-nav .elementor-nav-menu--main .elementor-item::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	top: auto;
	height: 100%;
	width: 0;
	background-color: #ffc106;
	opacity: 1;
	z-index: -1;
	transform: none;
	transition: all .7s ease;
}
.aac-nav .elementor-nav-menu--main .elementor-item::after { display: none; }
.aac-nav .elementor-nav-menu--main .elementor-item:hover { box-shadow: 0 0 0 1px #ffc106; }
.aac-nav .elementor-nav-menu--main .elementor-item.elementor-item-active,
.aac-nav .elementor-nav-menu--main .current-menu-ancestor > .elementor-item,
.aac-nav .elementor-nav-menu--main .current-page-ancestor > .elementor-item { box-shadow: 0 0 0 1px #ffc106; }
.aac-nav .elementor-nav-menu--main .elementor-item.elementor-item-active::before,
.aac-nav .elementor-nav-menu--main .current-menu-ancestor > .elementor-item::before,
.aac-nav .elementor-nav-menu--main .current-page-ancestor > .elementor-item::before { width: 100%; }
.aac-nav .elementor-menu-toggle, .aac-nav .elementor-nav-menu--dropdown { display: none !important; }
.aac-nav .elementor-nav-menu--main { display: block !important; }

@media (max-width: 1280px) {
	.aac-nav .elementor-nav-menu--main .elementor-item { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 1100px) {
	.aac-header .aac-nav { width: 100%; max-width: 100%; }
	.aac-nav .elementor-nav-menu--main .elementor-item { padding-left: 15px; padding-right: 15px; }
}
@media (max-width: 1023px) {
	.aac-header.e-con { padding-bottom: 0; border-bottom: none; }
	.aac-nav .elementor-nav-menu--main .elementor-item { padding: 11px 20px; }
	.aac-header .aac-nav { width: 100%; max-width: 100%; margin-top: 126px; border-top: 1px solid #e9eaeb; border-bottom: 1px solid #e9eaeb; }
	.aac-logo { height: 118px; background-position: -211px 0; }
}
@media (max-width: 860px) {
	.aac-nav .elementor-nav-menu--main .elementor-nav-menu { justify-content: center; }
	.aac-nav .elementor-nav-menu > li:nth-child(4) { margin-left: 0; }
	.aac-nav .elementor-nav-menu--main .elementor-item { font-size: 15px; padding-left: 11px; padding-right: 11px; }
}
/* < 768: original "space navi" – one-line scrollable menu bar */
@media (max-width: 767px) {
	.aac-header .aac-nav { margin-top: 87px; height: 38px; padding: 0 37px; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.aac-header .aac-nav::-webkit-scrollbar { display: none; }
	.aac-nav .elementor-nav-menu--main .elementor-nav-menu { justify-content: flex-start; }
	.aac-nav .elementor-nav-menu--main .elementor-item { font-size: 16px; padding: 10px 15px; white-space: nowrap; }
	.aac-nav .elementor-nav-menu--main .elementor-item:hover { box-shadow: none; background-color: #ffc106; }
	.aac-logo { background-position: 0 -136px; width: 85px; height: 65px; margin: 10px 0 0 15px; left: 0; }
	.aac-header-switches { background-color: transparent; height: auto; top: 21px; }
}

/* mobile menu arrows (original .space-navi-button) – injected by js/aac-site.js */
.aac-nav-btn { display: none; }
@media (max-width: 767px) {
	.aac-nav-btn { display: block; position: absolute; z-index: 3; top: 88px; width: 37px; height: 36px; padding: 0; border: 0; background: #FFFFFF; cursor: pointer; }
	.aac-nav-btn.left { left: 0; border-right: 1px solid #e9eaeb; }
	.aac-nav-btn.right { right: 0; border-left: 1px solid #e9eaeb; }
	.aac-nav-btn::before { content: ''; position: absolute; top: 9px; width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 8px solid transparent; transition: all .4s ease; }
	.aac-nav-btn.left::before { left: 7px; border-right: 16px solid #D5D5D5; }
	.aac-nav-btn.right::before { left: 11px; border-left: 16px solid #D5D5D5; }
	.aac-nav-btn:hover::before { border-left-color: #ffc106; border-right-color: #ffc106; }
	.aac-nav-btn.left:hover::before { border-left-color: transparent; }
	.aac-nav-btn.right:hover::before { border-right-color: transparent; }
	.aac-header.nav-up .aac-nav-btn { opacity: 1; }
}

/* ==========================================================================
   page.scss – #page-header (skewed title tab)
   ========================================================================== */
.aac-page-header.e-con {
	--display: block;
	display: block;
	position: relative;
	width: 100%;
	margin: 130px 0 40px 0;
	transform: translate3d(-60px, 0, 0);
	transition: all .6s ease;
}
.aac-page-header::after { content: ""; display: table; clear: both; }
.loaded .aac-page-header.e-con, .elementor-editor-active .aac-page-header.e-con { transform: translate3d(0, 0, 0); }
.aac-page-header .aac-ph-deco { position: static; }
.aac-page-header .aac-ph-title { position: relative; display: flow-root; }

.aac-page-header .aac-ph-title .elementor-heading-title {
	font-family: 'FreightSansProMedium-Regular', sans-serif;
	font-weight: normal;
	font-size: 28px;
	line-height: 1;
	color: #253338;
	float: left;
	padding: 5px 40px 2px 20px;
	margin-left: -10px;
	background-color: #e9eaeb;
	position: relative;
}
.aac-page-header .aac-ph-title .elementor-heading-title::before {
	content: '';
	position: absolute;
	right: 100%;
	top: 0;
	height: 100%;
	width: 666px;
	background-color: #253238;
	transition: all .6s ease;
}
.aac-page-header .aac-ph-title .elementor-heading-title::after {
	content: '';
	position: absolute;
	right: -10px;
	top: 0;
	height: 100%;
	width: 25px;
	background-color: #FFFFFF;
	transition: all .6s ease;
}
.aac-page-header .aac-ph-title .elementor-heading-title span::before {
	content: '';
	position: absolute;
	top: 0;
	left: -31px;
	height: 100%;
	width: 45px;
	background-color: #e9eaeb;
	transition: all .6s ease;
}
.loaded .aac-page-header .aac-ph-title .elementor-heading-title::before,
.loaded .aac-page-header .aac-ph-title .elementor-heading-title::after,
.loaded .aac-page-header .aac-ph-title .elementor-heading-title span::before,
.elementor-editor-active .aac-page-header .aac-ph-title .elementor-heading-title::before,
.elementor-editor-active .aac-page-header .aac-ph-title .elementor-heading-title::after,
.elementor-editor-active .aac-page-header .aac-ph-title .elementor-heading-title span::before { transform: skew(30deg, 0); }

.aac-page-header .aac-ph-back {
	font-size: 14px;
	line-height: 1;
	color: #FFFFFF !important;
	text-transform: uppercase;
	position: absolute;
	z-index: 1;
	top: 11px;
	left: 99px;
	transition: all .4s ease;
}
.aac-page-header .aac-ph-back::before {
	content: '';
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-right: 10px solid #677074;
	border-bottom: 4px solid transparent;
	display: inline-block;
	margin: 1px 7px 0 0;
	transition: all .4s ease;
}
.aac-page-header .aac-ph-back:hover { color: #ffc106 !important; transform: translate3d(2px, 0, 0); }
.aac-page-header .aac-ph-back:hover::before { border-right: 10px solid #FFFFFF; }
.aac-page-header .helper { display: none; }

.aac-page-header .small-hexagon {
	position: absolute;
	z-index: 1;
	left: 20px;
	top: 0;
	transition: all .6s ease;
	transform: translate3d(-35px, 0, 0);
}
.loaded .aac-page-header .small-hexagon, .elementor-editor-active .aac-page-header .small-hexagon { transform: translate3d(0, 0, 0); }
.aac-page-header .icon-vortragende, .aac-page-header .icon-event { margin-top: -2px; }
.aac-page-header .icon-about { margin-top: -1px; }

/* Title position = original float logic: max(content-inner left edge, space taken by hexagon/helper or back link). */
.aac-page-header.e-con { --ph-min: 162px; }
.aac-page-header.aac-has-back.e-con { --ph-min: 290px; }
.aac-page-header .aac-ph-title { width: auto; max-width: none; margin: 0; padding-left: max(var(--ph-min), calc((100vw - 1200px) / 2)); }
@media (max-width: 1280px) {
	.aac-page-header .aac-ph-title { padding-left: max(var(--ph-min), 3vw); }
}
@media (max-width: 1023px) {
	.aac-page-header.e-con { margin-top: 200px; }
}
@media (max-width: 767px) {
	.aac-page-header.e-con { margin-top: 125px; display: block; }
	.aac-page-header .small-hexagon { display: none; }
	.aac-page-header .helper { margin-left: 10px; display: none; }
	.aac-page-header .aac-ph-back {
		display: inline-block;
		position: relative;
		top: auto;
		left: auto;
		background-color: #253238;
		padding: 10px 20px 10px 10px;
		margin: 0 0 13px -5px;
	}
	.aac-page-header .aac-ph-back::after {
		content: '';
		position: absolute;
		right: -15px;
		top: 0;
		height: 100%;
		width: 25px;
		background-color: #FFFFFF;
		transition: all .6s ease;
	}
	.loaded .aac-page-header .aac-ph-back::after { transform: skew(30deg, 0); }
	.aac-page-header .aac-ph-title { margin: 0; max-width: 100%; padding-left: 3%; }
	.aac-page-header:not(.aac-has-back) .aac-ph-title { padding-top: 16px; }
	.aac-page-header .aac-ph-title .elementor-heading-title { font-size: 20px; clear: left; max-width: 73%; }
}

/* #page-bg / .background / .rte.small-width */
.aac-page-bg.e-con {
	--display: block;
	display: block;
	width: 100%;
	padding-bottom: 70px; /* last .rte p margin (20) + .content-outer padding (50) */
	background-image: url(../img/blur.jpg);
	background-position: center -300px;
	background-size: cover;
	background-repeat: no-repeat;
}
.aac-small-width {
	width: 960px;
	max-width: 94%;
	margin: 0 auto;
	transform: translate3d(0, 70px, 0);
	transition: all .8s ease;
}
.loaded .aac-small-width, .elementor-editor-active .aac-small-width { transform: translate3d(0, 0, 0); }


/* .rte */
.aac-rte h2 { margin-bottom: 5px; }
.aac-rte h3 { margin-bottom: 5px; font-size: 20px; }
.aac-rte h4 { margin-bottom: 3px !important; font-size: 17px; }
.aac-rte p { margin-bottom: 20px; }
.aac-rte a { font-weight: normal; transition: all .4s ease; font-family: 'FreightSansProSemibold-Regular', sans-serif; }
.aac-rte ul, .aac-rte ol { padding-left: 18px; margin-bottom: 20px; }
.aac-rte ul li, .aac-rte ol li { margin-bottom: 5px; line-height: 1.3; }
.aac-rte img { max-width: 100%; height: auto; }
/* the original theme had no WordPress alignment rules – images stay inline */
.aac-rte .aligncenter, .aac-rte .alignleft, .aac-rte .alignright { display: inline; float: none; margin: 0; }

/* ==========================================================================
   Hexagon
   ========================================================================== */
.hexagon, .hexagon::before, .hexagon::after {
	border-style: solid;
	border-color: #253238;
	border-width: 1px;
	border-top: none;
	border-bottom: none;
	height: 50px;
	width: 86px;
	background-color: #e9eaeb;
	box-sizing: content-box;
	transition: all .6s ease;
}
.hexagon { text-align: center; position: relative; z-index: 0; float: left; }
.hexagon svg { transition: all .6s ease; }
.hexagon::after, .hexagon::before { content: ""; position: absolute; top: 0; left: -1px; z-index: -1; }
.hexagon::before { transform: rotate(60deg); }
.hexagon::after { transform: rotate(-60deg); }
.hexagon:hover, .hexagon:hover::before, .hexagon:hover::after { background-color: #ffc106; }
.small-hexagon, .small-hexagon::after, .small-hexagon::before { height: 40px; width: 67px; }
.small-hexagon:hover, .small-hexagon:hover::after, .small-hexagon:hover::before { background-color: #e9eaeb; }
.small-hexagon.yellow, .small-hexagon.yellow::after, .small-hexagon.yellow::before { background-color: #ffc106; }
.small-hexagon svg { margin-top: 4px; transform: scale(.86); }
.icon-hexagon, .icon-hexagon::after, .icon-hexagon::before { height: 18px; width: 28px; background-color: #253238; cursor: pointer; }
.icon-hexagon:hover, .icon-hexagon:hover::after, .icon-hexagon:hover::before { background-color: #ffc106; }
.icon-hexagon svg { margin-top: 0; display: inline-block; vertical-align: top; margin-top: 4px; }
.icon-hexagon svg path { fill: #ffc106; transition: fill .6s ease; }
.icon-hexagon:hover svg path { fill: #253238; }

/* ==========================================================================
   home.scss
   ========================================================================== */
/* hero: .container (margin-top 120, 503 px) + .intro-header (top 320) + bubbles (top 160, 450 px) */
.aac-hero.e-con { --display: block; display: block; position: relative; height: 623px; overflow: visible; z-index: 0; }
.aac-hero > .elementor-widget-html { position: absolute; inset: 0; margin: 0; z-index: 0; }
.aac-hero-anim { position: absolute; inset: 0; pointer-events: none; }
.aac-hero-anim .aac-bubbles { position: absolute; left: 0; top: 160px; width: 100%; height: 450px; display: block; }
.aac-scene { position: absolute; left: 50%; top: 120px; width: 503px; height: 503px; margin-left: -251px; }
.aac-layer { position: absolute; will-change: transform; }
.aac-layer img { display: block; width: 286px; height: auto; }
.aac-layer-1 { left: 128px; top: 30px; opacity: .7; }
.aac-layer-2 { left: 168px; top: 70px; opacity: .3; }
.aac-layer-3 { left: 88px;  top: 63px; opacity: .3; }
.aac-hero .aac-intro { position: absolute; left: 0; width: 100%; top: 320px; z-index: 10; text-align: center; }
.aac-hero .aac-intro .elementor-heading-title { font-weight: normal; font-size: 60px; text-transform: uppercase; letter-spacing: 5px; color: #253338; transition: letter-spacing 1.2s ease; font-family: 'FreightSansProSemibold-Regular', sans-serif; }
.loaded .aac-hero .aac-intro .elementor-heading-title, .elementor-editor-active .aac-hero .aac-intro .elementor-heading-title { letter-spacing: 0; }
@media (max-width: 1280px) { .aac-hero .aac-intro { top: 300px; } .aac-hero .aac-intro .elementor-heading-title { font-size: 50px; } }
@media (max-width: 1023px) { .aac-hero .aac-intro .elementor-heading-title { font-size: 36px; } }
@media (max-width: 767px) {
	.aac-hero.e-con { height: 420px; }
	.aac-hero-anim .aac-bubbles { display: none; }
	.aac-scene { width: 300px; height: 300px; margin-left: -150px; }
	.aac-layer img { width: 170px; }
	.aac-layer-1 { left: 76px; top: 18px; } .aac-layer-2 { left: 100px; top: 42px; } .aac-layer-3 { left: 52px; top: 38px; }
	.aac-hero .aac-intro { top: 200px !important; }
	.aac-hero .aac-intro .elementor-heading-title { font-size: 30px !important; }
}

/* teaser area */
.aac-teasers.e-con { position: relative; z-index: 1; padding-bottom: 70px; }
.aac-teasers.e-con > .e-con-inner { display: flex; flex-direction: row; align-items: stretch; flex-wrap: nowrap; }
.aac-teaserbox.e-con { --display: flex; display: flex; flex-direction: column; position: relative; margin-bottom: 20px; }
.aac-teaserbox.aac-box-events { width: 41%; margin-right: 9%; }
.aac-teaserbox.aac-box-news { width: 49%; }
.aac-teaser-head { display: flow-root; position: relative; }
.aac-teaser-head .hexagon { float: left; }
.aac-teaser-head .aac-teaser-title { overflow: hidden; }
.aac-teaser-head .aac-teaser-title .elementor-heading-title { margin-top: 10px; border-bottom: 2px solid #253338; padding: 0 0 10px 0; font-weight: normal; font-size: 24px; color: #253338; font-family: 'FreightSansProMedium-Regular', sans-serif; }
.aac-teaser-head .aac-teaser-title .elementor-heading-title span { margin-left: 105px; padding-top: 15px; display: block; }
.aac-teaser-head .hexagon { position: absolute; left: 0; top: 8px; } /* centre rect ends on the h2 line, as in the original */
/* hexagon above the heading line (Elementor widgets are position:relative and would paint over it) */
.aac-teaser-head > .elementor-widget-shortcode { position: absolute; left: 0; top: 0; z-index: 2; width: auto; }
.aac-teaser-head > .elementor-widget-heading { position: relative; z-index: 1; }
.aac-box-events .hexagon svg { margin-top: 3px; }
.aac-box-news .hexagon svg { margin-top: 9px; }
.aac-teaserbox:hover .hexagon, .aac-teaserbox:hover .hexagon::before, .aac-teaserbox:hover .hexagon::after { background-color: #ffc106; }
.aac-teaser-content.e-con {
	--display: block;
	display: block;
	flex: 1 1 auto;
	width: auto;
	max-width: none;
	align-self: stretch;
	margin: 0 0 0 44px;
	padding: 22px 10px 41px 22px;
	border: 1px solid #e9eaeb;
	border-top: none;
	overflow: hidden;
}
.aac-box-events .aac-teaser-content.e-con { padding-left: 0; padding-right: 0; }
/* original: floated .content shrink-wraps the news teaser */
.aac-box-news .aac-teaser-content.e-con { align-self: flex-start; width: fit-content; max-width: calc(100% - 44px); }
.aac-box-news .aac-teaser-content .news-teaser { float: none; }
.aac-teaserbox .aac-teaser-button { position: absolute; left: 50%; margin-left: -108px; bottom: -20px; width: 260px; }
.aac-teaserbox .course-link .v-center { font-size: 13px; }
.aac-teaserbox .course-link .details { transform: translate3d(20px, 0, 0); transition: all .5s ease; }
.aac-teaserbox .course-link:hover .details { transform: translate3d(0, 0, 0); }
.aac-teaserbox .elementor-loop-container .e-loop-item:nth-of-type(even) { background-color: #e9eaeb; }
.aac-teaserbox h3 { margin-bottom: 1px; }
.aac-teaserbox h4 { margin-bottom: 7px; }

.news-teaser { display: block; float: left; margin-bottom: 25px; padding-left: 20px; position: relative; width: 100%; box-sizing: border-box; }
.news-teaser::before { content: ''; width: 10px; height: 100%; background-color: #e9eaeb; position: absolute; left: 0; top: 0; transition: all .5s ease; }
.news-teaser:hover::before { width: 12px; background-color: #ffc106; }
.news-teaser h3 { margin-bottom: 1px; }
.news-teaser h4 { margin-bottom: 7px; }

@media (max-width: 1280px) {
	.aac-teaserbox .course-link .details { display: none; }
	.aac-teaserbox .course-link .padding { padding: 15px; }
}
@media (max-width: 1023px) {
	.aac-teasers.e-con > .e-con-inner { flex-direction: column; }
	.aac-teaserbox.e-con { width: 100% !important; margin: 0 0 50px 0 !important; }
}
@media (max-width: 767px) {
	.aac-teaserbox .hexagon { display: none; }
	.aac-teaser-content.e-con { margin: 0; }
	.aac-teaser-head .aac-teaser-title .elementor-heading-title span { margin-left: 0; }
	.news-teaser { padding-left: 0; }
	.news-teaser::before { display: none; }
	.aac-teaserbox .aac-teaser-button { margin-left: -130px; }
	body h3 { font-size: 16px; }
	body p { font-size: 14px; }
}

/* ==========================================================================
   course list – .course-link, #courses, .filter, .checkboxes
   ========================================================================== */
.course-link { display: block; position: relative; color: #253338; }
.course-link .padding { position: relative; padding: 15px 120px 15px 15px; }
.course-link h3 { color: #253338; }
.course-link p { font-weight: normal; font-family: 'FreightSansProMedium-Regular', sans-serif; }
.course-link::after { content: ""; position: absolute; height: 4px; width: 100%; bottom: 0; left: 0; background-color: #fcc400; opacity: 0; }
.course-link .details {
	position: absolute;
	top: 0;
	right: 0;
	width: 90px;
	height: 100%;
	min-height: 66px;
	padding: 0 15px;
	text-align: center;
	background-color: #fcc400;
	opacity: 0;
	text-transform: uppercase;
	font-weight: normal;
	box-sizing: content-box; font-family: 'FreightSansProSemibold-Regular', sans-serif;
}
.course-link .details::before { content: ''; display: inline-block; vertical-align: middle; height: 100%; margin-right: -4px; }
.course-link .details .v-center { display: inline-block; vertical-align: middle; padding: 13px 0; line-height: 1.1; }
.course-link .details, .course-link::after { transition: opacity .4s ease; }
.course-link:hover .details, .course-link:hover::after { opacity: 1; }
.archived-course { cursor: default; }
.archived-course::after { display: none; }

.elementor-loop-container .e-loop-item > .e-con { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; height: 100%; }

.aac-courses.e-con { margin-top: 55px; padding-bottom: 50px; }
.aac-courses.e-con > .e-con-inner { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: flex-start; position: relative; }
.aac-courses-welcome { margin-bottom: 0; }
.aac-courses-welcome p + p { margin-top: 1em; }
.aac-courses-sidebar.e-con {
	--display: block;
	align-self: stretch;
	display: block;
	z-index: 2;
	position: relative;
	flex: none;
	width: 230px;
	margin: 0;
	padding: 0 55px 0 0;
	border-right: 1px solid #bdc1c3;
	box-sizing: content-box;
}
.aac-courses-sidebar .elementor-widget-button { margin-top: 30px; }
.aac-courses-sidebar .elementor-button { width: auto; display: block; margin-bottom: 25px; }
.aac-courses-content.e-con { --display: block; display: block; flex: 1 1 auto; width: auto; margin: 0 0 0 90px; z-index: 1; position: relative; min-width: 0; }
.aac-course-list .elementor-loop-container { grid-row-gap: 0 !important; row-gap: 0 !important; }
.aac-course-list .e-loop-item.aac-odd { background-color: #e9eaeb; }
.aac-course-list:not(.aac-striped) .e-loop-item:nth-of-type(2n+1) { background-color: #e9eaeb; }
.aac-course-list .e-loop-item.aac-hidden { display: none !important; }
.aac-no-results { display: none; padding: 15px; font-weight: normal; font-family: 'FreightSansProMedium-Regular', sans-serif; }
.aac-no-results.is-visible { display: block; }

.filter { padding-top: 23px; padding-bottom: 7px; overflow: hidden; }
.filter h5 { font-size: 14px; margin-bottom: 20px; text-transform: uppercase; font-weight: normal; font-family: 'FreightSansProSemibold-Regular', sans-serif; }
.checkboxes { overflow: hidden; position: relative; padding: 15px 0; list-style: none; }
.checkboxes::before, .checkboxes::after { position: absolute; content: ""; width: 0; height: 0; left: 0; border-style: solid; }
.checkboxes::before { top: 0; border-width: 0 22.5px 15px 22.5px; border-color: transparent transparent #e9eaeb transparent; }
.checkboxes::after { bottom: 0; border-width: 15px 22.5px 0 22.5px; border-color: #e9eaeb transparent transparent transparent; }
.checkboxes li { position: relative; list-style: none; padding: 5px 0; }
.checkboxes li::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 44px; background: #e9eaeb; }
.checkboxes input[type="checkbox"] { outline: none; position: absolute; left: -50px; opacity: 0; }
.checkboxes label {
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	padding: 5px 0 5px 54px;
	display: block;
	position: relative;
	transition: all .3s ease;
	font-weight: normal; font-family: 'FreightSansProBook-Regular', sans-serif;
}
.checkboxes label::before {
	content: '';
	line-height: 44px;
	text-align: center;
	position: absolute;
	width: 0;
	height: 0;
	margin-top: -11px;
	top: 50%;
	left: 11px;
	background-color: #fff;
	border: 12px solid #fff;
	border-radius: 500px;
	transition: all .1s ease;
}
.checkboxes input:checked + label { font-weight: 700; }
.checkboxes input:checked + label::before { background-color: #fcc400; border-width: 6px; width: 12px; height: 12px; }
.checkboxes input:focus-visible + label { text-decoration: underline; }

/* mobile sidebar toggle (#courses-mobile-menu) */
.aac-courses-toggle { display: none; }
@media (max-width: 1280px) {
	.aac-courses-sidebar.e-con { padding-right: 30px; }
	.aac-courses-content.e-con { margin-left: 61px; }
}
@media (max-width: 1023px) {
	.aac-courses.e-con { overflow: hidden; }
	.aac-courses.e-con > .e-con-inner { margin-bottom: 20px; }
	.aac-courses-welcome { margin-bottom: 30px; }
	.aac-courses.e-con { margin-top: 30px; } /* original: #courses-welcome margin-bottom 30, .content margin-top 0 */
	.aac-courses-sidebar.e-con { width: 210px; padding-right: 5px; margin-left: calc(-216px - 3vw); transition: all ease .8s; }
	.aac-courses-content.e-con { margin-left: 0; margin-top: 0; transition: all ease .8s; }
	.aac-courses.aac-sidebar-open .aac-courses-sidebar.e-con { margin-left: 3% !important; }
	.aac-courses.aac-sidebar-open .aac-courses-content.e-con { margin-left: 41px !important; margin-right: -251px !important; }
	.aac-courses-toggle { display: inline; position: absolute; top: 20px; right: 0; height: 80px; width: 80px; margin-right: -40px; z-index: 5; cursor: pointer; background: none; border: 0; padding: 0; }
	.aac-courses-toggle .courses-svg-container { box-sizing: content-box; padding: 10px; margin-left: 20px; margin-top: 20px; position: relative; display: inline-block; background-color: #fcc400; width: 20px; height: 20px; transform: rotate(45deg); }
	.aac-courses-toggle .rotate { display: inline-block; }
	.aac-courses-toggle .rotate { transform: rotate(135deg); transition: all ease .8s; }
	.aac-courses-toggle svg { position: relative; height: 20px; width: 20px; left: -7px; transition: all ease .8s; }
	.aac-courses-toggle svg path { fill: #fff; }
	.aac-courses.aac-sidebar-open .aac-courses-toggle .rotate { transform: rotate(315deg); }
	.aac-courses.aac-sidebar-open .aac-courses-toggle svg { left: 0; }
}
@media (max-width: 767px) {
	.aac-courses .course-link .details { display: none; }
	.aac-courses .course-link .padding { padding-right: 15px; }
}

/* ==========================================================================
   course detail – #course, .course-details, .schedule, .sidebar, #related
   ========================================================================== */
.aac-course.e-con > .e-con-inner { display: flex; flex-direction: row; align-items: flex-start; }
.aac-course-content.e-con { --display: block; display: block; flex: 1 1 auto; min-width: 0; counter-reset: section; }
.aac-course-sidebar.e-con { --display: block; display: block; flex: none; width: 285px; margin-left: 122px; }

.aac-course-title .elementor-heading-title { font-size: 30px; font-weight: normal; margin-bottom: 20px; padding-bottom: 2px; border-bottom: 2px solid #e9eaeb; margin-top: 15px; color: #253338; font-family: 'FreightSansProSemibold-Regular', sans-serif; }
.aac-num .elementor-heading-title {
	font-size: 18px;
	font-weight: normal;
	line-height: 34px;
	text-transform: uppercase;
	position: relative;
	padding-bottom: 16px;
	color: #253338; font-family: 'FreightSansProSemibold-Regular', sans-serif;
}
.aac-num .elementor-heading-title::before {
	position: absolute;
	top: 0;
	left: -42px;
	counter-increment: section;
	content: counter(section);
	width: 30px;
	height: 34px;
	background: url(../img/hexagon-small.png);
	font-size: 16px;
	line-height: 34px;
	text-align: center;
	font-weight: bold;
	font-family: 'Trebuchet MS', Arial, Sans-Serif;
}
.aac-entry { font-size: 18px; line-height: 22px; padding-bottom: 40px; }
.aac-entry p { line-height: 22px; }
.aac-entry p + p { margin-top: 1em; }

.schedule { width: 100%; border-collapse: collapse; margin: 9px 0; }
.schedule th, .schedule td { padding: 2px 17px; vertical-align: top; text-align: left; margin: 0; font-weight: normal; border: 0; font-family: 'FreightSansProMedium-Regular', sans-serif; }
.schedule th, .schedule th p, .schedule td, .schedule td p { font-size: 18px; line-height: 30px; }
.schedule th { width: 130px; font-weight: normal; font-family: 'FreightSansProSemibold-Regular', sans-serif; }
.schedule .odd th, .schedule .odd td { background: #e9eaeb; }
.schedule .even th, .schedule .even td { background: transparent; }
.aac-schedule-wrap { padding-bottom: 40px; }

.aac-course-sidebar .elementor-button { width: auto; display: block; margin-bottom: 25px; }
.aac-course-sidebar .aac-sb-h .elementor-heading-title { font-size: 14px; line-height: 20px; color: #263238; font-weight: normal; text-transform: uppercase; opacity: .6; font-family: 'FreightSansProSemibold-Regular', sans-serif; }
.aac-course-sidebar .data { background: #f6f7f7; padding: 16px; font-size: 16px; line-height: 22px; font-weight: normal; font-family: 'FreightSansProMedium-Regular', sans-serif; }
.aac-course-sidebar .data p { line-height: 22px; }
.aac-course-sidebar .data + p, .aac-course-sidebar .data p + p { margin-top: 0; }
.aac-course-sidebar .elementor-widget-shortcode + .aac-sb-h { padding-top: 26px; }
.aac-maplink { margin-top: 8px; font-size: 14px; font-weight: normal; font-family: 'FreightSansProSemibold-Regular', sans-serif; }
.aac-maplink a { border-bottom: 2px solid #f6f7f7; transition: all .4s ease; }
.aac-maplink a:hover { border-color: #ffc106; }
.data a { transition: all .4s ease; }

/* registration form – field style of the original login popup */
.aac-anmeldung-form .elementor-field-group { margin-bottom: 14px; }
.aac-anmeldung-form .elementor-field-label { display: block; font-size: 16px; line-height: 20px; text-align: left; font-weight: normal; color: #253338; margin-bottom: 2px; font-family: 'FreightSansProBook-Regular', sans-serif; }
.aac-anmeldung-form .elementor-field-textual,
.aac-anmeldung-form .elementor-select-wrapper select {
	border: 1px solid #a8adaf !important;
	border-radius: 0 !important;
	padding: 10px 12px !important;
	font-family: 'FreightSansProBook-Regular', sans-serif;
	font-size: 20px !important;
	line-height: 28px;
	min-height: 50px;
	color: #253338;
	background: #fff;
	box-shadow: none !important;
	outline: 0;
}
.aac-anmeldung-form textarea.elementor-field-textual { min-height: 120px; }
.aac-anmeldung-form .elementor-field-textual:focus { border-color: #253338 !important; }
.aac-anmeldung-form .elementor-field-type-acceptance label { font-size: 16px; line-height: 1.3; }
.aac-anmeldung-form .elementor-field-type-acceptance a { font-weight: normal; border-bottom: 2px solid #e9eaeb; font-family: 'FreightSansProSemibold-Regular', sans-serif; }
.aac-anmeldung-form .e-form__buttons { margin-top: 10px; }
.aac-anmeldung-form .elementor-message { font-size: 16px; font-weight: normal; font-family: 'FreightSansProMedium-Regular', sans-serif; }
.aac-anmeldung-intro { font-size: 18px; line-height: 22px; padding-bottom: 20px; }
.aac-kurs-archiviert .aac-anmeldung { display: none !important; }

.aac-related.e-con { --display: block; display: block; clear: both; padding-top: 60px; padding-bottom: 50px; }
.aac-related .aac-related-title { border-bottom: 2px solid #e9eaeb; }
.aac-related .aac-related-title .elementor-heading-title { width: 1200px; max-width: 94%; margin: 0 auto; font-size: 30px; line-height: 51px; color: #253238; font-weight: normal; font-family: 'FreightSansProSemibold-Regular', sans-serif; }
.aac-related .aac-related-links { width: 1200px; max-width: 94%; margin: 0 auto; padding: 41px 0; }
.aac-related .elementor-loop-container { grid-column-gap: 1.75% !important; column-gap: 1.75% !important; grid-row-gap: 0 !important; }
.aac-related .course-link { display: block; background: #e9eaeb; border-top: 1px solid #9B9B9B; height: 100%; position: relative; box-sizing: border-box; }

@media (max-width: 1300px) {
	.aac-course-sidebar.e-con { margin-left: 22px; }
	.aac-num .elementor-heading-title::before { position: relative; float: left; left: 0; margin-right: 10px; }
}
@media (max-width: 1023px) {
	.aac-course.e-con > .e-con-inner { flex-direction: column; }
	.aac-course-sidebar.e-con { margin: 50px 0 0 0; width: auto; align-self: stretch; }
	.aac-related .elementor-loop-container { display: block !important; }
	.aac-related .e-loop-item:nth-of-type(2) .course-link { background-color: #fff; }
}

/* ==========================================================================
   news.scss – #news-list, .news-item (also used for the speakers page)
   ========================================================================== */
.aac-news-list { margin-top: 25px; padding-bottom: 50px; }
.aac-news-list .teaser-text { padding: 15px 197px 20px 197px; }
.aac-news-list .teaser-text h3 { margin-bottom: 3px; }
.aac-news-list .teaser-text h4 { margin-bottom: 7px; }
.aac-news-list .elementor-loop-container { grid-row-gap: 0 !important; row-gap: 0 !important; }
.news-item {
	float: left;
	width: 100%;
	background-color: #e9eaeb;
	border-bottom: 3px solid #FFFFFF;
	margin: 0 0 35px 0;
	padding: 10px;
	box-sizing: border-box;
	transition: all .6s ease;
	position: relative;
	cursor: pointer;
	scroll-margin-top: 140px;
}
.news-item .icon-hexagon { position: absolute; left: 50%; bottom: -7px; margin-left: -15px; float: none; transition: all .6s ease; }
.news-item:hover { background-color: #E3E3E3; border-color: #ffc106; }
.news-item:hover .icon-hexagon, .news-item:hover .icon-hexagon::after, .news-item:hover .icon-hexagon::before { background-color: #ffc106; }
.news-item:hover .icon-hexagon { transform: translate3d(0, 3px, 0); }
.news-item:hover .icon-hexagon svg path { fill: #253238; }
.news-item .content { display: none; cursor: default; overflow: hidden; }
.news-item .content p:first-child { margin-top: 20px; }
.news-item .content img { display: inline-block; margin-bottom: 10px; }
.news-item.opened .icon-hexagon, .news-item.opened .icon-hexagon::after, .news-item.opened .icon-hexagon::before { background-color: #ffc106; }
.news-item.opened .icon-hexagon { transform: translate3d(0, 3px, 0); }
.news-item.opened .icon-hexagon svg { transform: scale(.4); }
.news-item.opened .icon-hexagon svg path { fill: #253238; }
.news-item .excerpt { overflow: hidden; transition: all .6s ease; }
.news-item .rte p { margin-bottom: 20px; }
.news-item .content p:last-child { margin-bottom: 0; }
.news-item .rte a { font-weight: normal; font-family: 'FreightSansProSemibold-Regular', sans-serif; }
.news-item h4 { font-size: 13px; }
@media (max-width: 767px) {
	.aac-news-list .teaser-text { padding: 0 30px 20px 30px; }
}

/* ==========================================================================
   footer.scss
   ========================================================================== */
.aac-footer.e-con {
	width: 100%;
	height: 110px; /* original: 48px + 2×30px padding + 2px border */
	box-sizing: border-box;
	overflow: visible;
	background-color: #e9eaeb;
	border-top: 2px solid #aeb2b5;
	padding: 30px 0;
	font-size: 14px;
	font-weight: normal;
	color: #253238; font-family: 'FreightSansProMedium-Regular', sans-serif;
}
.aac-footer.e-con > .e-con-inner { display: flex; flex-direction: row; align-items: flex-start; flex-wrap: nowrap; }
.aac-footer .aac-footer-contact { flex: none; }
.aac-footer .aac-footer-contact .elementor-shortcode { display: flex; }
.aac-footer .v-middle { margin-right: 40px; height: 50px; }
.aac-footer .v-middle a { display: flex; align-items: center; height: 100%; }
.aac-footer .v-middle a p { transition: all .6s ease; line-height: 1.4; font-size: 14px; }
.aac-footer .svg-mail { margin-top: 10px; }
.aac-footer svg { margin: 6px 10px 0 0; flex: none; }
.aac-footer svg path { transition: all .6s ease; fill: #9ba0a3; }
.aac-footer .v-middle:hover svg path { fill: #253338; }

.aac-footer .aac-footer-menu { margin: 17px 0 0 30px; flex: none; }
.aac-footer-menu .elementor-nav-menu--main .elementor-nav-menu { display: block; list-style: none; }
.aac-footer-menu .elementor-nav-menu--main .elementor-nav-menu > li { display: inline; }
.aac-footer-menu .elementor-nav-menu--main .elementor-item,
.aac-footer-menu .elementor-nav-menu--main .elementor-item:hover,
.aac-footer-menu .elementor-nav-menu--main .elementor-item:focus {
	display: inline;
	padding: 0;
	margin: 0 14px !important; /* Elementor sets margin-inline-* on menu links */
	font-size: 14px;
	line-height: 1;
	font-weight: normal;
	color: #253238;
	text-decoration: none;
	border-bottom: 2px solid #e9eaeb;
	transition: all .4s ease; font-family: 'FreightSansProMedium-Regular', sans-serif;
}
.aac-footer-menu .elementor-nav-menu--main .elementor-item:hover,
.aac-footer-menu .elementor-nav-menu--main .elementor-item.elementor-item-active { border-color: #ffc106; }
.aac-footer-menu .elementor-nav-menu--main .elementor-item::before,
.aac-footer-menu .elementor-nav-menu--main .elementor-item::after { display: none; }
.aac-footer-menu .elementor-menu-toggle, .aac-footer-menu .elementor-nav-menu--dropdown { display: none !important; }
.aac-footer-menu .elementor-nav-menu--main { display: block !important; }

.aac-footer .aac-footer-copyright { margin-left: auto; text-align: right; height: 50px; display: flex; align-items: center; justify-content: flex-end; }
.aac-footer .aac-footer-copyright p { font-size: 12.6px; line-height: 1.3; } /* measured on the original: 90 % of 14px */

@media (max-width: 1280px) {
	.aac-footer.e-con { height: auto; }
	.aac-footer.e-con > .e-con-inner { flex-wrap: wrap; }
	.aac-footer .aac-footer-menu { margin-left: auto; }
	.aac-footer .aac-footer-copyright { width: 100%; }
	.aac-footer-menu .elementor-nav-menu--main .elementor-item { margin: 0 0 0 14px !important; }
}
@media (max-width: 1023px) {
	.aac-footer.e-con > .e-con-inner { flex-direction: column; align-items: stretch; }
	.aac-footer .aac-footer-contact { width: 100%; }
	.aac-footer .v-middle { margin-right: 0; width: 33%; }
	.aac-footer .aac-footer-menu { margin: 20px 0; text-align: center; width: 100%; }
	.aac-footer .aac-footer-copyright { width: 100%; text-align: center; justify-content: center; margin-left: 0; }
}
@media (max-width: 767px) {
	.aac-footer .aac-footer-contact .elementor-shortcode { flex-direction: column; }
	.aac-footer .v-middle { width: 100%; }
	.aac-footer .v-middle a { justify-content: center; }
}

/* Visitors who prefer reduced motion get the final state without slide-ins (also used for automated screenshots). */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
