/*
(c) 2019 ANATOLI NEUFELD
*/


* {
  background: transparent;
  border: 0;
  list-style-type: none;
  margin: 0;
  padding: 0;
  outline: 0;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  -o-box-sizing:border-box;
  -ms-box-sizing:border-box;
  box-sizing:border-box;
}

@charset "UTF-8";

:root {
  --red: #fa1c41; /* RGB _ 250 28 65 */
  --orange: #f56a33; /* RGB _ 245 106 51 */
  --black: rgb(8,8,10);
}

body, html {
  height: 100%;
  font-size: 100%;
}

body {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  background-color: var(--black); /* #CCC */
  color: var(--black);
  padding: 0;
  margin: 0;
  font-weight: 400;
}

img {
  width: 100%;
  max-width: 100%;
}

h1 { font-size: 2.3em; line-height: 1.2em; }
h2 { font-size: 1.9em; line-height: 1.3em; }
h3 { font-size: 1.25em; line-height: 1.5em; }
h4 { font-size: 1.1em; line-height: 1.5em; }
p { font-size: 100%; line-height: 1.55em; }

h1, h2, h3, h4 {
  margin: 25px 0 45px 0;
  color: var(--black);
  font-weight: 800;
}

.page-header {
    display: inline-block;
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
    clip-path: inset(0px 0px 99.9% 99.9%);
    overflow: hidden;
    height: 1px;
    width: 1px;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}

h1 {
    display: inline-block;
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
    clip-path: inset(0px 0px 99.9% 99.9%);
    overflow: hidden;
    height: 1px;
    width: 1px;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    font-size: 0;
}

a { color: var(--red); text-decoration: none; }

section a,
#imprint a,
#disclaimer a {
  color: var(--black);
  padding: .22em .1em;
  box-shadow: inset 0 -0.19em 0 var(--red);
  transition: all 0.2s;
}
section a:hover,
#imprint a:hover,
#disclaimer a:hover { box-shadow: inset 0 -1.42em 0 var(--red); color: white; }

p {
  margin: 0 0 23px 0;
  padding: 0;
}

strong { font-weight: 800; }

ul, ol {
  margin: 50px 0 50px 40px;
  line-height: 1.45em;
}

#disclaimer ul, #disclaimer ol { margin: 20px 0 40px 30px; }

ul li { list-style-type: circle; margin-bottom: 6px; padding-left: 6px; }
ul li:hover { list-style-type: disc; }

ol li { list-style-type: decimal; margin-bottom: 3px; padding-left: 6px; }

blockquote {
  border-left: 1px solid #333;
  color: #666 !important;
  line-height: 1.55em;
  font-style: italic;
  padding-left: 30px;
  max-width: 340px;
  margin-left: 20px;
  margin-right: auto;
  margin-top: 45px;
  margin-bottom: 45px;
}

section {
  position: relative;
  display: block;
  margin: 0;
  padding: 70px 70px;
  background-color: white;
}

section.welcome {
  background: var(--black);
  color: white;
  padding: 25px 25px;
  padding-bottom: 0;
  height: 95%;
}

span.welcome-inner {
  position: relative;
  display: block;
  color: white;
  margin: 0 auto;
  padding: 0;
  height: 100%;
  border-radius: 2rem;

  background: #fa1c41; /* Old browsers */
  background: -moz-linear-gradient(-45deg, #fa1c41 0%, #f56a33 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, #fa1c41 0%,#f56a33 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, #fa1c41 0%,#f56a33 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fa1c41', endColorstr='#f56a33',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

@media(min-width: 1600px) {
section.welcome {
  padding: 35px 35px;
}
}

span.an-claim {
  display: inline-block;
  position: absolute;
  width: auto;
  height: auto;
  padding-left: 70px;
  padding-top: 70px;
}

@media(max-width: 680px) {
span.an-claim {
  padding-left: 10%;
}
}

span.an-brand {
  position: absolute;
  bottom: 10%;
  right: 5%;

  width: 270px;
  height: 340px;
  background-image: url(../images/an-brand.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 270px 340px;
}

@media (min-width: 1441px) {
span.an-brand {
  width: 340px;
  height: 428px;
  background-size: 340px 428px;
  bottom: 7%;
  right: 5%;
}
}

@media (max-width: 767px) {
span.an-brand {
  width: 220px;
  height: 277px;
  background-size: 220px 277px;
}
}
@media (max-width: 480px) {
section { padding: 35px; }
span.an-brand {
  width: 185px;
  height: 233px;
  background-size: 185px 233px;
}
}

span.arrow-wrapper {
  position: absolute;
  display: block;
  bottom: 0px;
  height: 35px;
  padding: 0;
  margin: 0;
}
span.arrow-wrapper.left { left: 0px; width: 50%; }
span.arrow-wrapper.right { right: 0; width: 50%; }


span.arrow-right {
  display: inline-block;
  height: 0;
  width: 100%;
  border-bottom: 35px solid var(--black);
  border-left: 35px solid transparent;
}
span.arrow-left {
  display: inline-block;
  height: 0;
  width: 100%;
  border-bottom: 35px solid var(--black);
  border-right: 35px solid transparent;
}

@media (max-width: 640px) {
span.arrow-wrapper { height: 25px; }
span.arrow-right { border-bottom: 25px solid var(--black); border-left: 25px solid transparent; }
span.arrow-left { border-bottom: 25px solid var(--black); border-right: 25px solid transparent; }
}

section.leistungen p {
  width: 100%;
  max-width: 480px;
}

section.dark-mode { background: var(--black); }
section.dark-mode * { color: white; }

section.aktuelles .items-wrapper {
}

section.aktuelles .item {
  display: inline-block;
  width: 100%;
  max-width: 380px;
  padding: 25px 35px;
  margin: 0 15px 15px 0;
  background: rgba(255,255,255,.08);
  border-radius: 6px;
  font-size: 90%;
}

section.aktuelles p {
  width: 100%;
}
section.aktuelles p.date { color: #666; }
section.aktuelles h3 {
  background: var(--red);
  color: white;
  padding: .5em 1em;
  font-weight: 800;
  display: inline-block;
  width: auto;
  margin: 0 0 30px 0;
}

@media (max-width: 767px) {
section.aktuelles .item { margin: 0 30px 15px 0; }
}

@media (max-width: 480px) {
section.aktuelles .item { padding: 20px 20px; }
}

section.uebermich p {
  width: 100%;
  max-width: 480px;

}

span.portrait {
  display: inline-block;
  padding: 0;
  margin: 0 0 0 40px;
  width: 100px;
  height: 100px;
  text-align: center;
  line-height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background-image: url(../images/ANcom-media_AnatoliNeufeld.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100px 100px;
/*  filter: grayscale(100%); */
  transition: all .3s ease;
}
span.portrait:hover { /* filter: grayscale(0%); */ }

div.contact {
  margin: 0 auto;
  width: 100%;
}

span.kuerzel { position: relative; }
span.data { position: absolute; left: 45px; }

#imprint span.data,
#disclaimer span.data { left: 95px; }

section.partner {
  text-align: center;
}

section.footer {
  padding: 45px 70px;
  color: #666;
  font-size: .8em;
  line-height: 1.75em;
  font-weight: 700;
}

@media (max-width: 480px) {
section.footer { padding: 35px; text-align: center; }
}

section.footer a {
  color: #666;
  box-shadow: none;
}

section.footer a:hover {
  color: #AAA;
  box-shadow: none;
}

span.pagebreak { display: inline-block; height: 1px; width: 5px; }
span.pagebreak.social { width: 15px; }
@media(max-width: 640px) {
span.pagebreak { display: block; height: 5px; width: 100%; }
}

/* VCARD */
p.vcard a,
p.vcard a:hover { box-shadow: none; }

p.vcard {
  position: relative;
  display: block;
  margin: 35px 0;
}

p.vcard a {
  position: relative;
  display: inline-block;
  padding: 20px 30px;
/*  padding-right: 75px; */
  border: 4px solid rgba(0,0,0,.10);
  border-radius: 2rem;
  font-size: .88em;
  font-weight: 700;
}

p.vcard a:hover { color: white; background-color: var(--red); border-color: var(--red); }

p.vcard svg {
  display: inline-block;
  position: absolute;
  right: 15px;
  top: 50%;
  margin-top: -20px;
  width: 40px;
  height: 40px;
}
p.vcard path.icon-download { fill: var(--black); }
p.vcard:hover path.icon-download { fill: whiteFFF; }

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--black);
    opacity: 0;
    z-index: -1;
    transition: all .3s ease;
    visibility: hidden;
}

#overlay.active {
    opacity: .70;
    z-index: 1000;
    visibility: visible;
}

#overlay:hover { cursor: pointer; }

#imprint,
#disclaimer {
    position: fixed;
    width: 90%;
    max-width: 650px;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    margin-top: -100px;
    transform: translate(-50%, -50%);
    padding: 25px;
    z-index: -2;
    background-color: white;
    border-radius: 4px;
    height: auto;
    min-height: 35vh;
    color: var(--black);
    opacity: 0;
    transition: all .3s ease;
    visibility: hidden;
}

#imprint.active,
#disclaimer.active {
    opacity: 1;
    z-index: 1001;
    margin-top: 0;
    visibility: visible;
}

#imprint,
#disclaimer {
  max-width: 500px;
  top:5%;
  left:5%;
  right:0;
  bottom:0;
  transform: translate(0, 0);
  overflow-x: hidden;
  overflow-y: auto;
  height: calc(100vh - 12%);
}

a.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-weight: 700 !important;
    padding: 10px 15px !important;
    background: black !important;
    color: white !important;
    box-shadow: none !important;
    cursor: pointer !important;
    border-radius: 4px;
    box-shadow: none !important;
}

a.close:hover {
  color: white !important;
  background: var(--red) !important;
}

a.js-link { cursor: pointer; }


#socialmedia.inline { margin: 0 0 30px 0; }

#socialmedia.inline ul {
  display: inline-block;
  margin: 0;
  padding: 0;
}

#socialmedia a:hover,
#socialmedia a { box-shadow: none; }

#socialmedia.inline li,
#socialmedia.inline li:hover {
  list-style-type: none;
}

#socialmedia.inline li {
  display: inline-block;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  overflow: hidden;
  width: 55px;
  height: 55px;
  background: var(--black);
}

.inline .xing a.icon,
.inline .linkedin a.icon,
.inline .facebook a.icon,
.inline .twitter a.icon,
.inline .instagram a.icon,
.inline .youtube a.icon {
  display: inline-block;
  width: 55px;
  height: 55px;
  background-size: 35px 35px;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  border-radius: 50%;
}

#socialmedia.inline li.pagebreak { display: none; }

@media (max-width: 420px) {
#socialmedia.inline li.pagebreak {
  display: block;
  background: transparent;
  height: 1px;
  width: 100%;
  margin: 0;
}
}

#socialmedia.inline li.xing:hover { background: #009090; }
#socialmedia.inline li.linkedin:hover { background: #0091ca; }
#socialmedia.inline li.facebook:hover { background: #3b60a9; }
#socialmedia.inline li.twitter:hover { background: #1b9bed; }
#socialmedia.inline li.instagram:hover {
  background: #edb44b; /* Old browsers */
  background: -moz-linear-gradient(45deg, #edb44b 0%, #f2833e 30%, #da475b 46%, #b43983 69%, #5466aa 86%, #5466aa 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(45deg, #edb44b 0%,#f2833e 30%,#da475b 46%,#b43983 69%,#5466aa 86%,#5466aa 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(45deg, #edb44b 0%,#f2833e 30%,#da475b 46%,#b43983 69%,#5466aa 86%,#5466aa 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#edb44b', endColorstr='#5466aa',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
#socialmedia.inline li.youtube:hover { background: #fd0010; }


.xing .icon,
.xing:hover .icon { background-image: url(../images/xing_light.svg); }

.linkedin .icon,
.linkedin:hover .icon { background-image: url(../images/linkedin_light.svg); }

.facebook .icon,
.facebook:hover .icon { background-image: url(../images/facebook_light.svg); }

.twitter .icon,
.twitter:hover .icon { background-image: url(../images/twitter_light.svg); }

.instagram .icon,
.instagram:hover .icon { background-image: url(../images/instagram_light.svg); }

.youtube .icon,
.youtube:hover .icon { background-image: url(../images/youtube_light.svg); }
