/* ============================================================
   COMMUNICATE Webdesign | V. 1.0.8
   ============================================================ */

/* global */
:root {
  --color-bg: #0c0c0c;
  --color-primary: #8571ea;
  --color-primary-dark: #004a99;
  --color-secondary: #e6e6e6;
  --color-accent: #8571ea;
  --color-bg-default: #0c0c0c;
  --color-bg-muted: #eceded;
  --color-bg-primary: #8571ea;
  --color-bg-secondary: #222;
  --font-base: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'mona-sansextrabold_wide', 'Inter', sans-serif;
  --font-heading-em: 'mona-sanslight_wide', 'Inter', sans-serif;
  --color-text: #989898;
  --color-heading-h1: #0c0c0c;
  --color-heading-h1-em: #0c0c0c;
  --color-footer-bg: #000000;
  --color-footer-text: rgba(255, 255, 255, 0.6);
}

@font-face {
    font-family: 'mona-sansextrabold_wide';
	font-display: swap;
    src: url('../fonts/mona-sans-extraboldwide-webfont.woff2') format('woff2'), url('../fonts/mona-sans-extraboldwide-webfont.woff') format('woff');
	font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'mona-sanslight_wide';
	font-display: swap;
    src: url('../fonts/mona-sans-lightwide-webfont.woff2') format('woff2'), url('../fonts/mona-sans-lightwide-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* style modifiers */
.uk-section-default {
  --uk-inverse: dark;
  background: var(--color-bg-default);
}
.uk-section-muted {
  --uk-inverse: dark;
  background: var(--color-bg-muted);
}
.uk-section-primary {
  --uk-inverse: light;
  background: var(--color-bg-primary);
}
.uk-section-secondary {
  --uk-inverse: light;
  background: var(--color-bg-secondary);
}


/* layout */
html, body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  line-height: 1.6;
  scroll-behavior: smooth;
  font-size: 16px;
  font-weight: 300;
}

main {
  min-height: 100vh;
  background: var(--color-bg-primary);
  position: relative;
  z-index: 1;
}

.uk-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.uk-container {
  max-width: 1200px;
}

/* typography */
.uk-h1, .uk-heading-2xlarge, .uk-heading-3xlarge, .uk-heading-large, .uk-heading-xlarge, .uk-heading-medium, h1 {
  font-family: var(--font-heading);
  color: var(--color-heading-h1);
  text-transform: uppercase;
  font-size: calc(1rem + 3vw);
}

.uk-h1 em, .uk-heading-2xlarge em, .uk-heading-3xlarge em, .uk-heading-large em, .uk-heading-xlarge em, .uk-heading-medium em, h1 em {
  font-family: var(--font-heading-em);
  color: var(--color-heading-h1-em) !important;
  font-style: normal;
}

.uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6, .uk-heading-small, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading-em);
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 1px;
}

.uk-h4, .uk-h5, .uk-h6, .uk-heading-small, h4, h5, h6 {
  font-weight: 400;
}

h2.leistungen {
  font-family: var(--font-heading);
  color: var(--color-heading-h1);
  font-size: calc(1rem + 2vw);
  line-height: calc(1rem + 2.5vw);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

h2.leistungen em {
  font-family: var(--font-heading-em);
  color: var(--color-heading-h1-em) !important;
  font-style: normal;
}

.uk-section-default h2, .uk-section-default h3  {color:#fff;}
.uk-section-default p {color: rgba(255,255,255,0.6);}
.uk-section-default b, .uk-section-default strong {color: rgba(255,255,255,0.8); font-weight:500;}

.uk-text-lead {
  font-size: 1.4rem;
  color: var(--color-text);
}

p {
  margin-bottom: 1.2em;
  color: var(--color-text);
}

.uk-section-primary:not(.uk-preserve-color) a.c8link {
  color: rgba(255,255,255,1);
  text-decoration: underline;
}
.uk-section-primary:not(.uk-preserve-color) p {
  color: rgba(255,255,255,.7);
}

/* buttons */
.uk-button {letter-spacing:1px; box-shadow: 0 8px 16px 0 rgba(0,0,0,0.6);}

.uk-button-primary {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  transition: all 0.25s ease-in-out;
}

.uk-button-primary:hover {
  background-color: var(--color-primary-dark);
  color: #fff;
}

.uk-button-secondary {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  transition: all 0.25s ease-in-out;
}

.uk-button-secondary:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.playbtn {
  position: relative;
  display: inline-block;
  padding: 25px 30px !important;
  margin: 40px 0;
  background: transparent !important;
  color: #ffffff !important;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.5s;
  font-weight: 600;
  letter-spacing: 4px;
  overflow: hidden;
  white-space: normal !important;
}
.playbtn:hover {
  background: #ffffff !important;
  color: #000000 !important;
  text-decoration: none !important;
  box-shadow: 0 0 5px #fff, 0 0 25px #fff, 0 0 50px #fff, 0 0 200px #fff;
  -webkit-box-reflect: below 1px linear-gradient(transparent, #0005);
}

.playbtn span {
  position: absolute;
  display: block;
}

.playbtn span:nth-child(1) {
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, transparent, #fff);
  animation: animate1 2s linear infinite;
}

@keyframes animate1 {
  0% {
    left: -100%;
  }
  50%,
  100% {
    left: 100%;
  }
}

.playbtn span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 10px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #fff);
  animation: animate2 2s linear infinite;
  animation-delay: 0.5s;
}

@keyframes animate2 {
  0% {
    top: -100%;
  }
  50%,
  100% {
    top: 100%;
  }
}

.playbtn span:nth-child(3) {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(270deg, transparent, #fff);
  animation: animate3 2s linear infinite;
  animation-delay: 1s;
}

@keyframes animate3 {
  0% {
    right: -100%;
  }
  50%,
  100% {
    right: 100%;
  }
}

.playbtn span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 10px;
  height: 100%;
  background: linear-gradient(360deg, transparent, #fff);
  animation: animate4 2s linear infinite;
  animation-delay: 1.5s;
}

@keyframes animate4 {
  0% {
    bottom: -100%;
  }
  50%,
  100% {
    bottom: 100%;
  }
}

.c8glow {
    border: none;
    outline: none;
    color: #fff;
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.c8glow:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 1;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

@supports (-webkit-touch-callout: none) {
	.c8glow:before {
		animation: none;
	}    
}

.c8glow:active {
    color: #fff;
}

.c8glow:active:after {
    background: transparent;
}

.c8glow:hover:before {
    opacity: 1;
}

.c8glow:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

/* cards */
.uk-card {
  background-color: #fff;
  border-radius: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.uk-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.uk-card-title, .uk-card-default .uk-card-title {
  color: var(--color-heading-h1);
  font-weight: 600;
}

.uk-overlay-primary {
  background: rgba(133,113,234,.8);
}

/* hero */
.hero {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 40%), url("/img/webdesign-meiringen-communicate.jpg");
  background-size: cover;
  background-position: center 40%;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--color-heading);
  min-height:80vH;
  overflow: hidden;
/*  background-blend-mode: lighten; */
/*  background-color: #707070; */
/*  background-blend-mode: luminosity; */
/*  background-color: #4c4c4c; */
}

@supports (-webkit-touch-callout: none) {
	.hero {
		background-position: center top;
		background-attachment: scroll;
		background-size: auto 140vh;
	}    
}

.hero h1, .hero h2, .hero h1 a, .hero h2 a, .hero h1 a:hover, .hero h2 a:hover {
  color: var(--color-heading-h1);
  text-decoration:none;
  text-shadow: 0 4px 4px rgba(0,0,0,.3) !important;
}

.hero p {
  color: rgba(0, 0, 0, 1);
  text-shadow: 1px 1px 6px rgba(255,255,255,.8);
  margin-bottom: 60px;
}

/* services */
#services.uk-section-default {
background-image: url('data:image/svg+xml,<svg id="communicate" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 79.37 52.19"><path fill="%231f2226" d="M68.82,12.49c-12.03-2.68-37.8,2.9-40.06,6.12-2.25,3.22-2.15,23.95,2.58,28.24,4.72,4.3,39.63,7.09,44.89,4.08,5.26-3.01,4.62-35.76-7.41-38.45ZM59.31,38.95c-2.83,1.62-21.59.12-24.13-2.19-2.54-2.31-2.6-13.45-1.39-15.19,1.21-1.73,15.07-4.73,21.54-3.29,6.47,1.44,6.81,19.05,3.98,20.67Z"/><path fill="%231f2226" d="M41.42,2.85C39-.43,11.03-.98,6.9,1.73,2.72,4.48-2.34,22.58,1.19,27c3.53,4.42,35.84,3.16,40.35,1.09,4.51-2.07,2.31-21.95-.12-25.23ZM37.68,24.31c-2.28,1.05-18.62,1.68-20.41-.55-1.79-2.23.77-11.39,2.89-12.78,2.09-1.37,16.24-1.09,17.46.57,1.23,1.66,2.34,11.71.06,12.76Z"/><path fill="%231f2226" d="M47.14,12.99c-9.07,1.44-17.16,3.87-18.38,5.62-.46.66-.83,2.07-1.07,3.92-.34,2.58,5.25,2.85,5.58.78.13-.81.31-1.43.52-1.74.82-1.18,7.49-2.94,13.7-3.5l-.35-5.08Z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50%;
}
#services .uk-container.c8schwerpunkte {
  max-width: 100%;
}
#services ul {
  list-style-type:none; 
  padding-left: 0px;
}
#services li {
  color: #8571ea;
  opacity: 0.8;
  font-size: 0.9rem;
}
#services li:hover {
  color: #8571ea;
  opacity: 1;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='4' d='M21 6 9 18l-6-6'%3E%3C/path%3E%3C/svg%3E")16 16, pointer;
}

/* footer */
footer {
  position: sticky;
  bottom: 0;
  left: 0;
  background-color: var(--color-footer-bg);
  padding: 50px 0;
  font-size: 0.9rem;
}

footer p {
  color: var(--color-footer-text);
}


footer a {
  color: var(--color-footer-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--color-accent);
}

.c8brand {
  display:none;	
  width: 50px;
  height: auto;
  opacity: 0.3;
  margin: 30px 0 10px;
  transition: opacity 0.2s ease;
}
.c8brand:hover {
  opacity: 0.4;
}

/* -------------------------------
   8. Utility-Klassen
   ------------------------------- */

.text-center { text-align: center; }
.text-muted { color: rgba(255, 255, 255, 0.6); }
.bg-secondary { background-color: var(--color-secondary); }
.rounded { border-radius: 8px; }
.shadow-soft { box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05); }


/* modalbox */
.ef-modal {
	background: #0c0c0c !important;
/*    background: rgba(66, 57, 117, 0.8) !important; 
	backdrop-filter: blur(2px); */
}
.ef-modal-box {
	margin: 0 auto !important;
	padding: 20px 0 0 0 !important;
    width: 100% !important; 
	max-width: 900px;
    border-radius: 0px !important; 
    background: transparent !important;
    -webkit-transition: all 0.6s !important;
    -moz-transition: all 0.6s !important;
    -o-transition: all 0.6s !important;
    transition: all 0.6s !important;
}
.ef-modal__close {
  color: rgba(255,255,255,0.6);
  font-size: 4rem;
}

/* -------------------------------
   9. Responsive Anpassungen
   ------------------------------- */

@media (max-width: 960px) {
  .uk-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  h1.uk-heading-medium {
    font-size: 2rem;
  }
  .uk-text-lead {
    font-size: 1.1rem;
  }
  #services.uk-section-default {
    background-size: 80%;
  }		
}

@media (max-width: 768px) {
  .ef-modal__close {
    top: 0;
    right: 0;
    padding: 0;
    width: 4rem;
    height: 4rem;
  }
  #services li {
    font-size: 0.85rem;
  }	
}

@media (max-width: 640px) {

  .uk-button-large {
    padding: 16px 20px;
    line-height: 24px;
    font-size: .875rem;
  }

  .hero p {
    background-image: radial-gradient(white 0%, transparent 80%);
    padding: 20px 20px 40px 20px;
  }
}

@media (max-width: 540px) {
  .ef-modal {
	top: 0;
    display: block;
    width: 100%;
    padding-top: 60px;
  }
  .ef-modal__close {
  	left: initial; 
	width: 100%;
    background-color: #8571ea;
  }
  .ef-modal__closeIcon {
	background: transparent;
	position: absolute;
    right: 0;
    top: 0;
	margin-right: .7rem;
  }
  .ef-modal__closeLabel {
    display: none;
  }
}