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

html, body, div, span, object, iframe, figure, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, code, em, img, small, strike, strong, sub, sup, tt, b, u, i, ol, ul, li, fieldset, form, label, table, caption, tbody, tfoot, thead, tr, th, td, main, canvas, embed, footer, header, nav, section, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  text-size-adjust: none;
}

footer, header, nav, section, main {
  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;
}

input {
  -webkit-appearance: none;
  border-radius: 0;
}

:root {
  --gap: 1rem;
  --einszueins-text: #111;
  --highlight: var(--einszueins-text);
  --einszueins-background: #f5f5F7;
  --einszueins-background-box: rgba(245,245,247,0.8);
  --einszueins-font-sans: sans-serif;
  --einszueins-font-mono: monospace;
  --einszueins-font-size-xlarge: 3rem;
  --einszueins-font-size-large: 2rem;
  --einszueins-font-size-medium: 1.25rem;
  --einszueins-font-size-default: 1rem;
  --einszueins-font-size-root: 16px;
  --einszueins-font-size-small: 0.875rem;
  --einszueins-font-size-root: clamp(16px, 1vw, 22px);
}
@media only screen and (max-width: 767.98px) {
  :root {
    --einszueins-font-size-root: 14px;
    --einszueins-font-size-xlarge: 2.5rem;
    --einszueins-font-size-large: 1.8rem;
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  width: 100%;
  padding: var(--gap);
}
.grid.no-padding {
  padding: 0;
}
.grid .col-1 {
  grid-column-start: 1;
}
.grid .col-2 {
  grid-column-start: 2;
}
.grid .col-3 {
  grid-column-start: 3;
}
.grid .col-4 {
  grid-column-start: 4;
}
.grid .span-1 {
  grid-column-end: span 1;
}
.grid .span-2 {
  grid-column-end: span 2;
}
.grid .span-3 {
  grid-column-end: span 3;
}
.grid .span-4 {
  grid-column-end: span 4;
}
@media only screen and (max-width: 767.98px) {
  .grid {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .grid .col-2 {
    grid-column-start: 1;
  }
  .grid .col-3 {
    grid-column-start: 1;
  }
  .grid .col-4 {
    grid-column-start: 1;
  }
  .grid .span-2 {
    grid-column-end: span 1;
  }
  .grid .span-3 {
    grid-column-end: span 1;
  }
  .grid .span-4 {
    grid-column-end: span 1;
  }
}

.text-right {
  text-align: right;
}

.mono {
  font-family: var(--einszueins-font-mono);
}

.text-large {
  font-size: var(--einszueins-font-size-large);
}

.text-xlarge {
  font-size: var(--einszueins-font-size-xlarge);
}

.text-small {
  font-size: var(--einszueins-font-size-small);
}

.text-medium {
  font-size: var(--einszueins-font-size-medium);
  line-height: 1.15;
}

.text-default {
  font-size: var(--einszueins-font-size-default);
}

.visually-hidden {
  visibility: hidden;
  height: 0;
  width: 0;
  overlay: hidden;
  margin: 0;
  padding: 0;
}

.d-f {
  display: flex;
}

.j-s-b {
  justify-content: space-between;
}

.desktop-only {
  display: none !important;
}
@media only screen and (min-width: 768px) {
  .desktop-only {
    display: block !important;
  }
}

.mobile-only {
  display: none !important;
}
@media only screen and (max-width: 767.98px) {
  .mobile-only {
    display: block !important;
  }
}

.box {
  margin: calc(2 * var(--gap));
  padding: calc(2 * var(--gap)) calc(4 * var(--gap));
  border-radius: var(--einszueins-border-radius);
  background: var(--einszueins-background-box);
  backdrop-filter: blur(10px);
}

.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
@media only screen and (max-width: 767.98px) {
  .navigation {
    top: unset;
    bottom: 0;
  }
}

.navigation,
.footer-navigation {
  align-items: flex-end;
}
.navigation .left,
.footer-navigation .left {
  font-weight: bold;
}
.navigation a,
.footer-navigation a {
  text-decoration: none;
  text-underline-offset: 0.1em;
}
.navigation a:hover,
.footer-navigation a:hover {
  text-decoration: underline;
}
.page-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translateY(100%);
  opacity: 0;
}
@media only screen and (max-width: 767.98px) {
  .page-footer {
    display: flex;
    flex-direction: column-reverse;
    bottom: unset;
    top: 0;
    transform: translateY(-100%);
  }
}

.pagination {
  display: flex;
  justify-content: space-between;
}
.pagination > :only-child {
  margin-left: auto;
}
.pagination {
  margin: 0 calc(2 * var(--gap));
}
.pagination a {
  text-decoration: none;
  margin: 0;
}

.footer-navigation h3 {
  transform: translateX(-0.3%) translateY(-8%);
}
.footer-navigation {
  font-weight: normal;
  transform: translateY(100%);
}
.footer-navigation .left > * {
  font-weight: normal;
}
@media only screen and (max-width: 767.98px) {
  .footer-navigation .left {
    display: none;
  }
}

.contact-popup {
  display: none;
}

.page-services .contact-popup,
.page-ueber-uns .contact-popup {
  display: flex;
}

.contact-popup {
  position: fixed;
  z-index: 100;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: none;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.contact-popup.open .contact-button {
  background: white;
  color: black;
}
.contact-popup.open .contact-overlay {
  opacity: 1;
}
.contact-popup.open .contact-form {
  width: 100%;
  height: 40em;
  transform: translateY(0);
}
.contact-popup .contact-button {
  font-weight: normal;
  display: inline-block;
  margin: 0 auto;
  background: black;
  color: white;
  font-size: var(--einszueins-font-size-default);
  border: none;
  position: relative;
  z-index: 102;
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(4 * var(--gap));
  width: 12em;
  cursor: pointer;
  pointer-events: all;
}
.contact-popup .contact-form {
  background: white;
  width: 0;
  height: 0;
  max-width: 30em;
  max-height: 100%;
  margin: calc(2 * var(--gap));
  background: black;
  color: white;
  position: relative;
  z-index: 101;
  border-radius: var(--einszueins-border-radius);
  transform: translateY(-2em);
  transition: width 0.3s cubic-bezier(0.66, 0, 0.34, 1), height 0.4s cubic-bezier(0.66, 0, 0.34, 1), transform 0.3s cubic-bezier(0.66, 0, 0.34, 1);
}
.contact-popup .contact-overlay {
  position: fixed;
  pointer-events: none;
  opacity: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  z-index: 100;
  transition: opacity 0.3s linear;
}

.entries {
  display: grid;
  gap: calc(4 * var(--gap));
}
.entries .entry {
  min-width: 0;
}
.entries .entry > a {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.entries .entry-thumbnail {
  width: 100%;
  margin-bottom: 0.5em;
}
.entries .entry-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
}
.entries .entry-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.5em;
  font-size: 0.75em;
  margin-bottom: 0.25em;
}

.single-entry .title .entry-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.5em;
  font-size: 0.75em;
  margin-bottom: 0.5em;
}
.single-entry .title .entry-categories a {
  color: inherit;
  text-decoration: none;
}
.single-entry .entry-thumbnail {
  width: 100%;
  padding: 0 var(--einszueins-gap);
  margin-bottom: calc(4 * var(--einszueins-gap));
}
.single-entry .entry-thumbnail img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.single-entry .entry-navigation {
  padding: var(--einszueins-gap) calc(2 * var(--einszueins-gap)) 3em;
}
.single-entry .entry-navigation a {
  color: inherit;
}

.read-more {
  margin-top: 1em;
}
.read-more .read-more-content {
  margin-bottom: 1em;
}
.read-more .read-more-toggle {
  text-decoration: underline;
}

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

html {
  box-sizing: border-box;
  font-size: var(--einszueins-font-size-root);
}

body {
  font-family: var(--einszueins-font-sans);
  font-size: 1rem;
  line-height: 1.25;
  color: var(--einszueins-text);
  background: var(--einszueins-background);
  position: relative;
  overscroll-behavior: none;
}

p + p {
  margin-top: 1em;
}

a {
  color: var(--einszueins-text);
}

strong, b {
  font-weight: bold;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: bold;
}
h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p {
  margin-top: 1em;
}

h1 {
  font-size: var(--einszueins-font-size-xlarge);
  line-height: 0.9;
}

h3 {
  font-size: var(--einszueins-font-size-large);
}

main {
  min-height: 100vh;
}

.button {
  display: inline-block;
  color: var(--einszueins-text);
  padding: 0;
  margin: 0;
  border: 0;
  background: 0;
  font-size: var(--einszueins-font-size-default);
  font-weight: bold;
  font-family: var(--einszueins-font-stack);
  cursor: pointer;
}

.title {
  padding: 6rem 2rem;
  margin-top: var(--einszueins-content-start);
  text-align: center;
  max-width: var(--einszueins-max-content-width);
  margin: var(--einszueins-content-start) auto 0 auto;
}

.block-content img {
  width: 100%;
  height: auto;
}
