/*
  Theme Name: Phalanx
  Author: Rainer Falkenroth
  Version: 1.1
*/
@import "../../../wp-includes/blocks/buttons/style.min.css";
@import "../../../wp-includes/blocks/button/style.min.css";
@import "../../../wp-includes/blocks/columns/style.min.css";
@import "../../../wp-includes/blocks/group/style.min.css";
@import "../../../wp-includes/blocks/image/style.min.css";
@font-face {
  font-display: swap;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src:
    url("fonts/open-sans-regular.woff2") format("woff2"),
    url("fonts/open-sans-regular.ttf") format("truetype");
}
@font-face {
  font-display: swap;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src:
    url("fonts/open-sans-700.woff2") format("woff2"),
    url("fonts/open-sans-700.ttf") format("truetype");
}
@font-face {
  font-display: swap;
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 700;
  src:
    url("fonts/open-sans-700italic.woff2") format("woff2"),
    url("fonts/open-sans-700italic.ttf") format("truetype");
}
@font-face {
  font-display: swap;
  font-family: "Boton";
  font-style: italic;
  font-weight: 600;
  src:
    url("fonts/Boton-MediumItalic.woff2") format("woff2"),
    url("fonts/Boton-MediumItalic.ttf") format("truetype");
}
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 {
  font: inherit;
  padding: 0;
  border: 0;
  margin: 0;
  vertical-align: top;
}
.wp-block-image img {
  width: 100%;
  max-width: unset !important;
  height: auto;
}
body,
html {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 138%;
  text-rendering: optimizeLegibility;
  font-feature-settings: “onum”, “ss01”, “kern”, “liga”;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  margin-top: 0em;
  padding: 0;
  background-color: #242528;
}
.svgparent {
  overflow: hidden;
}
.svgcontainer {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
}
.svgcontainer svg {
  width: 100%;
  height: auto;
  opacity: 0.66;
  transform-origin: center top;
}
#AnimatedLogo {
  position: relative;
  z-index: 1;
}
#contacts {
  position: relative;
  display: inline-block;
  margin-top: -3em;
}
.verlauf {
  position: relative;
  display: flex;
  background: radial-gradient(
    ellipse at 50% 50%,
    #656d5f 0%,
    #53584f 75%,
    #414340 100%
  );
}
.error404 h1,
.verlauf h1 {
  color: #fff;
}
.text {
  position: relative;
}
.error404 h1 {
  position: absolute;
  top: calc(50vh - 0.5em);
  left: 50vw;
  transform: translateX(-50%);
}
.verlauf p,
.verlauf h1,
.verlauf h2,
.verlauf h3,
.verlauf li {
  position: relative;
  z-index: 1;
}
.headline0 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
h1,
h2 strong,
.foot,
.menu {
  font-family: "Boton", sans-serif;
  font-weight: 600;
  font-style: italic;
  text-transform: uppercase;
}
h2,
.text h3,
.post-edit-link {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-style: italic;
  text-transform: uppercase;
}
.slider h2,
.wp-block-cover h2,
.block h2,
.text h2,
.text h3 {
  color: #bbae8b;
}
.slider h2 strong,
.wp-block-cover h2 strong,
.block h2 strong {
  color: #fff;
}
h2 {
  font-size: 1.5rem;
  line-height: 100%;
  letter-spacing: 0.08em;
}
h2 strong {
  display: inline-block;
  margin-top: 0.2em;
  font-size: 2.8rem;
  line-height: 120%;
  letter-spacing: 0.04em;
}
h1,
.hero h2 {
  font-size: 3.1rem;
  line-height: 100%;
  letter-spacing: 0.006em;
}
.hero h2 strong {
  font-size: 7.5rem;
  line-height: 100%;
  letter-spacing: 0.01em;
  margin-top: 0;
}
.block h2 {
  margin-bottom: 0.8em;
}
.text h1 {
  margin-bottom: 1.5em;
}
.text h3 {
  margin-top: 3em;
}
.text p {
  margin-bottom: 1em;
}
.comm span,
.text p span {
  display: inline-block;
  width: 3.5em;
}
.menu {
  list-style: none;
}
*:focus {
  outline: none;
}
a {
  text-decoration: none;
  color: inherit;
}
.loaded a {
  transition: color 0.2s;
}
b,
strong {
  font-weight: 700;
}
.content ul {
  list-style-position: inside;
  margin-bottom: 1em;
}
ol {
  list-style-position: inside;
  margin-bottom: 1.2em;
}
ol > li {
  margin-top: 1.2em;
}
ol > li ul {
  list-style: none;
}
ol li::marker {
  font-weight: 600;
}
.head {
  position: fixed;
  width: 100%;
  z-index: 100;
}
.foot .logo,
.head .logo {
  position: absolute;
  background: url(../../uploads/Phalanx_Logo.svg) 50% 50% no-repeat;
  background-size: contain;
  overflow: hidden;
  text-indent: -999px;
  z-index: 10;
}
.foot {
  display: grid;
  color: #a4a9a1;
  line-height: 200%;
  letter-spacing: 0.08em;
}
.foot .address {
  position: relative;
}
.content {
  min-height: 80vh;
}
.wp-block-cover {
  align-items: start !important;
  padding: 0 !important;
}
.wp-block-cover.hero {
  align-items: center !important;
}
.wp-block-group__inner-container {
  width: 100%;
}
.block {
  position: relative;
  z-index: 1;
  color: #000;
}
.slider {
  position: relative;
}
.slider .track {
  position: absolute;
  width: 100vw;
  overflow: hidden;
}
.slider .track .wp-block-group__inner-container {
  width: 200vw;
}
.slider .track figure {
  width: 100vw;
}
.slider .track figure + figure {
  position: absolute;
  top: 0;
  left: 100vw;
}
.slider .track figure + figure + figure {
  left: 200vw;
}
.slider .track figure + figure + figure + figure {
  left: 300vw;
}
.slider .track figure + figure + figure + figure + figure {
  left: 400vw;
}
.slider .track figure + figure + figure + figure + figure + figure {
  left: 500vw;
}
.slider .track figure + figure + figure + figure + figure + figure + figure {
  left: 600vw;
}
.slider
  .track
  figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure {
  left: 700vw;
}
.slider
  .track
  figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure {
  left: 800vw;
}
.slider
  .track
  figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure {
  left: 900vw;
}
.slider
  .track
  figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure {
  left: 1000vw;
}
.slider
  .track
  figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure {
  left: 1100vw;
}
.slider
  .track
  figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure
  + figure {
  left: 1200vw;
}
.slider .nav {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  width: 8rem;
  height: 8rem;
  background: url(../../uploads/Pfeil.png) 50% 50% no-repeat;
  background-size: contain;
  cursor: pointer;
}
.slider h2,
.wp-block-cover:not(.hero) h2,
.slider h2.first.fixed,
.wp-block-cover:not(.hero) h2.first.fixed {
  position: fixed;
}
.slider h2.first,
.wp-block-cover:not(.hero) h2.first {
  position: absolute;
}
.wp-block-cover:not(.hero) .wp-block-cover__inner-container,
.cover .wp-block-group__inner-container {
  position: absolute;
  inset: 0;
  clip-path: inset(0);
  -webkit-clip-path: inset(0);
}
.hero img {
  margin-top: -5%;
}
.head .menu a,
.hero h2,
#products h2 {
  text-shadow: 0.05em 0.05em 0.15em rgba(0, 0, 0, 0.8);
}
.abbinder {
  margin-top: -0.3%;
  position: relative;
  z-index: 2;
}

@media all and (max-width: 850px) {
  html,
  body {
    width: 100vw;
    overflow-x: hidden;
  }
  h2 {
    font-size: 1.1rem;
    line-height: 100%;
    letter-spacing: 0.08em;
  }
  h2 strong {
    display: inline-block;
    margin-top: 0.2em;
    font-size: 1.7rem;
    line-height: 120%;
    letter-spacing: 0.01em;
  }
  h1,
  .hero h2 {
    font-size: 1.7rem;
    line-height: 100%;
    letter-spacing: 0.006em;
  }
  .hero h2 strong {
    font-size: 3.9rem;
    line-height: 100%;
    letter-spacing: 0.01em;
  }
  .head .logo {
    top: 5vw;
    left: 5vw;
    width: 48vw;
    height: 15vw;
  }
  .foot .logo {
    top: 0;
    left: 0;
    width: 32vw;
    height: 10vw;
  }
  .foot .address {
    padding-top: 16vw;
  }
  .head .menuwrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(
      ellipse at 50% 50%,
      #656d5f 0%,
      #53584f 75%,
      #414340 100%
    );
    color: #a4a9a1;
    z-index: 9;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.6s ease-in-out;
  }
  .head .menuwrapper div:first-child {
    margin-top: 16vh;
  }
  .showmenu .head .menuwrapper {
    max-height: 100vh;
  }
  .head .menu {
    margin: 0 5vw;
    font-size: 1.6em;
    line-height: 200%;
  }
  .head .menu a {
    text-shadow: none;
  }
  .head .menuwrapper div:first-child .menu {
    color: #fff;
  }
  .menubtn {
    display: block;
    position: absolute;
    z-index: 10;
    top: 6vw;
    right: 5vw;
    width: 10vw;
    height: 10vw;
    cursor: pointer;
  }
  .menubtn span {
    position: absolute;
    display: block;
    width: 10vw;
    height: 1vw;
    background-color: #a4a9a1;
    top: 50%;
    margin-top: -0.5vw;
    transition: all 0.2s ease-in-out;
    transform-origin: 50% 50%;
  }
  .menubtn span.l1 {
    margin-top: -2.7vw;
  }
  .menubtn span.l2 {
    margin-top: 1.7vw;
  }
  .showmenu .menubtn span {
    margin-top: 0;
  }
  .showmenu .menubtn .l1 {
    margin-left: 0;
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .showmenu .menubtn .l2 {
    margin-left: 0;
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .showmenu .menubtn .l3 {
    opacity: 0;
  }
  .foot {
    padding: 10vw 5vw;
    gap: 5vw;
  }
  .wp-block-cover {
    min-height: 100vh !important;
  }
  .home .wp-block-cover.hero img {
    margin-top: -10%;
    width: 100vw;
    height: auto;
  }
  .wp-block-image.hero img {
    margin-top: -10%;
    width: 100vw;
    height: auto;
  }
  #contacts + figure {
    margin: 10vw 5vw;
    position: relative;
    z-index: 1;
  }
  .slider {
    height: 100vh;
  }
  .slider .wp-block-image {
    overflow: hidden;
  }
  .slider .wp-block-image img {
    width: 100vw;
    margin-top: 0vw;
    margin-left: 0;
  }
  /*.slider .wp-block-image.pos1 img {
    margin-left: -28vh;
  }
  .slider .wp-block-image.pos2 img {
    margin-left: -71vh;
  }
  .slider .wp-block-image.pos3 img {
    margin-left: -111vh;
  }
  .slider .wp-block-image.pos4 img {
    margin-left: -130vh;
  }*/
  .slider .nav {
    position: absolute;
    bottom: 25vw;
    right: 5vw;
    width: 7.5rem;
    height: 7.5rem;
  }
  .slider h2,
  .wp-block-cover:not(.hero) h2 {
    top: calc(50vh - 4rem);
    left: 5vw;
  }
  .slider h2.first {
    top: 10vw;
  }
  .slider h2.first.fixed {
    top: calc(50vh - 4rem);
  }
  .svgparent > .wp-block-group__inner-container {
    padding: 10vw 5vw;
  }
  .svgcontainer svg {
    width: 500vw;
    margin-left: -230vw;
    opacity: 0.3;
    height: auto;
  }
  .hero h2 {
    margin-left: 5vw;
  }
  .block {
    margin: 5vw 0;
  }
  .block + .block {
    margin: 10vw 0 5vw 0;
  }
  .block + .block + .block {
    margin: 10vw 0 5vw 0;
  }
}
@media all and (min-width: 851px) {
  .head .logo {
    top: 3rem;
    left: 1.5rem;
    width: 16rem;
    height: 5rem;
  }
  .foot .logo {
    top: -8rem;
    left: 0;
    width: 12rem;
    height: 3.75rem;
  }
  .head .menu-meta-container {
    display: none;
  }
  .head .menu {
    list-style: none;
    position: absolute;
    top: 4.5rem;
    right: 1.5rem;
  }
  .head .menu > li {
    display: inline-block;
    font-size: 1.33rem;
    line-height: 100%;
    letter-spacing: 0.01em;
    margin-left: 1.5rem;
    color: #fff;
  }
  .foot {
    padding: 13rem 1.5rem 6.5rem 1.5rem;
    column-gap: 5%;
    grid-template-columns: 20% 25% 20% auto;
  }
  .head .menu > li:hover,
  .foot a:hover,
  .text a:hover {
    color: #bbae8b;
  }
  .wp-block-cover {
    min-height: 100vh !important;
  }
  .wp-block-cover.hero .wp-block-cover__inner-container {
    transform: translateY(25%);
  }
  .slider h2,
  .wp-block-cover:not(.hero) h2 {
    top: calc(50vh - 4rem);
    /*left: 21.5rem;*/
    left: 50vw;
    transform: translateX(-50%);
    white-space: nowrap;
  }
  .slider h2.first {
    top: 4vw;
  }
  .slider h2.first.fixed {
    top: calc(50vh - 4rem);
  }
  .hero h2 {
    margin: 0 0 0.1em 1.5rem;
  }
  .block {
    width: 48rem;
    margin: 4vw 0 1vw 1.5rem;
  }
  .block .wp-block-group .wp-block-group__inner-container {
    width: 82%;
  }
  .block h2 {
    width: 49rem;
  }
  .cover {
    width: 100%;
    height: 56.25vw;
  }
  #netz2 {
    margin-left: -23vw;
  }
  #contacts + figure {
    margin: 4vw 33vw;
    position: relative;
    z-index: 1;
  }
  .text h1,
  .text h2,
  .text h3,
  .text p,
  .text ol,
  .text ul {
    padding-left: 1.5rem;
    padding-right: 15rem;
  }
  .text ol ul {
    padding: 0;
  }
  .text h1:first-child,
  .text h2:first-child {
    margin-top: 5vw;
  }
  .text .abbinder {
    margin-top: 10vw;
  }
}
@media all and (min-width: 1200px) {
  .block .wp-block-group .wp-block-group__inner-container {
    column-count: 2;
    column-gap: 1rem;
  }
  .block + .block {
    margin: 3vw 0 2vw calc(100vw - 48.5rem);
  }
  .block + .block + .block {
    margin: 3vw 0 4vw 21.5rem;
  }
  .svgcontainer svg {
    margin-left: calc(35rem - 66vw);
  }
}
@media all and (min-width: 1480px) {
  .foot {
    padding-left: calc(50vw - 740px);
  }
  .head .logo {
    left: calc(50vw - 740px);
  }
  .head .menu {
    right: calc(50vw - 740px);
  }
  .hero h2 {
    margin: 0 calc(50vw - 740px);
  }
  .block {
    margin-left: 18vw;
  }
  .block + .block {
    margin-left: calc(18vw + 40rem);
  }
  .block + .block + .block {
    margin-left: calc(18vw + 20rem);
  }
  .svgcontainer svg {
    margin-left: calc(12rem - 25vw);
  }
  #netz2 {
    margin-left: -16vw;
  }
  #contacts + figure {
    margin: 8vw 33vw 4vw 40vw;
  }
  .text h1,
  .text h2,
  .text h3,
  .text p,
  .text ol,
  .text ul {
    padding-left: calc(50vw - 740px);
    padding-right: calc(50vw - 740px);
  }
}
