@charset "UTF-8";
/*
Theme Name: HGM
Theme URI: 
Author: Mario Venturini
Author URI: 
Description: Custom Theme for HGM
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hgm
Tags: 
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: 'Muli', sans-serif;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
	-moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html, body {
	width: 100%;
	height: 100%;
	background: #FFF;
}

*:focus {
	outline: none;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 1000px white inset;
}

img {
	max-width: 100%;
}

h1 {
	padding: 0 10px;
	font-size: 16px;
	font-weight: 700;
	line-height: 44px;
	background: rgba(174, 174, 174, 0.1);
	border-bottom: 1px solid #e5e5e5;
}

h2, h3 {
	margin: 10px 0;
}

ul {
	padding-left: 20px;
}

ul li {
	margin-bottom: 10px;
	line-height: 1.4;
}

sup {
	line-height: 1;
}

p {
	line-height: 1.4;
}

strong {
	font-weight: 700;
}

.grecaptcha-badge { 
    visibility: hidden;
}

.page-template-kontakt .grecaptcha-badge { 
    visibility: visible;
}

/*** Basis ***/
.content, nav {
	position: relative;
	width: 100%;
	max-width: 840px;
	padding: 0 25px;
	margin: 0 auto;
	padding: 0;
	margin-top: 3%;
	margin-bottom: 5%;
	overflow: hidden;
}

nav {
	background: #FFF;
	transform: translateY(-100%);
	margin: 0 auto;
	border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.content-wrapper  {
	padding: 0 25px;
}

.content-wrapper  p {
	margin-bottom: 16px;
	font-size: 18px;
}

/*** Header ***/
.header {
	position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 40%;
    max-height: 577px;
	min-height: 420px;
	background-image: url(images/header-bg.jpg);
	background-position: center;
    background-size: 100% auto;
}

#headerTrigger {
	position: absolute;
    height: 50%;
    bottom: 0;
    width: 100%;
}

.logo {
	position: absolute;
	top: 20px;
	left: 10px;
	width: calc(150px + (300 - 150) * (100vw - 768px) / (1440 - 768));
	height: calc(100px + (201 - 100) * (100vw - 768px) / (1440 - 768));
	background-image: url(images/logo-hmg@2x.png);
	background-size: calc(150px + (300 - 150) * (100vw - 768px) / (1440 - 768)) calc(100px + (201 - 100) * (100vw - 768px) / (1440 - 768));
	z-index: 1;
}

.logo a {
	display: block;
    height: 100%;
}

.header-text {
	position: absolute;
    width: 100%;
    height: 100%;
}

.header-text .vertical-center {
	display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    text-align: center;
}

.header-text .vertical-center  > div {
	width: 100%;
}

.claim {
	position: relative;
	font-family: 'Caveat', serif;
	font-size: calc(36px + (60 - 36) * (100vw - 768px) / (1440 - 768));
	line-height: 1.33;
	font-weight: 700;
	color: #FFF;
}

.url {
	font-family: 'Caveat', serif;
	font-size: calc(70px + (100 - 70) * (100vw - 768px) / (1440 - 768));
	line-height: 1.33;
	font-weight: 700;
	color: #FFF;
}

.claim br {
	display: none;
}

.url span {
	color: #ffea00;
}

a.button {
	padding: 15px 30px;
    background: #2d4a8c;
    border-radius: 4px;
    margin-bottom: 30px;
    display: inline-block;
    color: #FFF;
    text-decoration: none;
    font-size: 20px;
}

a.header-button {
	border: 2px solid #000;
    position: absolute;
    bottom: -140px;
    left: calc(50% + 100px);
}

.main-menu {
	list-style: none;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	width: 100%;
	margin: 0;
	padding: 0;
}

.main-menu li {
	display: block;
	flex: 0 1 auto;
	width: 20%;
    text-align: center;
	margin: 0;
}

.main-menu li a {
	text-decoration: none;
	display: block;
    padding: 15px 0;
	background: #FFF;
	font-size: 18px;	
	color: #2d4a8c;
	transition: background 0.3s, color 0.3s;
}

.main-menu li a:hover,
.main-menu li.current_page_item a {
	background: #EEE;
}

.main-menu li.current_page_item a {
	font-weight: 700;
}

#hamburger {
	display: block;
    position: absolute;
    top: 0;
    right: 0;
    padding: 16px 18px 20px 18px;
    cursor: pointer;
    width: 60px;
    height: 60px;
    z-index: 1;
	transition: background 0.3s;
}

#hamburger.inverted {
	background: rgba(255, 255, 255, 0.5);
}

#hamburger .lines-button {
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;
	cursor: pointer;
	user-select: none;
}

#hamburger .lines {
	display: inline-block;
	width: 24px;
	height: 2px;
	border-radius: 0;
	background: #FFF;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;
	position: relative;
}

#hamburger.expanded {
	background: #FFF;
}

#hamburger.expanded .text-variant,
#hamburger.inverted .text-variant {
	opacity: 0;
}

#hamburger.expanded .lines,
#hamburger.expanded.inverted .lines {
	background: transparent;
}

#hamburger .lines:before,
#hamburger .lines:after {
	display: inline-block;
	width: 24px;
	height: 2px;
	background: #FFF;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;
	position: absolute;
	left: 0;
	content: '';
	-webkit-transform-origin: 3.14286px center;
	-moz-transform-origin: 3.14286px center;
	-ms-transform-origin: 3.14286px center;
	transform-origin: 3.14286px center;
}

#hamburger .lines:before {
	top: 6px;
}

#hamburger .lines:after {
	top: -6px;
}

#hamburger.expanded .lines:before,
#hamburger.expanded .lines:after {
	-webkit-transform-origin: 50% 50%;
	-moz-transform-origin: 50% 50%;
	-ms-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
	top: 0;
	width: 24px;
	background: #000;
}
#hamburger.inverted .lines,
#hamburger.inverted .lines:before,
#hamburger.inverted .lines:after {
	background: #000;
}

#hamburger.expanded .lines:before {
	transform: rotate3d(0, 0, 1, 45deg);
	-webkit-transform: rotate3d(0, 0, 1, 45deg);
	-moz-transform: rotate3d(0, 0, 1, 45deg);
	-ms-transform: rotate3d(0, 0, 1, 45deg);
}

#hamburger.expanded .lines:after {
	transform: rotate3d(0, 0, 1, -45deg);
	-webkit-transform: rotate3d(0, 0, 1, -45deg);
	-moz-transform: rotate3d(0, 0, 1, -45deg);
	-ms-transform: rotate3d(0, 0, 1, -45deg);
}

.mobile-nav {
	display: none;
	position: fixed;
    top: 0;
    right: 0;
    width: 60px;
    z-index: 100;
}

.mobile-nav .menu-hauptmenue-container {
	padding: 120px 0 0 0;
}

.mobile-nav .main-menu {
	display: block;
}

.mobile-nav .main-menu li {
	width: 100%;
}

.mobile-menu {
	position: absolute;
    width: 100vw;
    height: 120vh;
    right: 0;
    top: -120vh;
    background: #FFF;
	transition: top 0.3s;
}

.mobile-menu.show {
	top: 0;
}

@media only screen and (min-width: 1440px) {

	.header {
		position: relative;
		width: 100%;
		height: 577px;
		padding-bottom: 0;
	}
	
	.logo {
		width: 300px;
		height: 201px;
		background-size: 300px 201px;
	}
	
	.claim {
		font-size: 60px;
	}
	
	.url {
		font-size: 100px;
	}
	
}

@media only screen and (max-width: 1023px) {
	
	.claim:after {
		content: none;
	}
	
}

 /*** Startseite ***/
 p.intro-titel {
    font-size: 30px;
    line-height: 1.4;
    margin-bottom: 5%;
}

 p.intro {
	font-size: 20px;
	line-height: 1.4;
}

.wp-block-video {
	margin: 50px 0;
}

p.slogan {
	font-size: 24px;
    text-align: center;
}

/*** Publikationen ***/
.video-wrapper {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 75%;
	margin-bottom: 40px;
}

.video-wrapper video {
	position: absolute;
	width: 100%;
	height: 100%;
}

.video-cta {
	position: relative;
	padding: 25px;
	margin-top: 25px;
	border: 1px solid rgba(174, 174, 174, 0.22);
	transition: background 0.3s, border-color 0.3s;
}

.video-cta:hover {
	background: rgba(174, 174, 174, 0.1);
	border-color: #2d4a8c;
}

.video-cta.first {
	margin-top: 40px;
}

.video-cta a {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.video-preview {
	position: relative;
	display: inline-block;
	width: 300px;
    height: 0;
    padding-bottom: 65.5%;
	vertical-align: top;
}

.video-preview {
	background-size: cover;
    background-position: center;
}

.video-title {
	position: relative;
	display: inline-block;
	width: calc(100% - 300px);
    height: 0;
    padding-bottom: 65.5%;
	padding-left: 25px;
	font-size: calc(28px + (32 - 28) * (100vw - 768px) / (1440 - 768));
	line-height: 1.25;
}

.video-intro {
	margin-top: 40px;
}

.video-title .vertical-center {
	position: absolute;
    display: flex;
    height: 100%;
    align-items: center;
}

.video-title .vertical-center h2 {
	color: #2d4a8c;
	font-size: inherit;
    font-weight: normal;
	margin-bottom: 30px;
}

.video-title .vertical-center p{
	font-size: 16px;
	line-height: 1.4;
	margin: 0;
}

@media only screen and (min-width: 1440px) {
	
	.video-title {
		font-size: 32px;
	}
	
}

/*** Workshops ***/
.wp-block-file a:first-child {
	display: none;
}

.wp-block-file .wp-block-file__button,
.wp-block-button__link {
	margin: 10px 0;
	padding: 15px 30px;
    background: #2d4a8c;
    border-radius: 4px;
    margin-bottom: 30px;
    display: inline-block;
    color: #FFF;
    text-decoration: none;
    font-size: 20px;
	opacity: 1;
	transition: opacity 0.3s;
}

.wp-block-file .wp-block-file__button:hover,
.wp-block-button__link:hover {
	opacity: 0.85;
}

/*** Feedback ***/
.wpcf7-form input,
.wpcf7-form textarea {
	display: block;
    width: 100%;
	margin-top: 4px;
	font-family: 'Muli', sans-serif;
	font-size: 18px;
    padding: 6px 12px;
    border: 1px solid #CCC;
    border-radius: 4px;
	appearance: none;
    box-sizing: border-box;
}

.wpcf7-form textarea {
	resize: none;
}

.wpcf7-form input[type="submit"] {
	display: inline-block;
	width: auto;
	margin: 10px 0;
	padding: 15px 30px;
    background: #2d4a8c;
    border-radius: 4px;
    margin-bottom: 30px;
    display: inline-block;
	font-family: 'Muli', sans-serif;
    color: #FFF;
    text-decoration: none;
    font-size: 20px;
	opacity: 1;
	transition: opacity 0.3s;
	cursor: pointer;
}

.wpcf7-form input[type="submit"]:hover {
	opacity: 0.85;
}

.wpcf7-form .row {
	margin-bottom: 20px;
}

.wpcf7-form .row .left {
	float: left;
}

.wpcf7-form .row .right {
	float: right;
}

.wpcf7-form .row .half-width {
	width: calc(50% - 10px);
}

.wpcf7-not-valid-tip {
	font-size: 12px;
    margin-top: 4px;
}

/*** Footer ***/
.footer {
	padding-top: 85px;
	padding-bottom: 150px;
	background: #EEE;
}

.footer-content {
	position: relative;
	width: 100%;
	max-width: 1250px;
	padding: 0 25px;
	margin: 0 auto;
}

.footer-col-left,
.footer-col-right {
	width: calc(50% - 12px);
}

.footer-col-left {
	position: relative;
	float: left;
	font-size: calc(18px + (24 - 18) * (100vw - 768px) / (1440 - 768));
	line-height: 1.33;
}

.footer-col-left a {
	text-decoration: none;
	color: #000;
}

.footer-col-right {
	float: right;
	margin-top: -2px;
}

.footer-line {
	width: 100px;
	height: 4px;
	margin-top: 24px;
	background: #2d4a8c;
}

.footer-subcol-left,
.footer-subcol-right {
	width: calc(50% - 12px);
	font-size: 16px;
	line-height: 1.63;
	color: #3b3b3b;
}

.footer-subcol-left {
	float: left;
}

.footer-subcol-right {
	float: right;
}

.footer-subcol-left strong,
.footer-subcol-right strong {
	display: block;
	margin-bottom: 8px;
	color: #000;
}

.footer-subcol-left a,
.footer-subcol-right a,
.footer-subcol-left a:visited,
.footer-subcol-right a:visited {
	color: #3b3b3b;
	transition: color 0.3s;
}

.footer-subcol-left a:hover,
.footer-subcol-right a:hover {
	color: #2d4a8c;
}

@media only screen and (min-width: 1440px) {
	
	.footer-col-left {
		font-size: 24px;
	}
	
}

@media only screen and (max-width: 1023px) {
	
	.footer-col-right {
		margin-top: -3px;
	}
		
	.footer-subcol-left {
		float: none;
		width: 100%;
	}
	
	.footer-subcol-right {
		float: none;
		width: 100%;
		margin-top: 30px;
	}
	
}

@media only screen and (max-width: 767px) {
	
	.claim {
		font-size: 36px;
		line-height: 1.4;
		text-align: center;
	}
	
	.claim br {
		display: block;
	}
	
	.url {
		font-size: 70px;
		margin-top: 8px;
	}
	
	nav {
		display: none;
	}
	
	.mobile-nav {
		display: block;
	}
	
	.content {
		padding: 0 20px;
		margin-top: 56px;
		margin-bottom: 80px;
	}
	
	.intro {
		font-size: 18px;
	}
	
	h1 {
		width: calc(100% + 40px);
		margin-left: -20px;
		padding: 20px;
		line-height: 1.4;
	}
	
	.video-cta {
		padding: 20px 20px 16px 20px;
		margin-top: 20px;
	}
	
	.video-cta.first {
		margin-top: 30px;
	}
	
	.video-preview {
		width: 100%;
		padding-bottom: 160%;
	}
	
	.video-title {
		width: 100%;
		height: auto;
		padding-bottom: 0;
		padding-left: 0;
		font-size: 24px;
		line-height: 32px;
	}
	
	.video-title .vertical-center {
		position: static;
		display: block;
		height: auto;
		margin-top: 16px;
	}
	
	.video-title .vertical-center h2 {
		margin-bottom: 20px;
	}
	
	.video-title .vertical-center p {
		font-size: 16px;
	}
	
	.intro-titel {
		font-size: 24px;
	}
	
	a.header-button {
		bottom: -120px;
		left: calc(50%);
		transform: translateX(-50%);
	}
	
	.wpcf7-form .row .half-width {
		width: 100%;
	}
	
	.wpcf7-form .row .left {
		margin-bottom: 20px;
	}
	
	.footer {
		padding-top: 40px;
		padding-bottom: 60px;
	}
	
	.footer-content {
		padding: 0 20px;
	}
	
	.footer-col-left {
		float: none;
		width: 100%;
		font-size: 20px;
		line-height: 28px;
	}
	
	.footer-line {
		margin-top: 16px;
	}
	
	.footer-col-right {
		float: none;
		width: 100%;
		margin-top: 40px;
	}
		
	.footer-subcol-left {
		float: none;
		width: 100%;
	}
	
	.footer-subcol-right {
		float: none;
		width: 100%;
		margin-top: 30px;
	}
	
}

@media only screen and (max-width: 414px) {
	
	.logo {
		top: 10px;
		left: 0px;
		width: 150px;
		height: 100px;
		background-size: 150px 100px;
	}
	
	.claim br {
		display: block;
	}
	
	.content-wrapper {
		padding: 0;
	}
		
}

/* =================== Helper =================== */
.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	*zoom: 1;
}