* -------------------------------- 

Primary style

-------------------------------- */
*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-size: 100%;
  font-family: "Hind Guntur", sans-serif;
  /*background-color: rgba(0, 166, 81, 0.1);  #00a651 */
  background-color: rgba(80, 166, 81, 0.2); /* #00a651 */
}

a		{ color:#df0f7f; text-decoration: none; } /* magenta #df0f7f */
a:hover	{ color:#00a651; text-decoration: none; } /* grün    #00a651 */


img {
  max-width: 100%;
}

/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
.cd-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  width: 90%;
  max-width: 768px;
  margin: 0 auto;
}
.cd-container:after {
  content: "";
  display: table;
  clear: both;
}

.has-top-margin {
  /* this class is given - using jQuery - to the .cd-main-content following the .cd-secondary-nav when it becomes fixed */
}
@media only screen and (min-width: 1170px) {
  .has-top-margin {
    -webkit-animation: animate-margin-top 0.3s;
    -moz-animation: animate-margin-top 0.3s;
    animation: animate-margin-top 0.3s;
    margin-top: 70px;
  }
}

@-webkit-keyframes animate-margin-top {
  0%	{ margin-top: 100px; }
  100%	{ margin-top: 70px;  }
}

@-moz-keyframes animate-margin-top {
  0%	{ margin-top: 100px; }
  100%	{ margin-top: 70px;  }
}
@keyframes animate-margin-top {
  0%	{ margin-top: 100px; }
  100%	{ margin-top: 70px;  }
}

/* -------------------------------- 

Navigation

-------------------------------- */
.cd-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  box-shadow:none;
  background-color: transparent;
  z-index: 3;
}
@media only screen and (min-width: 768px) {
  .cd-header {
    height: 70px;
    background-color: transparent;
    box-shadow: none;
  }
}

/* Logo links */
#cd-logo	 { float:left; margin: 13px 0 0 5%; }
#cd-logo img { display: block; height:100px; }
@media only screen and (min-width: 512px) {
  #cd-logo img { display: block; height:130px; }
}
@media only screen and (min-width: 768px) {
  #cd-logo	   { margin: 23px 0 0 5%; }
  #cd-logo img { display: block; height:150px; }
}
@media only screen and (min-width: 1170px) {
  #cd-logo.is-hidden {
    /* assign a position fixed and move outside the viewport (on the left) */
	position: fixed;
    -webkit-transition: left 0.3s, opacity 0.3s;
    -moz-transition: left 0.3s, opacity 0.3s;
    transition: left 0.3s, opacity 0.3s;
	/* Logo verkleinern */
	-webkit-transform: scale(0.5);
	-moz-transform: scale(0.5);
	-ms-transform: scale(0.5);
	-o-transform: scale(0.5);
	transform: scale(0.5);
    opacity: 0;
	visibility:hidden;	
  }
  #cd-logo.is-hidden.slide-in {
    /* slide in when the secondary navigation gets fixed */
	left:0;
	top:0;
    margin: -35px -50px 0 0;
    opacity: 1;
	visibility:visible;
  }
}

/* Menü rechts oben */
.cd-primary-nav {
  float: right;
  margin-right: 5%;
  width: 44px;
  height: 100%;
  /* background: url("cd-icon-menu.svg") no-repeat center center; */
  /* background-size: 44px 44px; */
  visibility:hidden;
}
.cd-primary-nav ul {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
}
.cd-primary-nav ul.is-visible {
  -webkit-transform: translateY(50px);
  -moz-transform: translateY(50px);
  -ms-transform: translateY(50px);
  -o-transform: translateY(50px);
  transform: translateY(50px);
}
.cd-primary-nav a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding-left: 5%;
  background: #000101;
  border-top: 1px solid #051426;
  color: #f0eee1;
}
@media only screen and (min-width: 768px) {
  .cd-primary-nav {
    /* reset navigation values */
    width: auto;
    height: auto;
    background: none;
	visibility:visible;
  }
  .cd-primary-nav ul {
    position: static;
    width: auto;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    line-height: 70px;
  }
  .cd-primary-nav ul.is-visible {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
  .cd-primary-nav li {
    display: inline-block;
    margin-left: 1em;
  }
  .cd-primary-nav a {
    display: inline-block;
    height: auto;
    line-height: normal;
    background: transparent;
    padding: .6em 1em;
    border-top: none;
    color: #030d18;
  }
}

/* -------------------------------- 
Intro
-------------------------------- */
/* Startbildschirm */
#cd-intro { position: relative; height: 300px; background: url(stechpalme_foto.jpg) no-repeat center center; background-size: cover; z-index: 2; }
#cd-intro #cd-intro-tagline { width: 90%; max-width: 1170px; margin: 0 auto; text-align: center; padding-top: 120px; }
/* Schrift auf Startbildschirm */
#cd-intro h1 { font-size:24px; font-size:1.5rem; font-weight:700; color:#ffffff; text-shadow: 0 3px 3px rgba(0, 0, 0, 1.0); }
@media only screen and (min-width: 512px) {
  #cd-intro { height: 400px; }
  #cd-intro #cd-intro-tagline { padding-top: 160px; }
  #cd-intro h1 { font-size: 32px; font-size: 2.0rem; }
}
@media only screen and (min-width: 768px) {
  #cd-intro h1 { font-size: 48px; font-size: 3rem; }
}
@media only screen and (min-width: 1170px) {
  #cd-intro { height: 600px; }
  #cd-intro #cd-intro-tagline { padding-top: 250px; }
}

.cd-btn {
  display: inline-block;
  padding: 1em 1.8em;
  background-color: rgba(245, 72, 74, 0.1);
  margin-top: 1em;
  border-radius: 20em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: white;
}
.no-touch .cd-btn:hover {
  background-color: #f5484a;
}
@media only screen and (min-width: 1170px) {
  .cd-btn.is-hidden {
    /* assign a position fixed and move outside the viewport (on the right) */
    opacity: 0;
    position: fixed;
    right: -20%;
    top: 0;
    padding: .8em 1.2em;
    margin: 14px 0 0;
    -webkit-transition: right 0.3s, opacity 0.3s;
    -moz-transition: right 0.3s, opacity 0.3s;
    transition: right 0.3s, opacity 0.3s;
  }
  .cd-btn.is-hidden.slide-in {
    /* slide in when the secondary nav gets fixed */
    right: 5%;
    opacity: 1;
  }
}

/* -------------------------------- 
Secondary Fixed Navigation
-------------------------------- */
/* Popupmenü */
.cd-secondary-nav { position: relative; z-index: 3; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.cd-secondary-nav ul {
  position: fixed;
  width: 90%;
  max-width: 300px;
  right: 5%;
  top: 10px;
  border-radius: 0.5em;
  background: rgba(0, 166, 81, 0.96); /* #00a651 */
  visibility: hidden;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
  -webkit-transform-origin: 100% 0%;
  -moz-transform-origin: 100% 0%;
  -ms-transform-origin: 100% 0%;
  -o-transform-origin: 100% 0%;
  transform-origin: 100% 0%;
  -webkit-transition: -webkit-transform 0.3s, visibility 0s 0.3s;
  -moz-transition: -moz-transform 0.3s, visibility 0s 0.3s;
  transition: transform 0.3s, visibility 0s 0.3s;
}
.cd-secondary-nav ul.is-visible {
  visibility: visible;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  -webkit-transition: -webkit-transform 0.3s, visibility 0s 0s;
  -moz-transition: -moz-transform 0.3s, visibility 0s 0s;
  transition: transform 0.3s, visibility 0s 0s;
}

/* einzelne Menükästchen im Popupmenü*/
.cd-secondary-nav li a 				{ display: block; padding: 1.6em; border-bottom: 1px solid #092645; color: #222222; font-weight:700; }
.cd-secondary-nav li a:hover		{ color:#FFFFFF; }
.cd-secondary-nav li:last-child a	{ border-bottom: none; }

@media only screen and (min-width: 768px) {
  .cd-secondary-nav {
    z-index: 1;
    height: 100px;
    background-color: rgba(0, 166, 81, 1); /* #00a651 */
	-webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    transition: height 0.3s;
  }
  .cd-secondary-nav nav, .cd-secondary-nav ul, .cd-secondary-nav li, .cd-secondary-nav a {
    height: 100%;
  }
  .cd-secondary-nav ul {
    /* reset navigation values */
    position: static;
    width: auto;
    max-width: 100%;
    visibility: visible;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    text-align: center;
    background-color: transparent;
  }
  .cd-secondary-nav li {
    display: inline-block;
    margin-left: -4px;
  }
  .cd-secondary-nav li a {
    position: relative;
    text-align: center;
    display: block;
	/* Abstände der Menüpunkte oben */
    padding: 60px 32px 0 32px;
    border-bottom: none;
    -webkit-transition: padding 0.2s;
    -moz-transition: padding 0.2s;
    transition: padding 0.2s;
  }
  .cd-secondary-nav li a b {
    text-transform: uppercase;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: 700;
	/* Farbe der Menüpunkte oben */
    color: rgba(225, 225, 225, .8);
  }
  .cd-secondary-nav li a span {
    position: absolute;
    display: inline-block;
    width: 60px; /* Breite der Icons */
    height: 40px;
    top: 18px;
    left: 50%;
    right: auto;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    background-repeat: no-repeat;
    background-image: url(cd-nav-icons.svg);
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    transition: opacity 0.2s;
  }
  /* Hover-Farbe des Menüs */
  .cd-secondary-nav li a:hover b, .cd-secondary-nav li a.active b { color:#ffffff; }
  /* Position der Icons in der SVG-Datei*/
  .cd-secondary-nav li:nth-child(1) a span { background-position: 10px 0; }
  .cd-secondary-nav li:nth-child(2) a span { background-position: -60px 0; }
  .cd-secondary-nav li:nth-child(3) a span { background-position: -115px 0; }
  .cd-secondary-nav li:nth-child(4) a span { background-position: -180px 0; }
  .cd-secondary-nav li:nth-child(5) a span { background-position: -245px 0; }
  .cd-secondary-nav.is-fixed {
    /* on Firefox CSS transition/animation fails when parent element changes position attribute*/
    /* so we defined to diffent classes: .is-fixed to change the position value and .is-animated to change childrens' attributes (padding and opacity)*/
    position: fixed;
    left: 0;
    top: 0;
    height: 70px;
    width: 100%;
  }
  .cd-secondary-nav.animate-children {
    /* on Firefox CSS transition/animation fails when parent element changes position attribute*/
    /* so we defined to diffent classes: .is-fixed to change the position value and .is-animated to change childrens' attributes (padding and opacity)*/
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }
  .cd-secondary-nav.animate-children li a {
    padding: 26px 30px 0 30px;
  }
  .cd-secondary-nav.animate-children li a span {
    opacity: 0;
  }
}

/* Menüknopf mit 3 Strichen*/
.box-shadow-menu:before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0px;
  width: 30px;
  height: 3px;
  background:#CCCCC;;
  box-shadow: 0 10px 0 0 #CCCCCC, 0 20px 0 0 #CCCCCC, 0 30px 0 0 #CCCCCC;
}

/* Menüknopf */
.cd-secondary-nav-trigger {
  position: fixed;
  top: 10px;
  right: 5%;
  width: 44px;
  height: 44px;
  background: rgba(0, 166, 81, 1);
  border-radius: 0.25em;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  z-index: 2;
}
.cd-secondary-nav-trigger span {
  /* Menüknopf Inhalt */
  position: absolute;
  width: 0px;
  height: 4px;
  background: #f0eee1;
  left: 20px;
  top: 20px;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  -webkit-transition: background 0.3s;
  -moz-transition: background 0.3s;
  transition: background 0.3s;
}
.cd-secondary-nav-trigger-3 {
  /* Menüknopf 3 Striche */
  position: absolute;
  left: 6px;
  top: 0px;
  width: 30px;
  height: 4px;
  background-color: f0eee1;
  box-shadow: 0px 10px 0px #f0eee1, 0px 20px 0px #f0eee1,0px 30px 0px #f0eee1;
}
.cd-secondary-nav-trigger span::before, .cd-secondary-nav-trigger span::after {
  content: '';
  position: absolute;
  background: inherit;
  width: 100%;
  height: 100%;
  border-radius: 0%; 
  box-shadow: 10px 50px 0 0 #FF0000;
}
.cd-secondary-nav-trigger span::before {
  right: -10px;
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -o-transform: rotate(0);
  transform: rotate(0);
}
.cd-secondary-nav-trigger span::after {
  left: -10px;
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -o-transform: rotate(0);
  transform: rotate(0);
}
.cd-secondary-nav-trigger.menu-is-open {
  background: transparent;
}
.cd-secondary-nav-trigger.menu-is-open span {
  /* Schliessen-Kreuz */
  background: rgba(240, 0, 0, 0);
  width: 20px;
  height: 2px;
}
.cd-secondary-nav-trigger.menu-is-open div {
  /* 3 Striche ausblenden */
  box-shadow:none;
}
.cd-secondary-nav-trigger.menu-is-open span::before, .cd-secondary-nav-trigger.menu-is-open span::after {
  background: #f0eee1;
  width: 100%;
  height: 100%;
  border-radius: 0;
  /* Position Schliessen-Kreuz */
  top: 0;
  left: 0;
}
.cd-secondary-nav-trigger.menu-is-open span::before {
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}
.cd-secondary-nav-trigger.menu-is-open span::after {
  -webkit-transform: rotate(225deg);
  -moz-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
  -o-transform: rotate(225deg);
  transform: rotate(225deg);
}
@media only screen and (min-width: 768px) {
  /* kein Menü-Knopf */
  .cd-secondary-nav-trigger { display: none; }
}

/* -------------------------------- 

Placeholder Sections

-------------------------------- */
.cd-section {
  margin: 0 auto;
  padding: 2em 0;
}
.cd-section h2 {
  font-size: 20px;
  font-size: 1.25rem;
  margin-bottom: .6em;
  font-weight: 700;
}
.cd-section p {
  line-height: 1.6;
}
@media only screen and (min-width: 1170px) {
  .cd-section {
    margin: 0 auto;
    padding: 4em 0;
  }
  .cd-section h2 {
    font-size: 30px;
    font-size: 1.875rem;
  }
  .cd-section p {
    font-size: 20px;
    font-size: 1.25rem;
  }
}