/* Local Google Font: Arimo (privacy-friendly self-hosted) */
@font-face {
	font-family: "Arimo";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/arimo-regular.woff2") format("woff2");
}

@font-face {
	font-family: "Arimo";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/arimo-700.woff2") format("woff2");
}

/*Basics*/

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box; 
}

html, html a {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004); }

html, body {
	min-height: 100%; 
}

body {
	font-size: 17px;
	color: #444;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	background: #fff; 
}

h1, h2, h4, h6 {
	font-family: 'Arimo', sans-serif;
	text-transform: uppercase;
	font-weight: 700;
	color: #444;
	margin: 0;
	padding: 0; 
}

h3, h5 {
	font-family: 'Arimo', sans-serif;
	font-weight: 700;
	color: #444;
	margin: 0;
	padding: 0; 
}

h2 { font-size: 50px;}
h3 { font-size: 54px;}
h4 { font-size: 32px;}
h5 { font-size: 21px;}
h6 { font-size: 18px;}

p {
	line-height: 1.4;
	margin: 20px 0;
}

p.subtitle {
	font-family: 'Arimo', sans-serif;
	font-weight: 800;
	letter-spacing: 0.03em;
	color: #FFFFFF;
	text-align: center;
}

img, embed, object, video {
	max-width: 100%; }


ul, li {
	list-style: none;
	margin: 0;
	padding: 0; 
}

a {
	text-decoration: none; 
	color: #00a8b8;
}

a:hover {
	text-decoration: none; 
	color: #00a8b8;
}

::selection {
	background: #444;
	color: #fff;
}

.clear {
	clear: both;
}
	
.wrapper {
	max-width: 1190px;
	margin: 0 auto;
	position: relative; 
}

input[type=text] {
	border: 2px solid #444;
	background: #fff;
	font-size: 17px;
	color: #444;
	padding: 16px;
	border-radius: 999px;
	width: 280px;
	font-family: 'Arimo', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
}

.buttons {
	width: auto;
	margin: 0 auto;
	text-align: center;
}

a.button-1, a.button-2, button {
	color: #fff;
	background: #00a8b8;
	border: 2px solid #00a8b8;
	border-radius: 999px;
	margin-top: -2px;
	margin-left: 10px;
	font-family: 'Arimo', sans-serif;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.03em;
	display: inline-block;
	width: 220px;
	margin: 10px;
	text-align: center;
	padding: 18px 0;
}

a.button-1:hover {
	border-color: #ffffff;
	background: #ffffff;
	color: #00a8b8;
}

a.button-2 {
	border-color: #00a8b8;
	background: none;
	color: #00a8b8;
}

a.button-2:hover {
	background: #00a8b8;
	color: #fff;
}

a.button-3, button {
	color: #fff;
	background: #00a8b8;
	border: 2px solid #00a8b8;
	border-radius: 999px;
	margin-top: -2px;
	margin-left: 10px;
	font-family: 'Arimo', sans-serif;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.03em;
	display: inline-block;
	width: 220px;
	margin: 10px;
	text-align: center;
	padding: 18px 0;
}

a.button-3:hover {
	border-color: #444;
	background: #444;
	color: #ffffff;
}

/* Sanfter Hover-Übergang für alle Buttons */
a.button-1,
a.button-2,
a.button-3,
header#top nav ul li a.nav-cta {
    transition: 
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}


@media only screen and (max-width: 640px) {
	a.button-1, a.button-2 {
		font-size: 16px;
		margin: 5px;
	}
}

/*Header*/

header#top {
	background: #fff;
	height: 120px;
}

h1.logo a {
	display: inline-block;
	float: left;
	color: #444;
	line-height: 2.25;
	text-indent: -4999px;
	background: url(../images/logo.png) no-repeat;
	margin: 20px 0 0 40px;
	width: 264px;
	height: 74px;
}

header#top nav {
	display: inline-block;
	float: right;
	width: auto;
	margin-top: 40px;
	margin-right: 40px;
}

header#top nav ul li {
	display: inline-block;
	float: left;
}

header#top nav ul li a {
	display: inline-block;
	background: none;
	padding:  10px 15px;
	color: #777;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

header#top nav ul li a:hover {
	color: #444;
}

header#top nav ul li a.nav-cta {
	color: #00a8b8;
	border: 2px solid #00a8b8;
	border-radius: 999px;
	margin-top: -2px;
	margin-left: 10px;
	background: transparent;
	transition: background-color 0.2s ease, color 0.2s ease;
}

/* Hover-Zustand – überschreibt globale a:hover-Regeln */
header#top nav ul li a.nav-cta:hover {
	background-color: #00a8b8;
	color: #ffffff;
}


@media only screen and (max-width: 1024px) {
	header#top {
		height: auto;
		padding-top: 20px;
		padding-bottom: 20px;
	}
	h1.logo {
	}
	header#top nav {
		float: none;
		text-align: center;
		width: 100%;
		margin: 20px auto 0 auto;
	}
	header#top nav ul li {
		float: none;
		font-size: 15px;
	}
	h1.logo a {
		display: block;
		float: none;
		margin: 0 auto;
		text-align: center;
	}
}

/*Banner*/

#banner {
	height: 700px;
	background: #f1f6f4 url(../images/macaya-header-image.jpg) no-repeat center;
	position: relative;
	padding: 1px 0 0 0;
}

#banner h2 {
	margin: 220px auto 0;
	padding: 0 5%;
	opacity: 0.9;
	color: #333;
	font-size: 88px;
	text-align: center;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.03em;
}

#banner p.subtitle {
	font-size: 30px;
	margin: 10px 0 50px 0;
}

@media only screen and (max-width: 1024px) {
	#banner h2 {
		font-size: 400%;
		margin-top: 100px;
		padding: 0;
		width: 100%;
	}
}

@media only screen and (max-width: 480px) {
	#banner h2 {
		font-size: 64px;
		margin-top: 64px;
	}
	#banner p.subtitle {
	 font-size: 16px;
	}
}

@media only screen and (max-width: 1024px) {
	#banner {
		height: 420px;
	}
}

@media only screen and (max-width: 480px) {
	#banner {
		height: 400px;
	}
}



/*Text Section*/

.text-section {
	text-align: left;
	padding: 20px 0;
	background: #fff;
}

.text-section p.subtitle {
	text-align: left;
	color: #00a8b8;
	font-size: 17px;
	margin-bottom: 40px;
}

.text-section .image {
	text-align: center;
}

.text-section .image.align-left {
	float: left;
	width: 50%;
	padding: 0 20px;
}

.text-section .text.align-left {
	float: left;
	width: 50%;
	padding: 0 10% 0 40px;
}

.text-section .image.align-right {
	float: right;
	width: 50%;
	padding: 0 20px;
}

.text-section .text.align-right{
	float: right;
	width: 50%;
	padding: 0 40px 0 10%;
}

.text-section .image.align-center {
	
}

.text-section .text.align-center {
	text-align: center;
	width: 80%;
	margin: 0 auto;
}

.text-section .text.align-center p.subtitle {
	text-align: center;
}

.text-section ul.list-checkmarks {
	margin-top: 40px;
}

ul.list-checkmarks li {
	text-align: left;
	list-style-image: none;
	background: url(../images/checkmark.png) top left no-repeat;
	background-position: 0 2px;
	margin: 10px 0;
	padding: 0 10px 10px 40px;
}

@media only screen and (max-width: 720px) {
	.text-section .text {
		float: none!important;
		text-align: center;
	}
	.text-section .text.align-right, 
	.text-section .text.align-left,
	.text-section .image.align-right,
	.text-section .image.align-left {
		width: 100%;
	}
	.text-section .image {
		float: none!important;
		width: 80%!important;
		padding: 0 20px;
		margin: 0 auto 60px auto;
	}
	.text-section .text p.subtitle {
		text-align: center;
	}
}



/*Portfolio Section*/

.portfolio-section {
	text-align: center;
	padding: 30px 0 10px;
	background: #fff;
}

.portfolio-section p.subtitle {
	color: #00a8b8;
	font-size: 17px;
}

ul.portfolio-list {
	width: 90%;
	max-width: 1190px;
	margin: 60px auto 5px;
}

ul.portfolio-list li {
	display: inline-block;
	float: left;
	width: 30.3%;
	background: #fff;
	padding: 0;
	margin: 1.5%;
}

ul.portfolio-list li a:hover {
	opacity: .5;
}
@media only screen and (max-width: 960px) {
	ul.portfolio-list li {
		display: block;
		width: 47%;
		margin: 1.5%;
	}
}

@media only screen and (max-width: 720px) {
	ul.portfolio-list li {
		display: block;
		width: 100%;
		margin: 3% 0;
	}
}


/*Footer*/

footer {
	background: #444;
	margin-top: 0px;
	color: #fff;
	text-align: center;
	padding: 60px 0;
}

footer a.logo {
	display: block;
	float: left;
	color: #fff;
	text-indent: -4999px;
	background: url(../images/logo-footer.png) no-repeat;
	margin: 0 0 0 40px;
	padding: 0 0 40px 0;
	width: 56px;
	height: 74px;
}

footer .footer-left {
	float: left;
	text-align: left;
	margin-top: 5px;
	margin-left: 50px;
}

footer .footer-right {
	float: right;
	margin-top: 20px;
	text-align: right;
}

footer p {
	font-size: 17px;
	margin: 5px;
}

footer p.copyright {
	font-family: 'Arimo', sans-serif;
	text-transform: uppercase;
	font-weight: 700;
}

footer .footer-links {
	color: #777;
}

footer .footer-links a {
	color: #777;
	margin: 0 20px;
}

footer .footer-links a:hover {
	color: #00a8b8;
}

footer .footer-links a:first-of-type {
	margin: 0 20px 0 0;
}

footer .footer-right a.social {
	display: inline-block;
	width: 44px;
	height: 44px;
	background: no-repeat center;
	text-indent: -4999px;
	overflow: hidden;
	text-align: left;
	background-color: #363636;
	border-radius: 999px;
	margin-left: 10px;
}

footer .footer-right a.social:hover {
	background-color: #00a8b8;
}

footer a.social.facebook {
	background-image: url(../images/social-facebook.png);
}
footer a.social.twitter {
	background-image: url(../images/social-twitter.png);
}
footer a.social.google {
	background-image: url(../images/social-google.png);
}

/* Abstand zwischen Text und Portfolio-Liste brutal verkleinern */
.portfolio-list {
    margin-top: 10px !important;
    padding-top: 0 !important;
}

.portfolio-list li {
    margin-top: 0 !important;
}

@media only screen and (max-width: 960px) {
	footer {
		padding: 30px 0;
	}
	footer .footer-left, footer .footer-right, footer a.logo {
		float: none;
		text-align: center;
		margin: 0 auto;
	}
	footer .footer-left {
		margin-bottom: 20px;
	}
	footer a.logo {
		 margin: 10px auto 40px auto;
	}
	footer .footer-links a {
		margin: 0 5px!important;
		font-size: 14px;
	}
}
/* Portfolio-Einleitung: bessere Lesbarkeit, nur hier */
.portfolio-section .subtitle {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Tablet */
@media (max-width: 1024px) {
    .portfolio-section .subtitle {
        max-width: 700px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .portfolio-section .subtitle {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Mobile Fix: Header darf wachsen */
@media (max-width: 600px) {
    #banner {
        height: auto;
        min-height: 0;
        padding-bottom: 60px;
    }

    #banner .buttons {
        margin-top: 30px;
    }
}
/* =========================================
   Rechtstexte (Datenschutz / Impressum)
   ========================================= */

.legal-section {
    text-align: left;
    padding: 40px 0;
}

/* Überschrift */
.legal-section h5 {
    margin-bottom: 30px;
}

/* Fließtext */
.legal-section p {
    text-align: left;
    max-width: 900px;
    margin: 0 40px 20px 40px;
    line-height: 1.6;
}

/* Listen: normale Bulletpoints & Nummern */
.legal-section ul,
.legal-section ol {
    list-style-position: outside;
    margin-left: 60px;
    margin-bottom: 20px;
}

.legal-section ul {
    list-style-type: disc;
}

.legal-section ol {
    list-style-type: decimal;
}

.legal-section li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Mobile */
@media (max-width: 600px) {
    .legal-section p {
        margin-left: 20px;
        margin-right: 20px;
    }

    .legal-section ul,
    .legal-section ol {
        margin-left: 35px;
    }
}

/* =========================================
   Rechtstexte: Listen mit Bulletpoints
   ========================================= */

.legal-section ul {
	list-style-type: disc;
	list-style-position: outside;
	margin-left: 60px;
	padding-left: 0;
}

.legal-section ol {
	list-style-type: decimal;
	list-style-position: outside;
	margin-left: 60px;
	padding-left: 0;
}

.legal-section li {
	display: list-item;        /* WICHTIG: holt Bulletpoints zurück */
	margin-bottom: 8px;
	line-height: 1.5;
}
@media (max-width: 600px) {
	.legal-section ul,
	.legal-section ol {
		margin-left: 35px;
	}
}

/* Rechtstexte: Bulletpoints & Nummern erzwingen */
.legal-section ul {
  list-style: disc !important;
  list-style-position: outside !important;
  margin-left: 60px !important;
  padding-left: 0 !important;
}

.legal-section ol {
  list-style: decimal !important;
  list-style-position: outside !important;
  margin-left: 60px !important;
  padding-left: 0 !important;
}

.legal-section li {
  display: list-item !important;
  float: none !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
}

@media (max-width: 600px) {
  .legal-section ul,
  .legal-section ol {
    margin-left: 35px !important;
  }
}

/* =====================================
   Mobile Hero Text kompakter halten
   ===================================== */
@media only screen and (max-width: 480px) {

  #banner p.subtitle {
    font-size: 14px;       /* kleiner als aktuell 16px */
    line-height: 1.3;      /* kompakter */
    margin-bottom: 20px;  /* weniger Abstand zu Buttons */
    padding: 0 10px;      /* etwas Luft an den Seiten */
  }

  #banner .buttons {
    margin-top: 10px;     /* Buttons näher an Text */
  }

  a.button-1,
  a.button-2 {
    font-size: 15px;
    padding: 14px 0;
    width: 200px;         /* etwas schmaler */
  }
}