/*
Theme Name: KitByte
Author: KitByte.de
Author URI: https://kitbyte.de/
Description: Default KitByte Theme
Version: 1.0
Text Domain: kitbyte
*/

:root {
    /* colors */
    --color-100: #FFF;
    --color-200: #ffedec;
    --color-300: #ffdbda;
    --color-400: #8C0500;
    --color-900: #000;

    /* fonts */
    --ff-default: 'Libre Franklin', sans-serif;
    --ff-deco: 'Great Vibes', cursive;

    /* sizes */
    --fs-300: .75rem;
    --fs-400: 1rem;
    --fs-500: 1.25rem;
    --fs-600: 1.5rem;
    --fs-700: 2rem;
    --fs-800: 3rem;
    --fs-900: 4rem;

    /* logo */
    --logo-line-weight: 8px;
    --logo-height: 90px;
    --logo-letter-between: 38px;
    --logo-color-one: #000;
    --logo-color-two: #8C0500;
    --logo-bg: #fff;
    --logo-border: 0;
    --font-size: 1rem;
}

/* great-vibes-regular - latin */
@font-face {
    font-family: 'Great Vibes';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/great-vibes-v14-latin-regular.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('./fonts/great-vibes-v14-latin-regular.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('./fonts/great-vibes-v14-latin-regular.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('./fonts/great-vibes-v14-latin-regular.woff') format('woff'),
        /* Modern Browsers */
        url('./fonts/great-vibes-v14-latin-regular.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('./fonts/great-vibes-v14-latin-regular.svg#GreatVibes') format('svg');
    /* Legacy iOS */
}

/* libre-franklin-200 - latin */
@font-face {
    font-family: 'Libre Franklin';
    font-style: normal;
    font-weight: 200;
    src: url('./fonts/libre-franklin-v13-latin-200.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('./fonts/libre-franklin-v13-latin-200.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('./fonts/libre-franklin-v13-latin-200.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('./fonts/libre-franklin-v13-latin-200.woff') format('woff'),
        /* Modern Browsers */
        url('./fonts/libre-franklin-v13-latin-200.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('./fonts/libre-franklin-v13-latin-200.svg#LibreFranklin') format('svg');
    /* Legacy iOS */
}

/* libre-franklin-700 - latin */
@font-face {
    font-family: 'Libre Franklin';
    font-style: normal;
    font-weight: 700;
    src: url('./fonts/libre-franklin-v13-latin-700.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('./fonts/libre-franklin-v13-latin-700.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('./fonts/libre-franklin-v13-latin-700.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('./fonts/libre-franklin-v13-latin-700.woff') format('woff'),
        /* Modern Browsers */
        url('./fonts/libre-franklin-v13-latin-700.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('./fonts/libre-franklin-v13-latin-700.svg#LibreFranklin') format('svg');
    /* Legacy iOS */
}

/* reset */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:target {
    scroll-margin-top: 8.7rem;
}

/* logo */
.logo-wrapper {
    display: flex;
    justify-content: center;
    font-size: var(--font-size);
}

.logo {
    background: var(--logo-bg);
    display: flex;
}

.logo>div {
    position: relative;
    overflow: hidden;
}

.d1,
.d3 {
    border-radius: var(--logo-border);
}

.d1 {
    background-color: var(--logo-color-one);
    height: var(--logo-height);
    width: var(--logo-line-weight);
}

.d2 {
    width: var(--logo-letter-between);
    height: var(--logo-line-weight);
    background-color: var(--logo-color-one);
    margin-top: calc((var(--logo-height) - var(--logo-line-weight)) / 2);
}

.d3 {
    background-color: var(--logo-color-one);
    height: var(--logo-height);
    width: var(--logo-line-weight);
}

.d3:after {
    content: '';
    width: calc(var(--logo-height) * 2 + var(--logo-line-weight) * 3);
    height: calc(var(--logo-height) * 2 + var(--logo-line-weight) * 3);
    background-color: var(--logo-bg);
    display: inline-block;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    left: 0;
}

.logo-left {
    margin-right: var(--logo-line-weight);
}

.logo-right {
    transform: scaleX(-1) scaleX(-1);
    -webkit-transform: scaleY(-1) scaleX(-1);
}

.logo-right .d1,
.logo-right .d2,
.logo-right .d3 {
    background-color: var(--logo-color-two);
}

.logo-sub {
    margin-top: .45em;
    font-size: var(--font-size);
}

.logo-sub>span {
    display: block;
    text-align: center;
    line-height: 1.2;
}

.logo-sub1 {
    font-family: 'Great Vibes', cursive;
    font-size: 1.3em;
    color: var(--color-400);
}

.logo-sub2,
.logo-sub3 {
    font-family: 'Libre Franklin', sans-serif;
}

.logo-sub2 {
    font-weight: 700;
    font-size: 1.1em;
    color: var(--color-900);
}

.logo-sub3 {
    font-weight: 700;
    font-size: 1.1em;
    color: var(--color-900);
}

body {
    font-family: var(--ff-default);
}

@media (hover: hover) {
    body {}
}

header {
    padding: 1rem;
}


.logo-container {
    min-width: 176px;
    position: absolute;
    left: 0;
    top: 1rem;
}

#mobile_nav_opener {
    width: 44px;
    height: 40px;
    position: fixed;
    z-index: 300;
    right: 1rem;
    top: 1rem;
    cursor: pointer;
}

#mobile_nav_opener span {
    height: 6px;
    border-radius: 6px;
    background-color: var(--logo-color-two);
    display: block;
    transition: all 0.4s ease 0s;
    position: relative;
    top: 0;
    left: 0;
    opacity: 1;
    box-shadow: 0px 0px 5px #fff;
}

#mobile_nav_opener span+span {
    margin-top: 10px;
}

#mobile_nav_opener.opened span:nth-child(1) {
    transform: rotate(-45deg);
    top: 16px;
}

#mobile_nav_opener.opened span:nth-child(2) {
    opacity: 0;
}

#mobile_nav_opener.opened span:nth-child(3) {
    transform: rotate(45deg);
    top: -16px;
}

header {
    height: 12rem;
    z-index: 100;
    position: sticky;
    top: 0;
    background-color: var(--color-100);
    box-shadow: 0 5px 5px 0px rgb(0 0 0 / 25%);
}

header>a {
    max-width: min(calc(100vw - 2rem), 1200px);
    margin-left: auto;
    margin-right: auto;
    position: relative;
    display: block;
    top: -1rem;
    z-index: 300;
}


header nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    margin: 12rem auto 0 auto;
    transition: height 0.4s ease 0s;
    background-color: #fff;
    z-index: 20;
    height: 0;
    overflow: hidden;
}

header nav.opened {
    height: 10.5rem;
    ;
}

body.noscroll .container {
    overflow: hidden;
}

body.noscroll .container *:not(header) {
    filter: blur(3px);
}

body.noscroll header {
    box-shadow: none;
}

nav.opened {
    box-shadow: 0 5px 5px 0px rgb(0 0 0 / 25%)
}

#menu-topnavi {
    margin: .5rem auto;
}

#menu-topnavi a {
    text-decoration: none;
    padding: .3rem;
    text-align: center;
    display: block;
    font-weight: 700;
    color: var(--color-400);
    outline: none;
    position: relative;
}

#menu-topnavi a::after,
#menu-topnavi a::after {
    content: '';
    background-color: var(--color-400);
    height: 2px;
    bottom: 0;
    width: 0%;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.4s ease 0s;
    position: absolute;
}

.hero {
    height: calc(70vh - 12rem);
    width: 100vw;
    position: relative;
    top: 0;
    padding: 0;
}

.hero>img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
}

.hero.hero-left>img {
    object-position: left 50%;
}

.hero.hero-top>img {
    object-position: center top;
}

.hero.hero-bottom>img {
    object-position: center bottom;
}

.wp-block-cover {
    position: absolute;
    display: none;
}

.label .wp-block-cover {
    border-radius: 50%;
    width: 15rem;
    height: 15rem;
    position: absolute;
    top: -6rem;
    right: 1rem;
}

.label .wp-block-cover .wp-block-cover__inner-container {
    border-radius: 50%;
    width: 10rem;
    height: 10rem;
    overflow: hidden;
    background-color: var(--color-300);
    border: .3rem solid var(--color-100);
    position: absolute;
    top: -1rem;
    right: 0;
    text-align: center;
    padding-top: 3.7rem;
    font-weight: 700;
    z-index: 1;
}

.label .wp-block-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: .3rem solid var(--color-100);
    border-radius: 50%;
    right: 6rem;
    position: relative;
}

article:not(.hero) {
    max-width: min(calc(100vw - 2rem), 1200px);
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 2rem 0;
}

article.reverse {
    background-color: var(--color-400);
    color: var(--color-100);
}

article.reverse::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    background-color: var(--color-400);
    transform: translateX(-50%);
    z-index: -1;
}

article.reverse h2 {
    color: var(--color-100);

}

article+article {
    max-width: calc(100vw - 2rem);
}

article:not(.hero)+article::after {
    content: '';
    height: 1px;
    width: 80%;
    background-color: var(--color-400);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: .3;
}

*+p {
    margin-top: 1rem;
}

h1,
h2 {
    font-weight: 700;
    color: var(--color-400);
    font-size: var(--fs-500);
    line-height: 1.1;
    margin-bottom: 2rem;
}

h1~h2 {
    font-size: var(--fs-500);
    font-weight: 700;
}

p+h2 {
    margin-top: 1.5rem;
    margin-bottom: 0;
}

article ul {
    margin: 1rem 0 0 1.5rem;
    line-height: 1.3;
}


article ul li::before {
    content: "\2713";
    font-size: 1.3rem;
    top: 0.2rem;
    color: var(--color-400);
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: relative;
}

.home article.leistungen ul,
article.leistungen-2 ul {
    display: flex;
    gap: 1rem;
    vertical-align: top;
}

.home article.leistungen ul li,
article.leistungen-2 ul li {
    padding: 0;
    position: relative;
    padding-top: 5rem;
    text-align: center;
    flex: 1;
    cursor: pointer;
    transition: all 0.4s ease 0s;
    font-weight: 700;
}

.home article.leistungen ul li::before,
article.leistungen-2 ul li::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin: 0;
    position: absolute;
    left: 50%;
    top: 1rem;
    font-size: 3rem;
    transform: translate(-50%, 0);
}

@keyframes bounce2 {

    0% {
        transform: scale(1, 1) translate(-50%, 0);
    }

    10% {
        transform: scale(1.1, .9) translate(-50%, 0);
    }

    30% {
        transform: scale(.9, 1.1) translate(-50%, -50px);
    }

    50% {
        transform: scale(1.05, .95) translate(-50%, 0);
    }

    57% {
        transform: scale(1, 1) translate(-50%, -4px);
    }

    64% {
        transform: scale(1, 1) translate(-50%, 0);
    }

    100% {
        transform: scale(1, 1) translate(-50%, 0);
    }
}

.home article.leistungen ul li:hover::before,
article.leistungen-2 ul li:hover::before {
    animation: bounce2 1.8s ease;
    animation-timing-function: cubic-bezier(0.280, 0.840, 0.420, 1);
}


.home article.leistungen ul li:nth-child(1)::before,
article.leistungen-2 ul li:nth-child(1)::before {
    content: "\f24e";
}

.home article.leistungen ul li:nth-child(2)::before,
article.leistungen-2 ul li:nth-child(2)::before {
    content: "\e533";
}

.home article.leistungen ul li:nth-child(3)::before,
article.leistungen-2 ul li:nth-child(3)::before {
    content: "\f66f";
}

.home article.leistungen ul li:nth-child(4)::before,
article.leistungen-2 ul li:nth-child(4)::before {
    content: "\f508";
}

.home article.leistungen ul li:nth-child(5)::before,
article.leistungen-2 ul li:nth-child(5)::before {
    content: "\f015";
}

.home article.leistungen ul li:nth-child(6)::before,
article.leistungen-2 ul li:nth-child(6)::before {
    content: "\f4d8";
}

@media screen and (max-width: 1000px) {

    .home article.leistungen ul,
    article.leistungen-2 ul {
        flex-wrap: wrap;
        gap: 3rem 1rem;
    }

    .home article.leistungen ul li,
    article.leistungen-2 ul li {
        flex: 1 0 30%;
    }
}

@media screen and (max-width: 600px) {

    .home article.leistungen ul,
    article.leistungen-2 ul {
        display: initial;
    }

    .home article.leistungen ul li,
    article.leistungen-2 ul li {
        text-align: left;
        padding-left: 0;
        padding-top: 2rem;
        padding-left: 3rem;
    }

    .home article.leistungen ul li::before,
    article.leistungen-2 ul li::before {
        font-size: 2rem;
        position: absolute;
        left: 0;
        transform: none;
        top: 1.3rem;
    }

    .home article.leistungen ul li:hover::before,
    article.leistungen-2 ul li:hover::before {
        animation: none;
    }
}

article.reverse ul li::before,
article.reverse ul li a {
    color: var(--color-100);
    text-decoration: none;
}

article p {
    line-height: 1.3;
}

body .block-uebernahme .wp-block-columns {
    margin-top: 1rem;
    gap: 0;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.kanzleiinhaber .wp-block-gallery,
.block-kanzleiinhaber .wp-block-gallery,
.block-uebernahme .wp-block-columns {
    display: flex;
    gap: 14rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 1000px) {

    .kanzleiinhaber .wp-block-gallery,
    .block-kanzleiinhaber .wp-block-gallery,
    body .block-uebernahme .wp-block-columns {
        gap: 1rem 8rem;
    }
}

.kanzleiinhaber .wp-block-image,
.block-kanzleiinhaber .wp-block-image,
.block-uebernahme .wp-block-image {
    width: 300px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.kanzleiinhaber .wp-block-image figcaption,
.block-kanzleiinhaber .wp-block-image figcaption,
.block-uebernahme .wp-block-image figcaption {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background: #EBEBEB;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(140, 5, 0, 0)), to(rgba(140, 5, 0, 1)));
    background: -moz-linear-gradient(top, rgba(140, 5, 0, 0), rgba(140, 5, 0, 1));
    background: linear-gradient(top, rgba(140, 5, 0, 0), rgba(140, 5, 0, 1));
    padding: 1rem;
    color: var(--color-100);
    line-height: 1.3;
}

.kanzleiinhaber .wp-block-image figcaption strong,
.block-kanzleiinhaber .wp-block-image figcaption strong,
.block-uebernahme .wp-block-image figcaption strong {
    font-weight: 700;
}

.kanzleiinhaber .wp-block-image figcaption a,
.block-kanzleiinhaber .wp-block-image figcaption a,
.block-uebernahme .wp-block-image figcaption a {
    color: var(--color-100);
}

.kanzleiinhaber .wp-block-image img,
.block-kanzleiinhaber .wp-block-image img,
.block-uebernahme .wp-block-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;

}

.kanzleiinhaber figure+.wp-block-columns,
.block-kanzleiinhaber figure+.wp-block-columns,
.kanzleiinhaber .wp-block-columns+.wp-block-columns,
.block-uebernahme .wp-block-columns+.wp-block-columns {
    max-width: min(calc(100vw - 2rem), 1200px);
    margin: 1rem auto 0 auto;
}

@media screen and (max-width: 980px) {

    .kanzleiinhaber .wp-block-columns,
    .block-kanzleiinhaber .wp-block-columns,
    .block-uebernahme .wp-block-columns {
        display: grid;
    }
}

.button {
    display: flex;
}

.button>a {
    padding: 1rem 2rem;
    background-color: var(--color-400);
    color: var(--color-100);
    font-weight: 700;
    border-radius: 2rem 0.4rem;
    margin: 1rem auto;
    display: inline-block;
    text-decoration: none;
}

.button>a:hover,
.button>a:focus {
    text-decoration: underline;
}

.unser-team .wp-block-gallery {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.unser-team .wp-block-gallery .wp-block-image {
    min-width: 200px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 1rem;
}

.unser-team .wp-block-gallery .wp-block-image figcaption {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background: #EBEBEB;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(140, 5, 0, 0)), to(rgba(140, 5, 0, 1)));
    background: -moz-linear-gradient(top, rgba(140, 5, 0, 0), rgba(140, 5, 0, 1));
    background: linear-gradient(top, rgba(140, 5, 0, 0), rgba(140, 5, 0, 1));
    padding: 1rem;
    color: var(--color-100);
    line-height: 1.3;
}

.unser-team .wp-block-gallery+.wp-block-gallery,
.unser-team p+.wp-block-gallery {
    margin-top: 1rem;
}

.unser-team p {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.unser-team .wp-block-gallery .wp-block-image figcaption strong {
    font-weight: 700;
}

.unser-team .wp-block-gallery .wp-block-image figcaption a {
    color: var(--color-100);
}

.unser-team .wp-block-gallery .wp-block-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;

}

.datenschutz h2,
.impressum h2 {
    font-size: var(--fs-500);
}

.datenschutz h3,
.impressum h3 {
    font-size: var(--fs-400);
    font-weight: 700;
    color: var(--color-400);
}

.datenschutz *+h2,
.datenschutz *+h3,
.impressum *+h2,
.impressum *+h3 {
    margin-top: 2.5rem;
    margin-bottom: 0;
}


.datenschutz ul,
.impressum ul {
    margin-bottom: 1rem;
}

.datenschutz a,
.impressum a {
    color: var(--color-400);
    text-decoration: none;
    font-weight: 700;
}

.datenschutz a:hover,
.impressum a:focus,
.datenschutz a:hover,
.impressum a:focus {
    text-decoration: underline;
}

.kontakt strong {
    font-weight: 700;
    color: var(--color-400);
}

.kontakt a {
    color: var(--color-400);
    text-decoration: none;
}

.kontakt a:hover,
.kontakt a:focus {
    text-decoration: underline;
}

.wpcf7 {
    display: flex;
    /* justify-content: center; */
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    border: 1px solid var(--color-400);
    padding: .5rem;
    border-radius: 0.5rem;
    width: min(500px, calc(100vw - 2rem));
    font-size: 1rem;
    outline: none;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
    border: 2px solid var(--color-400);
    padding: calc(.5rem - 1px);
}

.wpcf7 input[type="submit"] {
    padding: 1rem 2rem;
    background-color: var(--color-400);
    color: var(--color-100);
    font-weight: 700;
    border-radius: 2rem 0.4rem;
    margin: 1rem auto;
    display: block;
    text-decoration: none;
    border: 0;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}

.wpcf7 .wpcf7-submit:disabled {
    opacity: .7;
}

.wpcf7-form-control-wrap+a {
    color: var(--color-400);
    font-weight: 700;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 input[type="submit"]:focus {
    text-decoration: underline;
}

.wpcf7 label {
    font-weight: 700;
    color: var(--color-400);
}

.wpcf7 form .wpcf7-response-output {
    margin: 0 auto;
    text-align: center;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: var(--color-400);
}

.wpcf7-not-valid-tip {
    font-size: 0.9rem;
    margin-top: 0.1rem;
}

.wpcf7-spinner {
    background-color: var(--color-400);
    margin: 0 auto;
    display: block;
}

.wpcf7 form .wpcf7-response-output {
    border: 1px solid var(--color-400);
    border-radius: .5rem;
}

.kontaktblock iframe {
    position: relative;
    top: 0;
    left: 0;
    width: calc(100vw - 2rem);
    height: calc(100vh - 12rem);
    margin-top: 1rem;
}

.kontaktblock .wp-block-image img {
    max-width: 100%;
}

.wp-block-columns {
    display: flex;
    gap: 1rem;
    flex-grow: 0;
    flex-shrink: 0;
    min-width: auto;
    flex-basis: 50%;
}

.wp-block-column {
    flex: 1;
}

#backtotop {
    position: absolute;
    width: 4rem;
    height: 4rem;
    background-color: var(--color-400);
    color: var(--color-100);
    right: -1px;
    top: calc(100vh - 5rem);
    display: block;
    z-index: 200;
    text-decoration: none;
    border-radius: 1rem 0 0 1rem;
    border: 1px var(--color-100) solid;
}

#kontaktlayer {
    position: absolute;
    display: block;
    z-index: 200;
    top: 10rem;
    right: 0;
    text-decoration: none;
    border: 1px var(--color-100) solid;
    display: flex;
    padding: 1rem;
    background-color: var(--color-100);
    border-top: 1px solid var(--color-400);
    border-bottom: 1px solid var(--color-400);
    border-left: 1px solid var(--color-400);
    transform: translateX(25.5rem);
    transition: all 0.4s ease 0s;
    border-bottom-left-radius: 1rem;
}

#kontaktlayer:hover {
    transform: translateX(0);
}

#kontaktlayer>div>span {
    background-color: var(--color-400);
    color: var(--color-100);
    writing-mode: vertical-rl;
    text-orientation: upright;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 700;
    position: absolute;
    padding: 1rem;
    border-radius: 1rem 0 0 1rem;
    top: -2px;
    left: 0;
    transform: translateX(calc(-100%));
    border: 1px solid var(--color-100);
    z-index: -1;
    border-right: 1px solid var(--color-400);
}

#kontaktlayer strong {
    font-weight: 700;
    color: var(--color-400);
}

#kontaktlayer a {
    text-decoration: none;
    color: var(--color-400);
}

#kontaktlayer a:hover,
#kontaktlayer a:focus {
    text-decoration: underline;

}

#kontaktlayer .button a {
    color: var(--color-100);
}

#kontaktlayer .icon-phone:before,
#kontaktlayer .icon-fax:before,
#kontaktlayer .icon-email:before {
    content: "\f095";
    display: inline-block;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--color-400);
    margin-right: .5rem;
    line-height: 1.3;
}

#kontaktlayer .icon-fax:before {
    content: "\f1ac";
}

#kontaktlayer .icon-email:before {
    content: "\f0e0";
}

.ueber-uns ul {
    text-align: center;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    position: relative;
    padding: 4rem 1rem 3rem 1rem;
}

.ueber-uns ul:before {
    content: "";
    width: .3rem;
    height: 9999rem;
    background-color: var(--color-400);
    position: absolute;
    left: 50%;
    top: 1.5rem;
    z-index: -1;
    transform: translateX(-40%);
}

.ueber-uns ul:after {
    content: "\f276";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--color-400);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    height: 1.5rem;
    overflow: hidden;
}

.ueber-uns ul li {
    background-color: var(--color-100);
    padding: 0.5rem;
    transition: all 0.4s ease 0s;
    cursor: default;
    backface-visibility: hidden;
    webkit-font-smoothing: subpixel-antialiased;
    transform: translateZ(0);
}

.ueber-uns ul li:hover {
    transform: scale(1.1);
}

.ueber-uns ul li:before {
    display: none;
}

.ueber-uns ul li+li {
    margin-top: 2rem;
}

.ueber-uns ul li strong {
    display: block;
    font-weight: 700;
    color: var(--color-400);
}

@media screen and (max-width: 699px) {
    #kontaktlayer {
        position: absolute;
        transform: none;
        top: 12rem;
        right: 0;
        left: 0;
        border: 0;
        border-bottom-left-radius: 0;
        background-color: var(--color-400);
        justify-content: center;
        z-index: 1;
        transition: none;
    }

    #kontaktlayer div * {
        display: none;
    }

    #kontaktlayer .icon-phone,
    #kontaktlayer .icon-phone a,
    #kontaktlayer .icon-email,
    #kontaktlayer .icon-email a,
    #kontaktlayer div p+p {
        display: block;
        color: var(--color-100);
        margin-top: 0;
        justify-items: center;
        white-space: nowrap;
    }

    #kontaktlayer .icon-email a,
    #kontaktlayer .icon-phone a {
        display: inline-block;
    }

    #kontaktlayer .icon-phone:before,
    #kontaktlayer .icon-email a,
    #kontaktlayer .icon-email:before {
        color: var(--color-100);
    }

    .hero {
        margin-top: 4.5rem;
    }

    body.scrolled .logo-sub {
        display: none;
    }

    body.scrolled .hero {
        margin-top: 0;
    }

    body.scrolled header {
        height: 7.6rem;
    }

    body.scrolled #kontaktlayer {
        top: 7.6rem;
    }
}

@media screen and (max-width: 1350px) {
    #backtotop {
        display: none;
    }
}

#backtotop:before {
    content: "\f35b";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
}

footer {
    background-color: var(--color-400);
    color: var(--color-100);
}

footer .container {
    max-width: min(calc(100vw - 2rem), 1200px);
    padding: 1rem 0;
    margin: 0 auto;
    position: relative;
}

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

#menu-footernavi {
    display: flex;
    flex-direction: column;
    width: 66%;
    flex-wrap: wrap;
    height: 6rem;
    align-items: center;
}

#menu-footernavi li a {
    line-height: 1.3;
    display: block;
    font-weight: 700;
}

#menu-footernavi li a:hover,
#menu-footernavi li a:focus {
    text-decoration: underline;
}


#social {
    position: absolute;
    right: 0;
    top: 1rem;
    width: 33%;
    text-align: center;
    line-height: 1.3;
}

#social a {
    font-weight: 700;
    top: -0.3rem;
    position: relative;
}

#social a:hover,
#social a:focus {
    text-decoration: underline;
}


.icon-xing:before {
    content: url(/wp-content/themes/kitbyte/img/xing.svg);
    fill: red;
    display: inline-block;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--color-100);
    margin-right: .5rem;
    line-height: 1.3;
    width: 1rem;
    top: 0.3rem;
    position: relative;
}

#copy {
    display: block;
    font-size: 0.8rem;
}

@media screen and (max-width: 699px) {
    #menu-footernavi {
        height: auto;
        width: auto;
    }

    #social {
        position: relative;
        width: auto;
        margin-bottom: 1rem;
    }
}

.uebernahme .wp-block-columns {
    margin-top: 1rem;
    position: relative;
    padding-top: 1rem;
}

.uebernahme .wp-block-columns+p {
    position: relative;
    padding-top: 1rem;
}

.uebernahme .wp-block-columns::before {
    content: '';
    height: 1px;
    width: 80%;
    background-color: var(--color-400);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: .3;
}

.uebernahme .wp-block-columns+p::before {
    content: '';
    height: 1px;
    width: 80%;
    background-color: var(--color-400);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: .3;
}

.uebernahme strong {
    font-weight: 700;
    color: var(--color-400);
    margin-bottom: 1rem;
    display: block;
}

.uebernahme .wp-block-image {
    max-width: 30%;
    float: left;
    margin-right: 1rem;
    overflow: hidden;
}

.uebernahme .wp-block-image img {
    max-width: 100%;
    border-radius: 1rem;
}

.uebernahme .wp-block-image+p {
    margin-top: 0;
}

.error404 footer {
    position: fixed;
    bottom: 0;
    width: 100%;

}

.zertifikat img{
    max-width: 40%;
    height: auto;
}

@media screen and (min-width: 900px) {
    #mobile_nav_opener {
        display: none;
    }

    header {
        height: 7.7rem;
    }

    .hero {
        height: calc(70vh - 7.7rem);
    }

    .label .wp-block-cover {
        display: block;
    }

    header nav,
    header nav.opened {
        left: auto;
        right: 0;
        margin: 1rem auto;
        border-bottom: 0;
        text-align: right;
        background-color: transparent;
        position: relative;
        max-width: min(calc(100vw - 2rem), 1200px);
        margin-top: 1rem;
        height: auto;
    }

    header nav li,
    header nav a {
        display: inline-block;
    }

    #menu-topnavi {
        margin: 1rem 0;
    }

    #menu-topnavi a:focus::after,
    #menu-topnavi a:hover::after,
    #menu-topnavi .current-menu-item a::after {
        width: 80%;
    }


    body.noscroll .container *:not(header) {
        filter: blur(0);
    }

    .logo-container {
        min-width: 0;
        margin-left: 0;
    }

    .logo-sub {
        position: absolute;
        top: .5rem;
        left: 8.5rem;
        white-space: nowrap;
    }

    h1,
    h2 {
        max-width: 60%;
        font-size: var(--fs-800);
    }

    .kontaktblock iframe {
        height: calc(100vh - 7.7rem);
        max-width: min(calc(100vw - 2rem), 1200px);
    }

    .kontaktblock p strong {
        font-weight: 700;
        color: var(--color-400);
        white-space: nowrap;
    }
}
