/*!
Theme Name: mwd
Theme URI: http://underscores.me/
Author: Martin Müller
Author URI: https://mueller-werbedesign.de
Description: Theme based on _underscores works for Elementor Pro
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mwd
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

mwd is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


/**
 * Remove the margin in all browsers.
 */
body,html {
	margin: 0;
  overflow-x: hidden;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}



.phone-ring svg{
  transform-origin: 50% 50%;
  transform-box: fill-box;
  animation: phoneShake 6s infinite;
}

/* 2x kurzes Zittern (ring ring), dann Pause */
@keyframes phoneShake{
  0% { transform: translate(0,0) rotate(0deg); }

  /* 1. Zitter-Burst (ca. 0.45s) */
  2%  { transform: translate(-1px,-1px) rotate(-2deg); }
  3%  { transform: translate( 1px, 1px) rotate( 2deg); }
  4%  { transform: translate(-2px, 1px) rotate(-2deg); }
  5%  { transform: translate( 2px,-1px) rotate( 2deg); }
  6%  { transform: translate(-2px,-1px) rotate(-2deg); }
  7%  { transform: translate( 2px, 1px) rotate( 2deg); }
  8%  { transform: translate(-1px, 2px) rotate(-1deg); }
  9%  { transform: translate( 1px,-2px) rotate( 1deg); }
  10% { transform: translate(0,0) rotate(0deg); }

  /* Mini-Pause zwischen ring & ring */
  14% { transform: translate(0,0) rotate(0deg); }

  /* 2. Zitter-Burst (ca. 0.45s) */
  16% { transform: translate(-1px, 1px) rotate(-2deg); }
  17% { transform: translate( 1px,-1px) rotate( 2deg); }
  18% { transform: translate(-2px,-1px) rotate(-2deg); }
  19% { transform: translate( 2px, 1px) rotate( 2deg); }
  20% { transform: translate(-2px, 1px) rotate(-2deg); }
  21% { transform: translate( 2px,-1px) rotate( 2deg); }
  22% { transform: translate(-1px,-2px) rotate(-1deg); }
  23% { transform: translate( 1px, 2px) rotate( 1deg); }
  24% { transform: translate(0,0) rotate(0deg); }

  /* Rest = Pause */
  100% { transform: translate(0,0) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce){
  .phone-ring svg{ animation: none; }
}

.BF_steps {
  min-height:430px !important;
}

.page-id-22 .BF_steps {
  min-height:410px !important;
}

@media (min-width:1024px) {
  .page-id-22 .BF_steps {
  min-height:360px !important;
}
}

.btn_box {
      display: table;
    margin:1rem auto;
    border: 1px solid var(--e-global-color-accent);
    padding: 5px 15px;
    border-radius: 50px;
    color: var(--e-global-color-accent);
    text-decoration: none;
       -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out; 
}

.btn_box:hover {
  background-color:var(--e-global-color-accent);
  color:white;
     -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out; 
}

@media (min-width:768px) {
  .btn_box {
    margin:1rem 0;
  }
}

@media (min-width:1024px) {
  .cta_main a {
	background:var(--e-global-color-accent) !important;
	color:white !important;
	border-radius: 40px;
	    padding: 10px 20px !important;
}
}