/*
Theme Name: Optik Julius
Based on: Optik Julius
Author: Stefan Gl&ouml;ggl
Version: 1.0
*/

/* 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;
  box-sizing: border-box;
  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;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
  shape-margin: 1rem;
}

/*--------- CUSTOM RESET ---------*/

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

:root {
  /*   --window-visible-height: 100%;
   */
  --max-width-1: 90rem;
  --max-width-2: 80rem;
  --max-width-3: 60rem;
  --max-width-4: 55rem;

  --spacing-1: 0.3rem;
  --spacing-2: 1.2rem;
  --spacing-3: 2rem;
  --spacing-4: 4rem;
  --spacing-5: 7.5rem;
  --spacing-6: 10rem;
  --spacing-7: 15rem;
  --spacing-8: 20rem;

  --padding-desktop: 2rem;
  --padding-mobile: 6%;

  --clr-brand: #ac390e;
  --clr-grey: #48585c;
  --clr-black: #333333;
  --clr-medium-grey: #666666;

  --fs-xxl: 2.8rem;
  --fs-xl: 2rem;
  --fs-l: 1.6rem;
  --fs-m: 1.2rem;
  --fs-std: 1rem;
  --fs-s: 0.9rem;

  --fw-l: 300;
  --fw-r: normal;
  --fw-m: 500;
  --fw-b: bold;
}

@media (max-width: 50em) {
  :root {
    --spacing-1: 0.3rem;
    --spacing-2: 0.8rem;
    --spacing-3: 1.2rem;
    --spacing-4: 2.5rem;
    --spacing-5: 5rem;
    --spacing-6: 6rem;
    --spacing-7: 10rem;
    --spacing-8: 15rem;

    --fs-xxl: 2rem;
    --fs-xl: 1.6rem;
    --fs-l: 1.4rem;
    --fs-m: 1.2rem;
    --fs-std: 1rem;
    --fs-s: 0.9rem;
  }
}

@font-face {
  font-family: "Glacial Indifference";
  src: url("fonts/GlacialIndifference-Bold.eot");
  src: local("Glacial Indifference Bold"), local("GlacialIndifference-Bold"),
    url("fonts/GlacialIndifference-Bold.eot?#iefix") format("embedded-opentype"),
    url("fonts/GlacialIndifference-Bold.woff2") format("woff2"),
    url("fonts/GlacialIndifference-Bold.woff") format("woff"),
    url("fonts/GlacialIndifference-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Glacial Indifference";
  src: url("fonts/GlacialIndifference-Regular.eot");
  src: local("Glacial Indifference Regular"),
    local("GlacialIndifference-Regular"),
    url("fonts/GlacialIndifference-Regular.eot?#iefix")
      format("embedded-opentype"),
    url("fonts/GlacialIndifference-Regular.woff2") format("woff2"),
    url("fonts/GlacialIndifference-Regular.woff") format("woff"),
    url("fonts/GlacialIndifference-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Medium.eot");
  src: local("Roboto Medium"), local("Roboto-Medium"),
    url("fonts/Roboto-Medium.eot?#iefix") format("embedded-opentype"),
    url("fonts/Roboto-Medium.woff2") format("woff2"),
    url("fonts/Roboto-Medium.woff") format("woff"),
    url("fonts/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Light.eot");
  src: local("Roboto Light"), local("Roboto-Light"),
    url("fonts/Roboto-Light.eot?#iefix") format("embedded-opentype"),
    url("fonts/Roboto-Light.woff2") format("woff2"),
    url("fonts/Roboto-Light.woff") format("woff"),
    url("fonts/Roboto-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: block;
}

.hd-1,
.hd-2,
.hd-3,
.hd-4,
.hd-4,
.hd-6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Glacial Indifference", sans-serif;
  font-weight: normal;
}

/*--------- BASICS ---------*/

body {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-size: var(--fs-std);
  font-style: normal;
  font-weight: 300;
  line-height: 1.6;
  color: #333333;
  color: var(--clr-black);
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

.hide {
  display: none !important;
}

.hidden {
  opacity: 0;
  visibility: hidden;
}

.prevent-scroll {
  overflow: hidden;
}

.full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.cover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.bg-img {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.block {
  display: block;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

.center {
  text-align: center;
}

.center > * {
  margin-left: auto;
  margin-right: auto;
}

/*--------- FLEX HELPER ---------*/

.flex {
  display: flex;
}

.flex-start {
  align-items: start;
}

.flex-center {
  align-items: center;
}

.flex-end {
  align-items: end;
}

.flex-between {
  justify-content: space-between;
}

.flex-stretch {
  align-items: stretch;
}

.flex-wrap {
  flex-wrap: wrap;
}

.columns-1,
.columns-2 {
  display: flex;
  flex-direction: column;
}

.columns-1 {
  gap: 1.2rem;
  gap: var(--spacing-2);
}

.columns-2 {
  gap: 2rem;
  gap: var(--spacing-3);
}

@media (min-width: 50em) {
  .columns-1,
  .columns-2 {
    flex-direction: row;
  }
  .columns-1 > *,
  .columns-2 > * {
    flex: 1;
  }
}

/*--------- HIDE OBJECTS ---------*/

@media (max-width: 50em) {
  .hide-mobile {
    display: none !important;
  }
}

@media (max-width: 60em) {
  .hide-tablet {
    display: none !important;
  }
}

@media (min-width: 50em) {
  .hide-desktop {
    display: none !important;
  }
}

/*--------- CONTAINERS ---------*/

.container {
  margin: 0 auto;
  width: 100%;
  max-width: 80rem;
  max-width: var(--max-width-2);
  padding-left: 2rem;
  padding-left: var(--padding-desktop);
  padding-right: 2rem;
  padding-right: var(--padding-desktop);
}

@media (max-width: 50em) {
  .container {
    padding-left: 6%;
    padding-left: var(--padding-mobile);
    padding-right: 6%;
    padding-right: var(--padding-mobile);
  }
}

@media (min-width: 50em) {
  .split-layout {
    display: flex;
    flex-direction: row;
  }

  .split-layout > * {
    flex: 1;
  }

  .split-text {
    max-width: calc(80rem / 2);
    max-width: calc(var(--max-width-2) / 2);
    margin-right: 0;
  }

  .split-image {
    max-width: 50vw;
  }
}

@media (max-width: 50em) {
  .split-layout .split-image {
    height: 20rem;
  }
}

/*--------- MAX WIDTH ---------*/

.max-width-1 {
  max-width: 90rem;
  max-width: var(--max-width-1);
}

.max-width-2 {
  max-width: 80rem;
  max-width: var(--max-width-2);
}

.max-width-3 {
  max-width: 60rem;
  max-width: var(--max-width-3);
}

.max-width-4 {
  max-width: 55rem;
  max-width: var(--max-width-4);
}

.text-width {
  max-width: 80ch;
  margin-left: auto;
  margin-right: auto;
}

/*--------- MODULES ---------*/

.module,
.clr-module {
  margin-bottom: 10rem;
  margin-bottom: var(--spacing-6);
}

.clr-module {
  padding-top: 10rem;
  padding-top: var(--spacing-6);
  padding-bottom: 10rem;
  padding-bottom: var(--spacing-6);
  background-color: var(--clr-dark-grey);
}

.clr-module .module:last-child {
  margin-bottom: 0;
}

.clr-module:last-child,
.photo-module:last-child {
  margin-bottom: 0;
}

/*--------- FLOWS ---------*/

.adapt-flow > *:not(:last-child) {
  margin-bottom: 0.3em;
}

.gap-1 {
  gap: 0.3rem;
  gap: var(--spacing-1);
}

.gap-2 {
  gap: 1.2rem;
  gap: var(--spacing-2);
}

.gap-3 {
  gap: 2rem;
  gap: var(--spacing-3);
}

.hflow,
.hflow-1,
.hflow-2,
.hflow-3,
.hflow-4,
.hflow-5,
.gap-1,
.gap-2,
.gap-3 {
  display: flex;
}

.vflow-1 > * + *,
.flow-1 > * + * {
  margin-top: 0.3rem;
  margin-top: var(--spacing-1);
}

.vflow-2 > * + *,
.flow-2 > * + * {
  margin-top: 1.2rem;
  margin-top: var(--spacing-2);
}

.vflow-3 > * + *,
.flow-3 > * + * {
  margin-top: 2rem;
  margin-top: var(--spacing-3);
}

.vflow-4 > * + *,
.flow-4 > * + * {
  margin-top: 4rem;
  margin-top: var(--spacing-4);
}

.vflow-5 > * + *,
.flow-5 > * + * {
  margin-top: 7.5rem;
  margin-top: var(--spacing-5);
}

.hflow-1 > * + * {
  margin-left: 0.3rem;
  margin-left: var(--spacing-1);
}

.hflow-2 > * + * {
  margin-left: 1.2rem;
  margin-left: var(--spacing-2);
}

.hflow-3 > * + * {
  margin-left: 2rem;
  margin-left: var(--spacing-3);
}

.hflow-4 > * + * {
  margin-left: 4rem;
  margin-left: var(--spacing-4);
}

.hflow-5 > * + * {
  margin-left: 7.5rem;
  margin-left: var(--spacing-5);
}

@media (min-width: 50em) {
  .flow,
  .flow-1,
  .flow-2,
  .flow-3,
  .flow-4,
  .flow-5 {
    display: flex;
  }

  .flow-1 > * + * {
    margin-left: 0.3rem;
    margin-left: var(--spacing-1);
    margin-top: 0;
  }

  .flow-2 > * + * {
    margin-left: 1.2rem;
    margin-left: var(--spacing-2);
    margin-top: 0;
  }

  .flow-3 > * + * {
    margin-left: 2rem;
    margin-left: var(--spacing-3);
    margin-top: 0;
  }

  .flow-4 > * + * {
    margin-left: 4rem;
    margin-left: var(--spacing-4);
    margin-top: 0;
  }
  .flow-5 > * + * {
    margin-left: 7.5rem;
    margin-left: var(--spacing-5);
    margin-top: 0;
  }
}

.right-auto {
  margin-right: auto;
}

.left-auto {
  margin-left: auto;
}

.top-auto {
  margin-top: auto;
}

.bottom-auto {
  margin-bottom: auto;
}

/*--------- FONT STUFF ---------*/

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.strong,
strong,
.bold {
  font-weight: 500 !important;
  font-weight: var(--fw-m) !important;
}

.uppercase {
  text-transform: uppercase;
}

p {
  max-width: 120ch;
  -webkit-hyphens: auto;
          hyphens: auto;
  hyphenate-limit-chars: 6 3 2;
}

.wrapper p + p {
  margin-top: 0.8em;
}

p a {
  cursor: pointer;
  transition: opacity 0.3s;
}

.hd-1,
.hd-2,
.hd-3,
.hd-4,
.hd-5,
h1,
h2,
h3,
h4,
h5 {
  -webkit-hyphens: none;
          hyphens: none;
  line-height: 110%;
}

@media (max-width: 50em) {
  .hd-1,
  .hd-2,
  .hd-3,
  .hd-4,
  .hd-5,
  h1,
  h2,
  h3,
  h4,
  h5 {
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
            hyphens: auto;
  }
}

.hd-1,
.hd-2,
.hd-3,
.hd-4,
.hd-5 {
  text-wrap: balance;
}

.hd-1 > *,
.hd-2 > *,
.hd-3 > *,
.hd-4 > *,
.hd-5 > *,
h1 > *,
h2 > *,
h3 > *,
h4 > *,
h5 > * {
  display: block;
}

.fs-xxl {
  font-size: 2.8rem;
  font-size: var(--fs-xxl);
}

.fs-xl {
  font-size: 2rem;
  font-size: var(--fs-xl);
}

.fs-l {
  font-size: 1.6rem;
  font-size: var(--fs-l);
}

.fs-m {
  font-size: 1.2rem;
  font-size: var(--fs-m);
}

.fs-std {
  font-size: 1rem;
  font-size: var(--fs-std);
}

.fs-s {
  font-size: 0.9rem;
  font-size: var(--fs-s);
}

.fs-xs {
  font-size: var(--fs-xs);
}

.fs-xxs {
  font-size: var(--fs-xxs);
}

.fw-l {
  font-weight: 300;
  font-weight: var(--fw-l);
}

.fw-r {
  font-weight: normal;
  font-weight: var(--fw-r);
}

.fw-m {
  font-weight: 500;
  font-weight: var(--fw-m);
}

.fw-sb {
  font-weight: var(--fw-sb);
}

.fw-b {
  font-weight: bold;
  font-weight: var(--fw-b);
}

/*--------- COLORS ---------*/

body .clr-white {
  color: #fff;
}

.clr-black {
  color: #333333;
  color: var(--clr-black);
}

.clr-dark-grey {
  color: var(--clr-dark-grey);
}

.clr-grey {
  color: #48585c;
  color: var(--clr-grey);
}

.clr-light-grey {
  color: var(--clr-light-grey);
}

.clr-brand {
  color: #ac390e;
  color: var(--clr-brand);
}

.desktop-menu-navi > .current-menu-item > a {
  font-weight: 500;
  font-weight: var(--fw-m);
}

.desktop-menu-navi > .menu-anchor-link > a {
  font-weight: inherit;
}

/*--------- HOVER ---------*/

@media (min-width: 50em) {
  a {
    transition: opacity, 0.3s;
  }

  a:hover {
    opacity: 0.5;
  }

  .site-header-logo:hover {
    opacity: 1;
  }
}

:focus-visible {
  outline: 2px solid #ac390e;
  outline: 2px solid var(--clr-brand);
  outline-offset: 2px;
}

/*--------- LEGAL CONTAINER ---------*/

.legal-container {
  padding-top: 20rem;
  padding-top: var(--spacing-8);
  padding-bottom: 10rem;
  padding-bottom: var(--spacing-6);
}

.legal-container > * + * {
  margin-top: 0.8rem;
}

.legal-container h1,
.legal-container h2,
.legal-container h3,
.legal-container h4,
.legal-container h5 {
  font-weight: 500;
  font-weight: var(--fw-m);
}

.legal-container h1 {
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
  letter-spacing: -0.5px;
}

.legal-container * + h1 {
  margin-top: 5rem;
}

.legal-container h2 {
  margin-top: 4rem;
  /* padding-top: 3rem; */
  /* border-top: 1px solid var(--clr-grey); */
  font-size: 1.7rem;
  letter-spacing: -0.5px;
}

/* .legal-container h1 + h2 {
  border-top: none;
} */

.legal-container h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-top: 3rem;
}

.legal-container h2 + h3 {
  margin-top: 2rem;
}

.legal-container h4 {
  margin-top: 1.2rem;
}

.legal-container ul li::before,
.blog-content ul li::before {
  content: ">";
  margin-right: 0.2rem;
}

.legal-container a,
.blog-content a {
  color: #ac390e;
  color: var(--clr-brand);
  font-weight: 500;
  font-weight: var(--fw-m);
}

/*--------- accordion ---------*/

.accordion-item {
  position: relative;
}

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms;
}

.accordion-content[aria-hidden="false"] {
  grid-template-rows: 1fr;
}

.accordion-content > div {
  overflow: hidden;
}

.accordion-content > div > div {
  padding-top: 2rem;
  padding-top: var(--spacing-3);
}

/*--------- DROPDOWN MENU ---------*/

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms;
  color: #48585c;
  color: var(--clr-grey);
}

.sub-menu > div {
  margin-top: 3rem;
  width: -moz-fit-content;
  width: fit-content;
  overflow: hidden;
  background-color: white;
}

.sub-menu li {
  margin: 0.8rem;
}

.sub-menu li a {
  white-space: nowrap;
}

.dropdown-menu > ul li + li {
  margin-top: 0.3rem;
}

li:hover > .sub-menu,
li:focus-within > .sub-menu {
  grid-template-rows: 1fr;
}

/*--------- MENU BUTTON ---------*/

.menu-icon {
  position: relative;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.menu-icon div {
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 16px;
}

.menu-icon span {
  position: absolute;
  display: block;
  width: 100%;
  height: 3px;
  background-color: #ac390e;
  background-color: var(--clr-brand);
  border-radius: 1px;
}

.menu-icon span:first-of-type {
  top: 0;
}

.menu-icon span:last-of-type {
  bottom: 0;
}

/* ––––––––––––––– SPLIDE ––––––––––––––– */

.splide__pagination {
  position: absolute;
  z-index: 5;
  bottom: 0rem;
  padding-block: 0.5rem;
  width: 100%;
  display: flex;
  background-color: rgba(255, 255, 255, 0.5);
}

.splide__pagination__page {
  background: #ac390e;
  background: var(--clr-brand);
  padding: 0;
  height: 15px;
  width: 15px;
  border-radius: 10rem;
  border: none;
}

.splide__pagination__page.is-active {
  background: #fff;
}

.splide__pagination li + li {
  margin-left: 0.7rem;
}

.splide__track {
  height: 100%;
}

.splide__slide {
  height: 100%;
  width: 100%;
}

.splide__arrows {
  display: flex;
  justify-content: space-between;
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 1rem;
  right: 1rem;
}

.splide__arrow {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: transparent;
  border: 0;
  padding: 0;
  width: 4rem;
  height: 4rem;
  pointer-events: all;
}

.splide__arrow:disabled {
  opacity: 0.3;
}

.splide__arrow--prev {
  background-image: url("images/arrow-left.svg");
}

.splide__arrow--next {
  background-image: url("images/arrow-right.svg");
}

/* ––––––––––––––– BROWSER-UPDATE ––––––––––––––– */

body .buorg {
  background-color: #48585c;
  background-color: var(--clr-grey);
  font-size: 1rem;
  font-family: inherit;
}

body #buorgul,
body #buorgig {
  border-radius: 0;
  box-shadow: none;
}

body #buorgul {
  background: var(--clr-primary);
}

body #buorgig {
  background-color: #48585c;
  background-color: var(--clr-grey);
}

/*--------- CONTACT FORM 7 ---------*/

.wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.wpcf7-form > :nth-child(n + 7) {
  grid-column: 1 / -1;
}

@media (max-width: 50em) {
  .wpcf7-form {
    grid-template-columns: 1fr;
  }
}

.wpcf7-form input:not(.button-brand),
.wpcf7-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem;
}

.wpcf7-form input::-moz-placeholder, .wpcf7-form textarea::-moz-placeholder {
  font-weight: 300;
  font-weight: var(--fw-l);
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  font-weight: 300;
  font-weight: var(--fw-l);
}

.wpcf7-list-item {
  margin: 0;
}

.wpcf7-form-control-wrap {
  text-align: center;
}

.wpcf7-spinner {
  display: none;
}

.wpcf7-response-output {
  color: #ac390e;
  color: var(--clr-brand);
  border: 0px;
  font-size: 1.2rem;
  font-size: var(--fs-m);
}

.wpcf7-acceptance input {
  width: -moz-fit-content;
  width: fit-content;
}

.wpcf7-acceptance a {
  color: #ac390e;
  color: var(--clr-brand);
}

.wpcf7-not-valid-tip {
  color: #ac390e;
  color: var(--clr-brand);
}

.wpcf7-form input[type="checkbox"] {
  width: -moz-fit-content;
  width: fit-content;
}

.wpcf7-form textarea {
  width: 100%;
}

/* ––––––––––––––– MAPBOX ––––––––––––––– */

.mapboxgl-ctrl.mapboxgl-ctrl-attrib {
  background-color: transparent !important;
}

.mapboxgl-ctrl.mapboxgl-ctrl-attrib * {
  color: #48585c !important;
  color: var(--clr-grey) !important;
}

.mapboxgl-popup-content {
  border-radius: 8px !important;
  padding: 1rem !important;
  padding-right: 2rem !important;
}

.mapboxgl-popup-close-button {
  font-size: 1.5rem !important;
  top: 5px !important;
  right: 5px !important;
  color: #48585c !important;
  color: var(--clr-grey) !important;
}

a.mapboxgl-ctrl-logo {
  width: 70px !important;
  background-size: contain;
}

.mapboxgl-popup-tip {
  margin-top: -1px !important;
}

.marker {
  height: 4rem;
  width: 4rem;
  background-image: url("images/map-marker.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

/* ––––––––––––––– LENIS SMOOTH SCROLL ––––––––––––––– */

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/*--------- GUTENBERG BLOCKS ---------*/

.wp-block-gallery,
.blog-content p:has(img) {
  margin: 4rem 0;
  margin: var(--spacing-4) 0;
  display: flex;
  gap: 0.5rem;
}

/* 
.wp-block-gallery figure {
  flex: 1 1 50%;
  align-self: stretch;
}
*/

.wp-block-gallery figure img,
.blog-content > p > img {
  max-height: 20rem;
  height: 100%;
  width: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

/*--------- SCREENREADER ONLY ---------*/

.sr-only {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
}

/*--------- BLOG CONTAINER ---------*/

.blog-content p + p {
  margin-top: 0.3rem;
  margin-top: var(--spacing-1);
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5 {
  font-weight: 500;
  font-weight: var(--fw-m);
}

.blog-content h1 {
  margin-top: 2rem;
  margin-top: var(--spacing-3);
}

.blog-content h2 {
  margin-top: 2rem;
  margin-top: var(--spacing-3);
}

.blog-content h3 {
  margin-top: 4rem;
  margin-top: var(--spacing-4);
  margin-bottom: 0.5em;
}

.blog-content h4 {
  margin-top: 1.2rem;
  margin-top: var(--spacing-2);
  margin-bottom: 0.5em;
}

.blog-content h4 {
  margin-top: 2rem;
  margin-top: var(--spacing-3);
}

.blog-content ul + p {
  margin-top: 1.5em;
}

.blog-content ul li {
  display: flex;
  gap: 0.5rem;
}

/*--------- TEXT STYLINGS ---------*/

/* p {
  max-width: 60ch;
} */

ul,
li {
  list-style: none;
}

.hd-1 {
  font-size: 2.8rem;
  font-size: var(--fs-xxl);
  letter-spacing: -2%;
  color: #48585c;
  color: var(--clr-grey);
}

.hd-2,
.blog-content h2 {
  font-size: 2.8rem;
  font-size: var(--fs-xxl);
  text-transform: uppercase;
  color: #ac390e;
  color: var(--clr-brand);
}

.hd-3,
.blog-content h3 {
  font-size: 2rem;
  font-size: var(--fs-xl);
  text-transform: uppercase;
  color: #ac390e;
  color: var(--clr-brand);
}

.blog-content h3 {
  text-transform: none;
}

/* .blog-content h3 {
  color: var(--clr-grey);
} */

.hd-4,
.blog-content h4 {
  font-size: 1.6rem;
  font-size: var(--fs-l);
  color: #48585c;
  color: var(--clr-grey);
}

html .button-brand,
html .button-grey,
html .button-transparent,
html .button-transparent-negative,
html .header-button a {
  font-size: 0.9rem;
  font-size: var(--fs-s);
  font-weight: 500;
  font-weight: var(--fw-m);
  background: #ac390e;
  background: var(--clr-brand);
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  border-radius: 4px;
  color: #fff;
  letter-spacing: 0.3px;
  display: inline-block;
}

html .button-grey {
  background: #48585c;
  background: var(--clr-grey);
}

html .button-transparent {
  background: transparent;
  border: 2px solid #ac390e;
  border: 2px solid var(--clr-brand);
  color: #ac390e;
  color: var(--clr-brand);
}

html .button-transparent-negative {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

/*--------- BODY ---------*/

#mobile-menu {
  display: flex;
  padding: 1.5rem;
  flex-direction: column;
  position: fixed;
  background: #ac390e;
  background: var(--clr-brand);
  list-style: none;
  z-index: 90;
  visibility: hidden;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem !important;
  font-size: var(--fs-m) !important;
}

#mobile-menu * {
  color: #fff;
  font-size: 1.6rem !important;
  font-size: var(--fs-l) !important;
  font-weight: 300;
  font-weight: var(--fw-l);
  text-transform: none;
  padding: 0;
}

#mobile-menu .menu-main-de-container,
#mobile-menu .menu-main-it-container {
  margin-top: auto;
  margin-bottom: 2rem;
}

#mobile-menu .mobile-menu-navi li:not(:last-child) {
  border-bottom: 1px solid #333333;
  border-bottom: 1px solid var(--clr-black);
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
}

#mobile-menu .lang-item a {
  text-transform: uppercase;
  font-size: 1.2rem !important;
  font-size: var(--fs-m) !important;
}

/*--------- GENERAL ---------*/

.banner-module {
  height: 20rem;
}

.banner-header {
  height: 25rem;
}

.banner-team {
  height: auto;
}

.banner-module img {
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}

.banner-team img {
  height: auto;
}

.banner-module.home-banner {
  display: flex;
  align-items: center;
  margin-top: 0 !important;
}

.border-box {
  max-width: 55rem;
  max-width: var(--max-width-4);
  border: 1px solid #48585c;
  border: 1px solid var(--clr-grey);
  padding: 2rem;
}

/*--------- SITE-HEADER ---------*/

.site-header {
  position: fixed;
  z-index: 100;
  width: 100%;
}

.site-header-logo img {
  width: 14rem;
  height: 14rem;
  transition: width 0.3s ease, height 0.3s ease;
}

.site-header.is-scrolled .site-header-logo img {
  width: 8rem;
  height: 8rem;
}

@media (max-width: 50em) {
  .site-header-logo img {
    width: 9rem;
    height: 9rem;
  }

  .site-header.is-scrolled .site-header-logo img {
    width: 6rem;
    height: 6rem;
  }
}

.site-header-logo {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 110;
}

.site-header-top {
  background-color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}

.site-header-top,
.site-header-bottom {
  max-width: none;
  display: flex;
  justify-content: end;
}

.site-header-top > div {
  width: -moz-fit-content;
  width: fit-content;
  margin-right: 0;
  margin-left: auto;
  padding-top: 1.2rem;
  padding-top: var(--spacing-2);
  padding-bottom: 1.2rem;
  padding-bottom: var(--spacing-2);
}

.site-header-top > div > nav > ul {
  display: flex;
  align-items: center;
  color: #ac390e;
  color: var(--clr-brand);
}

.site-header-top nav ul > li {
  display: flex;
  align-items: center;
  position: relative;
}

.site-header-top > div > nav > ul > li + li:not(:last-child)::before {
  content: "";
  display: block;
  position: relative;
  height: 15px;
  width: 2px;
  background-color: #48585c;
  background-color: var(--clr-grey);
  margin: 0 0.7rem;
}

.site-header-top nav li:last-child {
  margin-left: 1rem;
}

.menu-icon {
  margin-top: 1.2rem;
  margin-top: var(--spacing-2);
  margin-bottom: 1.2rem;
  margin-bottom: var(--spacing-2);
}

.site-header-bottom .lang-switcher .lang-item a {
  text-transform: uppercase;
  font-weight: 500;
  font-weight: var(--fw-m);
  color: #48585c;
  color: var(--clr-grey);
  width: 2.5rem;
  aspect-ratio: 1 / 1;
  border-radius: 50% !important;
  border: 2px solid #48585c;
  border: 2px solid var(--clr-grey);

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-header-bottom .lang-item.current-lang a {
  background-color: #48585c;
  background-color: var(--clr-grey);
  color: #fff;
}

@media (min-width: 50em) {
  .site-header-top > div {
    background-color: white;
  }
}

@media (max-width: 60em) {
  .site-header-top > div > ul li:last-child {
    display: none;
  }
}

@media (min-width: 80em) {
  .site-header-top > div > ul > li:last-child {
    margin-left: 5rem;
  }
}

/*--------- HOME HEADER ---------*/

.home-header {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  height: 100vh;
  height: 100svh;
}

.home-header-slider {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
}

.home-header .splide {
  height: 100%;
}

.home-header-slider img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}

.home-header-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  text-align: center;
  padding: 3rem;
  background-color: rgba(255, 255, 255, 0.7);
  max-width: 60ch;
}

.home-header-info > p {
  max-width: 40ch;
}

.home-header-buttons {
  flex-wrap: wrap;
}

.home-header-buttons a {
  flex-grow: 1;
}

.home-header-buttons a:last-child {
  flex-basis: 100%;
}

/*--------- SERVICES ---------*/

.services {
  background-color: #000;
  color: #fff;
  padding-top: 2rem;
  padding-bottom: 2rem;
  overflow: hidden;
}

.services-slider {
  /* overflow: visible; */
}

.services .splide {
  position: relative;
}

@media (min-width: 50em) {
  .services .splide {
    padding-left: 5rem;
    padding-right: 5rem;
  }
  .services .splide__track {
    overflow: visible;
  }
}

.services .splide__arrows {
  top: 25%;
  left: 0rem;
  right: 0.2rem;
}

.services img {
  width: 5rem;
  height: auto;
}

/* SERVICE FIX */

.page-home .services {
  margin-bottom: 0;
}

.optic-header-slider,
.studio-header-slider {
  margin-bottom: 0;
}

/*--------- FEATURE ---------*/

.home-feature {
  background-color: #ede4d3;
}

.home-feature-info {
  padding-top: 7.5rem;
  padding-top: var(--spacing-5);
  padding-bottom: 7.5rem;
  padding-bottom: var(--spacing-5);
}

/*--------- ANGEBOT ---------*/

section.angebote img {
  width: 14rem;
}

/*--------- ANGEBOT DETAILS ---------*/

#services {
  scroll-margin-top: 10vh;
}

/*--------- ABOUT TEAM ---------*/

.team-mitglieder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  gap: var(--spacing-4);
}

/*--------- OEFFNUNGSZEITEN ---------*/

.home-oeffnungszeiten {
  background-color: #48585c;
  background-color: var(--clr-grey);
  color: #fff;
  padding-top: 4rem;
  padding-top: var(--spacing-4);
  padding-bottom: 4rem;
  padding-bottom: var(--spacing-4);
}

.home-oeffnungszeiten img {
  width: 10rem;
}

/*--------- OPTIC ABOUT ---------*/

.optic-about img {
  width: 15rem;
}

/*--------- OPTIC CONTENT ---------*/

.optic-content > * {
  margin-bottom: 4rem;
  margin-bottom: var(--spacing-4);
  max-width: 55rem;
  max-width: var(--max-width-4);
}

.optic-content > .optic-content-accordion {
  margin-bottom: 2rem;
  margin-bottom: var(--spacing-3);
}

.optic-content > .bg-img {
  height: 15rem;
  margin-block: 7.5rem;
  margin-block: var(--spacing-5);
  max-width: none;
}

.optic-uebersicht {
  display: grid;
  max-width: 80rem;
  max-width: var(--max-width-2);
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  align-items: start;
  gap: 2rem;
  gap: var(--spacing-3);
  margin-block: 7.5rem;
  margin-block: var(--spacing-5);
}

.optic-uebersicht > .accordion-item {
  border: 1px solid #48585c;
  border: 1px solid var(--clr-grey);
  display: flex;
  flex-direction: column;
}

.optic-uebersicht .text {
  padding: 1.2rem;
  padding: var(--spacing-2);
}

.optic-uebersicht .accordion-content > div > div {
  padding-top: 1.2rem;
  padding-top: var(--spacing-2);
}

.optic-navigation nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 0.3rem;
  gap: var(--spacing-1);
}

.optic-navigation a {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
  min-height: 20rem;
}

/*--------- OPTIC CONTENT accordion ---------*/

.optic-content .accordion-item {
  position: relative;
  cursor: pointer;
  border: 1px solid #48585c;
  border: 1px solid var(--clr-grey);
  padding: 1.5rem;
}

.optic-uebersicht .accordion-item {
  padding: 0;
}

.optic-content .accordion-button {
  position: absolute;
  width: 3rem;
  height: 3rem;
  background-color: white;
  border: 1px solid #48585c;
  border: 1px solid var(--clr-grey);
  border-radius: 50%;
  top: -1.5rem;
  right: -1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.optic-content .accordion-button span {
  position: absolute;
  width: 1.5rem;
  height: 2px;
  background-color: #48585c;
  background-color: var(--clr-grey);
}

.optic-content .accordion-button span:last-child {
  position: absolute;
  width: 2px;
  height: 1.5rem;
  background-color: #48585c;
  background-color: var(--clr-grey);
}

.optic-content .accordion-button span:last-child {
  width: 2px;
  height: 1.5rem;
}

@media (max-width: 50em) {
  .optic-content .accordion-button {
    width: 2rem;
    height: 2rem;
    top: -1rem;
    right: -1rem;
  }
  .optic-content .accordion-button span:first-child {
    width: 1rem;
    height: 2px;
  }
  .optic-content .accordion-button span:last-child {
    width: 2px;
    height: 1rem;
  }
}

.optic-content .accordion-button span:first-child,
.optic-content .accordion-button span:last-child {
  transition: transform 300ms;
}

.accordion-content[aria-hidden="false"] + .accordion-button span:last-child {
  transform: rotate(90deg);
}

@media (min-width: 50em) {
  .accordion-item .accordion-button,
  .accordion-item .accordion-button span {
    transition: background-color 500ms;
  }
  .accordion-item:hover .accordion-button {
    background-color: #48585c;
    background-color: var(--clr-grey);
  }
  .accordion-item:hover .accordion-button span {
    background-color: #fff;
  }
}

/*--------- CONTACT ---------*/

.page-contact .contact-form {
  max-width: 55rem;
  max-width: var(--max-width-4);
}

.contact-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

@media (min-width: 50em) {
  .contact-links {
    flex-direction: row;
  }
  .contact-links > * + *::before {
    content: "";
    display: block;
    height: 25px;
    width: 2px;
    background-color: #48585c;
    background-color: var(--clr-grey);
    margin: 0 0.7rem;
  }
}

.contact-links > * {
  display: flex;
  align-items: center;
}

/*--------- CONTACT FORM ---------*/

.wpcf7-form .button-brand {
  width: -moz-fit-content;
  width: fit-content;
  border: none !important;
  justify-self: center;
}

.wpcf7-form input:not(.button-brand),
.wpcf7-form textarea {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-size: var(--fs-std);
  font-weight: 300;
  font-weight: var(--fw-l);
}

.wpcf7-form input:not(.button-brand):focus-visible,
.wpcf7-form textarea:focus-visible {
  outline-color: #ac390e;
  outline-color: var(--clr-brand);
  outline-offset: 0;
}

/*--------- FOOTER ---------*/

#mapbox {
  height: 30rem;
  margin-bottom: 0;
}

footer {
  padding-top: 2rem;
  padding-top: var(--spacing-3);
  padding-bottom: 1.2rem;
  padding-bottom: var(--spacing-2);
  background-color: #ac390e;
  background-color: var(--clr-brand);
  color: #fff;
}

.footer-top > div {
  display: flex;
  flex-direction: column;
}

.footer-bottom > * {
  font-size: 0.9rem;
  font-size: var(--fs-s);
}

.footer-bottom > * + *::before {
  content: "\00B7";
  padding: 0 0.3rem;
  padding: 0 var(--spacing-1);
}

.footer-top .footer-top-partner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  margin-left: auto;
}

.footer-top-partner img {
  height: 3.5rem;
  width: auto;
}

body #cookiescript_accept,
body #cookiescript_reject,
body #cookiescript_save {
  border-radius: 0 !important;
}

@media (max-width: 50em) {
  #mapbox {
    height: 50vh;
  }
}
