/* Import der Inter Schriftart von Google Fonts */
/* inter-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100;
  src: url('/fonts/inter-v20-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200;
  src: url('/fonts/inter-v20-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('/fonts/inter-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/inter-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/inter-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('/fonts/inter-v20-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  src: url('/fonts/inter-v20-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

*, *::before, *::after {
  box-sizing: border-box;
}

.transition, p, .button, #impressum, #aufbau {
  -webkit-transition: all 400ms ease-in-out;
  -moz-transition: all 400ms ease-in-out;
  -ms-transition: all 400ms ease-in-out;
  -o-transition: all 400ms ease-in-out;
  transition: all 400ms ease-in-out;
}

body, html {
    font-family: 'Inter', sans-serif; /* Global auf Inter umgestellt */
    padding: 0;
    margin: 0;
}

#img-container img {
  width: 100%;
}

#img-container .mobil {
  display: none !important;
}

@media (max-width:850px){
  #img-container .mobil {
    display: block !important;
  }
  #img-container .desktop {
    display: none !important;
  }
}

a {
  color: #000 !important;
  text-decoration: none !important;
}

#firmen-container {
  display: flex;
  width: 90%;
  margin: -210px auto 0 auto;
  text-align: center;
}

#firmen-container a {
  margin: 25px;  
  width: 25%;
  display: block;
  color: #000 !important
}

@media (min-width:1460px){
  #firmen-container a:hover {
    margin-top: 15px;
  }
}

#firmen-container p {
  color: #000 !important;
  position: relative;
  z-index: 1;
}

#firmen-container .box {
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  width: 100%;
  padding:60px 30px;
  font-size: 14px;
  height: 77%;
  position: relative;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

#firmen-container .box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#firmen-container .button {
  display: block;
  padding: 12px;
  margin-top: 20px;
  color: #fff !important;
  font-size: 18px;
}

#fm .button { background: #ee7d02 }
#ms .button { background: #2c8c31 }
#mc .button { background: #931722 }
#aeyvis .button { background: #23366b }

#aeyvis img {max-height: 62px; width: auto !important;}

#fm .box::before {
  background: rgb(255,255,255);
  background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(254,250,245,1) 100%); 
}

#ms .box::before {
  background: rgb(255,255,255);
  background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(246,250,246,1) 100%);         
}

#mc .box::before {
  background: rgb(255,255,255);
  background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(250,245,245,1) 100%); 
}

#aeyvis .box::before {
  background: rgb(255,255,255);
  background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(245,249,249,1) 100%); 
}

.box::before {
  transition: all 400ms ease-in-out;
}

#firmen-container .box img {
  width: 80%;
  position: relative;
  z-index: 1;
}

#fm.grau .box::before, #ms.grau .box::before, #mc.grau .box::before, #klose.grau .box::before {
  opacity: 0;
}

#firmen-container .grau .box img {
  filter: grayscale(1);
  opacity: 0.5;
}

#firmen-container .grau p { color: #999 !important; }
#firmen-container .grau .button { background: #999 !important; }

#adresse {
  text-align: center;
  padding: 80px 20px
}

#support {
  width: 265px;
  margin: 0 auto 70px auto;
  border-top: 1px solid #000;
  padding-top: 30px;
}

.header {
  display: flex;
  justify-content: space-between;

  img {
    width: 300px;;
  }
}

#adresse.mobil { display: none !important; }

@media (max-width:1754px){
  #firmen-container .button {
    font-size: 13px;
  }
}

@media (max-width:1000px){
  #adresse.desktop { display: none !important; }
  #adresse.mobil { display: block !important; }
}

#adresse .big { font-size:26px; }
#adresse .small { font-size:19px; color: #444f50; }

@media (max-width:500px){
  #adresse .big { font-size:20px; }
  #adresse .small { font-size:15px; }
}

#adresse .small a { color: #444f50 !important; }

#farbstreifen { display: flex; }
#farbstreifen div { width: 25%; height: 14px; }
#farbstreifen div.orange { background: #ee7d02; }
#farbstreifen div.gruen { background: #2c8c31; }
#farbstreifen div.rot { background: #931722; }
#farbstreifen div.blau { background: #23366b; }

.impressum { cursor: pointer; }

#impressum .close, #aufbau .close {
  position: absolute;
  right: 20px;
  top: 20px;
  background: #000;
  color: #fff;
  padding: 3px 6px;
  font-weight: bold;
  cursor: pointer;
}

#impressum, #aufbau {
  display: none;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, .75);
  z-index: 500;
}

#impressum .inner, #aufbau .inner {
  width: 730px;
  display: block;
  position: absolute;
  padding: 2rem;
  background-color: #fff;
}

@media (max-width:900px){
  #impressum .inner, #aufbau .inner { width: 90%; }
}

@media (max-width:1460px){
  #firmen-container {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    width: 70%;
    margin: -140px auto 0 auto;
  }
  #firmen-container a { width: auto; }
}

@media (max-width:1100px) {
  #firmen-container { width: 80%; margin: -100px auto 0 auto; }
}

@media (max-width:848px) {
  #firmen-container { display: block; width: 400px; margin-top: 40px !important; }
  #firmen-container a { margin-bottom: 50px; }
}

@media (max-width:500px) {
  #firmen-container { width: 80%; }
}

.first-medical {
  pointer-events:none;
  width: 50%;
  @media (max-width:1000px) {
    width: 100%;
  }
  display: block;
  margin: 0 auto;
}