@import url("/assets/fonts.css");
@import url("/assets/fonts/fontawesome/css/all.min.css");
@import url("/assets/colorbox.css");
@import url("/assets/cke5_content_styles.css");
@import url("/assets/navi.css");

:root {
  --white: #fff;
  --white-trans: rgba(255, 255, 255, 0.8);
  --white-trans2: rgba(255, 255, 255, 0.5);
  --black: #262933;
  --red: #ce2a1b;
  --blue: hsl(215, 100%, 25%);
  --blue2: hsla(215, 100%, 25%, 0.846);
  --line: #afb9ab;
  --grau: #efefef;
  --grau1: hsl(0, 0%, 80%);
  --bg-footer: #efefef;
  --bg-dark: #182023;
  --bg-leistungen: linear-gradient(hsl(0, 0%, 90%), var(--bg-footer));
}

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0 0 1rem 0;
}
h1 {
  font-weight: 700;
}
h2 {
  font-weight: 700;
}
h3 {
  font-weight: 700;
}
h4 {
  font-weight: 300;
}
b,
strong {
  font-weight: 500;
}
figure img {
  margin-top: 0.4rem;
  /* border: 1px solid var(--line); */
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

ul,
ol {
  padding-left: 2em;
}

li {
  margin-bottom: 0.5rem;
}

p:last-child {
  margin-bottom: 0;
}

.lft {
  text-align: left;
}
.ctr {
  text-align: center;
}
.rgt {
  text-align: right;
}

/* Set core root defaults */
html {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  --fs: 1.1rem;
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.4;
  font-family: "Roboto Condensed", sans-serif;
  margin: 0 auto;
  display: flex; /* Footer immer unten (siehe margin-top: auto im footer) */
  flex-direction: column; /* Footer immer unten (siehe margin-top: auto im footer) */
  background-color: var(--white);
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}
/* ! HÃ¶he der Navi */
/* ! BenÃ¶tigt fÃ¼r Anker-Links */
a[name] {
  scroll-margin-top: 132px;
}

a {
  color: var(--black);
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--red);
}

.ck-content hr {
  border-top: 1px solid var(--line) !important;
  background: none;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
  /* border: 1px solid var(--line); */
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Header */

.swiper-container {
  z-index: -1;
  width: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 1rem;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  min-height: 35vw;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.swiper-slide-home {
  text-align: center;
  font-size: 1rem;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  background-position: left top;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  min-height: 34vw;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.swiper-slide-home .image-start {
  flex-basis: 50%;
}
.swiper-slide-home .image-start img {
  width: 100%;
  object-fit: cover;
}

.swiper-slide .slogan,
.swiper-slide-home .slogan {
  flex-basis: 50%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background-color: var(--white-trans);
  background: var(--bg-footer) url(/media/tapete2.jpg) center center no-repeat;
  background-size: cover;
  padding: 1rem;
  margin: 0;
  /* animation: bounce-in-zoomin 1.6s linear 0s 1 normal none; */
}

.swiper-slide .slogan > div,
.swiper-slide-home .slogan > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 75%;
  /* background-color: red; */
}

.swiper-slide .slogan > div > h1,
.swiper-slide-home .slogan > div > h1 {
  color: var(--black);
  font-size: calc(var(--fs) + 160%);
  line-height: 1;
}

.swiper-slide .slogan > div > h2,
.swiper-slide-home .slogan > div > h2 {
  color: var(--black);
  font-size: calc(var(--fs) + 50%);
}

.swiper-slide .slogan > div > p,
.swiper-slide-home .slogan > div > p {
  color: var(--black);
  font-size: calc(var(--fs) + 20%);
}

@keyframes bounce-in-zoomin {
  0% {
    transform: scale(7);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  35% {
    transform: scale(1);
    animation-timing-function: ease-out;
    opacity: 1;
  }
  55% {
    transform: scale(1.5);
    animation-timing-function: ease-in;
  }
  70% {
    transform: scale(1);
    animation-timing-function: ease-out;
  }
  80% {
    transform: scale(1.24);
    animation-timing-function: ease-in;
  }
  90% {
    transform: scale(1);
    animation-timing-function: ease-out;
  }
  95% {
    transform: scale(1.04);
    animation-timing-function: ease-in;
  }
  96% {
    transform: scale(1.02);
    animation-timing-function: ease-in;
  }
  97% {
    transform: scale(1.03);
    animation-timing-function: ease-in;
  }
  98% {
    transform: scale(1.01);
    animation-timing-function: ease-in;
  }
  100% {
    transform: scale(1);
    animation-timing-function: ease-out;
  }
}

/* Custom CSS */

section {
  padding: 1rem 0;
  margin: 0;
}

section img {
  border-radius: 5px;
}

section h1,
section h2 {
  margin: 0;
}

.container {
  width: min(95%, 60rem);
  margin: 0 auto;
  padding: 1rem 0;
}

/*  utility classes */

.bg-dark {
  background-color: var(--bg-dark);
  color: var(--white);
}

.bg-blue {
  background-color: var(--bg-blue);
}

.bg-trans {
  color: var(--black);
}

.bg-footer {
  background-color: var(--bg-footer);
  color: var(--black);
}

.gallery {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
  margin: 0 auto;
}
.gallery img {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  object-fit: cover;
  position: relative;
}
.gallery img:hover {
  z-index: 9;
  transform: scale(1.3);
  transition: transform ease 0.5s;
}

.kontakt-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

/* Grid und Flex */

.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  /* justify-items: stretch; */
  /* background-color: red; */
}
.flex > * {
  /* outline: 1px solid; */
  flex: 1 0 250px;
  white-space: nowrap;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  width: 100%;
  /* justify-items: stretch; */
  /* background-color: red; */
}

.card {
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background-color: var(--bg-footer);
}

.card a {
  color: var(--black);
  text-decoration: none;
}

.card h3 {
  margin-bottom: 0;
  padding: 0;
}

.card-icon {
  margin: 0 auto;
  color: var(--white);
  background-color: var(--blue2);
  padding: 1.5rem;
  width: 120px;
  height: 120px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  border: 0.75rem solid var(--white);
  box-shadow: 0 0 0 1px var(--line);
}
.card:hover .card-icon {
  background-color: var(--blue);
}

.leistungen {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: -2rem;
}
.leistungen > div {
  /* outline: 1px solid; */
  flex: 1 0 250px;
  /* white-space: nowrap; */
  display: flex;
  flex-direction: column;
  padding: 1rem;
  text-align: left;
  border: 1px solid var(--black);
  border-radius: 0.5rem;
  background-color: rgb(250,250,250);
  /* background: var(--white-trans2) url(/media/tapete2.jpg) center center no-repeat;
  background-size: cover; */
}

.leistungen > div > div {
  display: flex;
  /* align-items: center; */
  gap: 1rem;
  margin: 0;
  padding: 0;
  /* background-color: greenyellow; */
}

.leistungen > div > div > * {
  /* background-color: red; */
  display: flex;
  align-items: center;
}

.leistungen > div > div .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin-right: 1rem; */
  color: var(--blue);
  /* padding: 0.5rem; */
  background-color: var(--white);
  border: 1px solid var(--blue);
  border-radius: 50%;
  text-align: center;
  width: 50px;
  height: 50px;
}
.leistungen > div > div > h3 {
  /* background-color: red; */
  flex: 1;
  height: 50px;
  color: var(--blue);
}

.brands {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  z-index: 1;
}
.brands > div {
  flex: 1 0 150px;
  background: var(--bg-footer);
  /* outline: 1px solid var(--white); */
  border-radius: 5px;
}
.brands > div img {
  width: 300px;
  height: 150px;
  object-fit: contain;
  mix-blend-mode: multiply;
  padding: 1rem;
}
.brands > div a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.securepoint {
  margin-bottom: 1rem;
  background: var(--bg-footer);
  padding: 1rem;
  border-radius: 5px;
  height: 150px;
  display: flex;
  align-items: center;
}

.bitfarm { 
  margin-bottom: 1rem;
  background: var(--bg-footer);
  padding: 1rem;
  border-radius: 5px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-groeser {
  width: 750px; /*oder was auch immer Sie bevorzugen*/
  height: auto; /*Um das Seitenverhältnis zu erhalten*/
}


}


.ueber-uns {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.ueber-uns > div {
  flex: 1;
  background-color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1rem;
  color: var(--white);
  font-size: var(--fs);
  font-weight: 500;
  text-align: center;
}

/* Footer */

footer {
  margin-top: auto; /* Footer immer unten (siehe flex im body) */
}

footer h3 {
  margin-bottom: 0.5rem;
  font-weight: 500;
}
footer p {
  margin-bottom: 0.5rem;
}
footer p:last-child {
  margin-bottom: 0;
}

.card-footer {
  align-self: center;
}
.card-footer a {
  color: var(--black);
  text-decoration: none;
  font-size: 1.5rem;
}
.card-footer a.social {
  color: var(--black);
  text-decoration: none;
  padding-left: 2rem;
  font-size: 1.5rem;
}
.card-footer b {
  font-size: 1.5rem;
  font-weight: 700;
}

footer .table {
  margin: 0 auto;
}

footer a {
  text-decoration: none;
  color: var(--white);
}
footer a:hover {
  color: var(--red);
}

.flow-content > * + * {
  margin-top: 1rem;
}

.split {
  display: flex;
  flex-direction: column;
  /* gap: 2em; */
  /* background-color: red; */
}

.split > * + * {
  margin: 2em 0 0 0;
  /* text-align: center; */
}

footer .split > * {
  margin: 1.5em 0;
  text-align: center;
}

/* components */

.widgets {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  font-size: 1rem;
}

.widget {
  padding: 1em;
  flex: 1 1 200px;
  color: var(--black);
}

.widget table td,
footer table td,
.bg-white table td {
  padding: 0 1.5rem 0.5rem 0 !important;
  text-align: left;
  vertical-align: top;
  /* border: 1px solid #ddd !important; */
  /* white-space: nowrap; */
}
.widget table td:first-child,
footer table td:first-child,
.bg-white .table td:first-child {
  padding: 0 10px 2px 0;
}
.widget table td:last-child,
footer table td:last-child,
.bg-white .table td:last-child {
  padding: 0 0 2px 0;
}
.widget table th,
footer table th,
.bg-white .table th {
  display: none;
}
.widget h3,
footer h3 {
  white-space: nowrap;
}
.widget .icon {
  font-size: 1.5rem;
}
.widget a {
  color: var(--black);
  text-decoration: none;
}

/* Icons */

.link_icon {
  padding-left: 53px;
  height: 38px;
  line-height: 38px;
  background-repeat: no-repeat;
  background-size: 44px auto;
}
.ico_gif {
  background-image: url(/media/mime-gif.gif);
}
.ico_def {
  background-image: url(/media/mime-default.gif);
}
.ico_doc,
.ico_docx {
  background-image: url(/media/mime-doc.gif);
}
.ico_jpg,
.ico_jpeg {
  background-image: url(/media/mime-jpg.gif);
}
.ico_pdf {
  background-image: url(/media/mime-pdf.gif);
}
.ico_png {
  background-image: url(/media/mime-png.gif);
}
.ico_xls,
.ico_xlsx {
  background-image: url(/media/mime-xls.gif);
}
.ico_zip {
  background-image: url(/media/mime-zip.gif);
}

/* > 800px */
@media (min-width: 50em) {
  .split {
    flex-direction: row;
    justify-content: center;
  }

  .split > * {
    flex-shrink: 1;
    flex-basis: 100%;
  }

  .split > * + * {
    margin: 0 0 0 2em;
    /* text-align: center; */
  }

  .big-column {
    flex-basis: 250%;
  }
}

/* < 1100px */
@media (max-width: 1100px) {
  body {
    --fs: 0.9rem;
  }
  .swiper-slide .slogan,
  .swiper-slide-home .slogan {
    flex: 1;
    background-color: var(--white-trans2);
    background-image: none;
  }
  .image-start {
    display: none;
  }
}

/* < 800px */
@media (max-width: 50em) {
  /* ! HÃ¶he der Navi + Hamburger Icon */
  /* ! BenÃ¶tigt fÃ¼r Anker-Links */
  a[name] {
    scroll-margin-top: 172px;
  }

  nav .btn,
  nav .logo {
    display: block;
    text-align: center;
  }

  nav .menu .logo-2,
  nav .teamviewer {
    display: none;
  }

  nav .menu {
    position: fixed;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100vh;
    /* ! HÃ¶he der Navi */
    top: calc(100px + 2rem);
    right: -100%;
    padding: 0;
    transition: 0.5s;
    transition-property: right;
  }

  nav .menu.active {
    right: 0;
  }

  nav .menu.active > ul {
    display: flex;
    flex-direction: column;
  }

  nav .menu.active ul > li {
    text-align: center;
  }

  nav .menu.active .btn {
    margin: 0;
    padding: 0 1rem;
    z-index: -1;
  }

  nav .menu.active .close-btn {
    margin: 0;
    padding: 0 1rem;
  }

  nav .menu.active ul li a,
  nav .menu.active ul li a:last-child {
    display: block;
    font-size: 1.25rem;
    margin: 0.8rem;
    padding: 0 1rem;
    text-align: center;
  }
  nav .menu ul li a:hover::after,
  nav .menu ul li a.rex-current::after,
  nav .menu ul li a.rex-active::after {
    transform: scaleX(0);
  }
  nav {
    flex-direction: column;
  }
  nav .menu ul {
    flex-direction: column;
  }
  body {
    --fs: 0.8rem;
    font-size: 1rem;
  }
  .swiper-slide .slogan,
  .swiper-slide-home .slogan {
    flex: 1;
    background-color: var(--white-trans2);
  }
  .header-container {
    gap: 2vh;
  }
  header h1,
  .header-container h1 {
    font-size: 1.8rem;
  }
  header h2,
  .header-container h2 {
    font-size: 1.35rem;
  }

  .header-text2 {
    font-size: 1.25rem;
  }
  section {
    padding: 1rem;
  }
  section h2 {
    font-size: 1.25rem;
  }
  section h3 {
    font-size: 1rem;
  }
  .card-footer {
    text-align: center;
    flex-basis: 100%;
  }
  .card-footer a {
    font-size: 1.25rem;
  }
  .card-footer a.social {
    padding: 1rem;
    font-size: 1.25rem;
  }
  .card-footer b {
    font-size: 1.25rem;
    font-weight: 700;
  }
}

@media (max-width: 39em) {
  .header-container {
    gap: 1.5vh;
  }
  header h1,
  .header-container h1 {
    font-size: 1.2rem;
  }
  header h2,
  .header-container h2 {
    font-size: 0.9rem;
  }
  .header-text2 {
    font-size: 1rem;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-footer {
    text-align: center;
    flex-basis: 100%;
  }
  .card-footer a {
    font-size: 1rem;
  }
  .card-footer a.social {
    padding: 1rem;
    font-size: 1rem;
  }
  .card-footer b {
    font-size: 1rem;
    font-weight: 700;
  }
}

@media (max-width: 29em) {
  figure.image {
    width: 100% !important;
  }
}
