/*
██████████████████████████████████████████████████████████████████████████████████████
  Fonts
██████████████████████████████████████████████████████████████████████████████████████
*/
@font-face {
  font-display: swap;
  font-family: "Bai Jamjuree";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/bai-jamjuree-v13-latin-300.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Bai Jamjuree";
  font-style: italic;
  font-weight: 300;
  src: url("../fonts/bai-jamjuree-v13-latin-300italic.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Bai Jamjuree";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/bai-jamjuree-v13-latin-regular.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Bai Jamjuree";
  font-style: italic;
  font-weight: 400;
  src: url("../fonts/bai-jamjuree-v13-latin-italic.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Bai Jamjuree";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/bai-jamjuree-v13-latin-500.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Bai Jamjuree";
  font-style: italic;
  font-weight: 500;
  src: url("../fonts/bai-jamjuree-v13-latin-500italic.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Bai Jamjuree";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/bai-jamjuree-v13-latin-700.woff2") format("woff2");
}
/*
██████████████████████████████████████████████████████████████████████████████████████
  Variablen
██████████████████████████████████████████████████████████████████████████████████████
*/
:root {
  /* Fonts */
  --ff_base: "Bai Jamjuree", sans-serif;
  --ff_heading: var(--ff_base);

  --fontawesome: "Font Awesome 7 Free";
  --fontawesome_brands: "Font Awesome 7 Brands";

  --font_size_html: 18px;
  --font_size_default: clamp(0.87rem, 1.125vw, 1.05rem);

  --font_weight_light: 300;
  --font_weight_normal: 400;
  --font_weight_medium: 500;
  --font_weight_bold: 700;
  /* --font_weight_black: 800; */

  /* Layout */
  --scroll_offset: 7rem;
  --text_line_height: 1.6em;
  --text_block_spacer: 2.5ch;
  --header_overlap: 6rem;
  --section_spacer: 5rem;
  --section_boxed_padding: clamp(1.5rem, 4vw, 3rem);
  --section_border_radius: 1.4rem;
  @media (max-width: 90rem) {
    --section_border_radius: 1rem;
  }

  /* Colors */
  --clr_document_bg: oklch(0.18 0.01 127.31);

  --clr_brand: oklch(0.4715 0.1097 127.31);
  --clr_accent: oklch(62.508% 0.16913 44.748);

  --clr_main_bg: oklch(22.539% 0.00828 153.393);

  --clr_brand_contrast: oklch(from var(--clr_brand) round(1.21 - l) 0 0);
  --clr_accent_contrast: oklch(from var(--clr_accent) round(1.21 - l) 0 0);

  --clr_text: oklch(1 0 0);
  --clr_heading: oklch(from var(--clr_brand) calc(L * 2.2) calc(C * 0.5) H);

  --clr_text_selection_bg: oklch(0.8487 0.112 127.31);
  /* Berechnung der Kontrastfarbe (schwarz/weiß) */
  --clr_text_selection: oklch(
    from var(--clr_text_selection_bg) round(1.21 - l) 0 0
  );

  --clr_text_link: oklch(from var(--clr_brand) calc(L * 2) calc(C * 1.5) H);
}
/*
██████████████████████████████████████████████████████████████████████████████████████
  Defaults / Normalize
██████████████████████████████████████████████████████████████████████████████████████
*/
html {
  font-size: var(--font_size_html);
  scroll-padding-block-start: var(--scroll_offset);
  background-color: var(--clr_document_bg);
  background-image: radial-gradient(
    circle,
    oklch(from var(--clr_brand) L C H / 0.7) 0,
    transparent 2px
  );
  background-size: 22px 22px;
  background-repeat: repeat;
  background-attachment: fixed;
  @media (prefers-reduced-motion: no-preference) {
    scroll-behavior: smooth;
  }
}
body {
  font-size: var(--font_size_default);
}
body,
body * {
  font-family: var(--ff_base);
  color: var(--clr_text);
  line-height: var(--text_line_height);
  font-weight: var(--font_weight_normal);
}
::selection {
  background-color: var(--clr_text_selection_bg);
  color: var(--clr_text_selection);
}
header,
footer,
main,
section,
article {
  container-type: inline-size;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}
p,
li {
  text-wrap: pretty;
}
main p,
main table,
main ul,
main ol {
  margin-bottom: var(--text_block_spacer);
}
strong {
  /* font-weight: var(--font_weight_bold); */
  font-weight: var(--font_weight_medium);
}
i,
em {
  font-style: italic;
}
ul[class],
ul[id] {
  list-style: none;
  margin: 0;
  padding: 0;
}
ol li {
  list-style: decimal;
}
main a:not([class]),
main a.telephone:not(.button),
main a.email:not(.button) {
  color: var(--clr_text_link);
  text-decoration: underline;
  text-underline-offset: 0.2ex;
  transition: 0.2s ease-in-out;
  &:hover,
  &:focus-visible {
    text-decoration-color: var(--clr_brand);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.5ex;
  }
}
a:hover {
  text-decoration-color: inherit;
}
.center {
  text-align: center !important;
  max-width: unset;
}
.center > * {
  text-align: inherit;
}
/*
██████████████████████████████████████████████████████████████████████████████████████
    Überschriften
██████████████████████████████████████████████████████████████████████████████████████
*/
h1,
h2,
h3,
h4,
h5,
h6 {
  --font_size_factor: 1;
  display: block;
  text-align: left;
  text-box-trim: both;
  line-height: 2ch;
  color: var(--clr_heading);
  font-family: var(--ff_heading);
  font-size: calc(var(--font_size_default) * var(--font_size_factor));
  font-weight: var(--font_weight_medium);
  margin-bottom: 1.3ch;
  & * {
    line-height: inherit;
    font-weight: inherit;
    font-family: inherit;
  }
}
* > h2:not(:first-child),
* > h3:not(:first-child),
* > h4:not(:first-child),
* > h5:not(:first-child),
* > h6:not(:first-child) {
  margin-top: 2.8ch;
}
h1 {
  --font_size_factor: 2.6;
  letter-spacing: -0.03em;
}
h2 {
  --font_size_factor: 2;
  letter-spacing: -0.02ch;
}
body.home h2 {
  --font_size_factor: 3;
  letter-spacing: 0.04em;
  font-weight: var(--font_weight_normal);
  width: 20ch;
  max-width: 100%;
}
h3 {
  --font_size_factor: 1.7;
}
h4 {
  --font_size_factor: 1.5;
}
h5 {
  --font_size_factor: 1.3;
}
h1,
h2,
h3 {
  & > span {
    display: block;
  }
  & > span:not([class]) {
    font-family: var(--ff_heading);
    color: inherit;
    line-height: 1.2em;
  }
  & > span:not([class]):has(+ .heading_sub)::after {
    content: "\2002–";
    opacity: 0;
    display: inline;
    width: 0;
  }
  & > span[class] {
    font-family: var(--ff_base);
    font-size: max(1.1rem, 0.5em);
    font-weight: var(--font_weight_medium);
    line-height: 2.2ch;
    letter-spacing: normal;
  }
  & .heading_kicker {
    margin-block-end: 0.4em;
    color: var(--clr_accent);
    font-weight: var(--font_weight_medium);
  }
  & .heading_kicker::after {
    content: ":";
    opacity: 0;
  }
  & .heading_sub {
    margin-block-start: 0.5em;
  }
  & > span em {
    font-style: normal;
  }
}
h3 > span[class] {
  font-size: max(0.9rem, 0.5em);
  line-height: 2ch;
}
@media (max-width: 40rem) {
  h1 {
    --font_size_factor: 2;
  }
  h2 {
    --font_size_factor: 1.8;
    letter-spacing: normal;
  }
  h3 {
    --font_size_factor: 1.6;
  }
  h4 {
    --font_size_factor: 1.4;
  }
  h5 {
    --font_size_factor: 1.2;
  }
}
/*
██████████████████████████████████████████████████████████████████████████████████████
  Header
██████████████████████████████████████████████████████████████████████████████████████
*/
header {
  --animation_duration: 300ms;
  transition-duration: var(--animation_duration);
  transition-timing-function: ease-in-out;
  transition-property: none;
  position: sticky;
  inset: 0;
  z-index: 2;
  background-color: var(--clr_main_bg);
  box-shadow:
    0px 1px 2px rgba(255, 255, 255, 0.01),
    0px 6px 8px rgba(255, 255, 255, 0.01),
    0px 13px 18px rgba(255, 255, 255, 0.02),
    0px 24px 32px rgba(255, 255, 255, 0.02),
    0px 37px 50px rgba(255, 255, 255, 0.03);
}
header.shrink {
  box-shadow:
    0px 1px 3px rgba(255, 255, 255, 0.01),
    0px 6px 12px rgba(255, 255, 255, 0.03),
    0px 13px 27px rgba(255, 255, 255, 0.04),
    0px 24px 47px rgba(255, 255, 255, 0.06),
    0px 37px 74px rgba(255, 255, 255, 0.07);
}
header * {
  transition-duration: inherit;
  transition-timing-function: inherit;
  transition-property: inherit;
}
header .main_line > div {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3ch;
  padding-block: 1.5ch;
  transition-property: padding-block;
}
header.shrink .main_line > div {
  padding-block: 0.7ch;
}
header .logo {
  line-height: 0;
}
header .logo img {
  display: block;
  width: auto;
  height: 50px;
  transition-property: height;
}
header.shrink .logo img {
  height: 40px;
}
/*
██████████████████████████████████████████████████████████████████████████████████████
  Main
██████████████████████████████████████████████████████████████████████████████████████
*/
body > main ul {
  margin-left: 1.7em;
}
body > main li {
  margin-bottom: calc(var(--text_block_spacer) / 3);
  line-height: min(1.2rem, var(--text_line_height));
}
body > main li:last-of-type {
  margin-bottom: 0;
}
body > main li > :last-child {
  margin-bottom: 0;
}
body > main hr {
  border: none;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--clr_brand) 20%,
    var(--clr_tertiary) 80%,
    transparent 100%
  );
  margin-block: var(--text_block_spacer);
}
body > main section + hr:has(+ section) {
  margin-block: calc(var(--text_block_spacer) / 2);
}
/*
██████████████████████████████████████████████████████████████████████████████████████
  Sections
██████████████████████████████████████████████████████████████████████████████████████
*/
main > section {
  padding-block: var(--section_spacer);
  background: linear-gradient(
    177deg,
    oklch(from var(--clr_brand) L C H / 0.2) 0,
    oklch(from var(--clr_brand) L C H / 0) 40%,
    oklch(from var(--clr_brand) L C H / 0.06) 100%
  );
}
main > section.highlight {
  background: linear-gradient(
    177deg,
    oklch(from var(--clr_brand) L C H / 0.6) 0,
    oklch(from var(--clr_brand) L C H / 0.4) 100%
  );
  filter: contrast(1.3);
  border-block: 1px solid oklch(from var(--clr_brand) L C H / 0.5);
}
body main > section + section {
  border-block-start: 1px solid
    oklch(from var(--clr_brand) L calc(C * 1.5) H / 0.5);
}
main > section:first-child {
  margin-top: 0;
}
main > section.boxed > * {
  padding: var(--section_boxed_padding);
}
main > section > :last-child,
main > section > div:only-child > :last-child,
main > section > div.anchor + div:last-child > :last-child {
  margin-bottom: 1ex;
}
main > section > .anchor + h2 {
  margin-block-start: 0;
}
body:not(.home) main > section > .narrow {
  position: relative;
}
body:not(.home) main > section > .narrow::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--clr_brand);
  width: 0.2ex;
  left: -5svw;
  @media (max-width: 80rem) {
    left: -4ex;
  }
  @media (max-width: 70rem) {
    display: none;
  }
}
body:not(.home) main > section.intro_section > .narrow::before {
  width: 0.6ex;
  left: -5svw;
  @media (max-width: 80rem) {
    left: -4ex;
  }
  @media (max-width: 70rem) {
    display: none;
  }
}
/*
██████████████████████████████████████████████████████████████████████████████████████
    "Side by Side"-Layout
██████████████████████████████████████████████████████████████████████████████████████
*/
.side_by_side {
  position: relative;
  --text_col_width: 50%;
  --gap_vertical: calc(var(--text_block_spacer) + 1rem);
  --gap_horizontal: 3rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  align-content: stretch;
  gap: var(--gap_vertical) var(--gap_horizontal);
  @media (max-width: 50rem) {
    & {
      flex-direction: column !important;
      > * {
        width: 100%;
      }
      .text_col {
        flex-basis: unset !important;
      }
    }
  }
}
.side_by_side.reverse {
  flex-direction: row-reverse;
}
.side_by_side .text_col {
  flex: 0 0 var(--text_col_width);
}
.side_by_side .text_col :last-child,
.side_by_side .text_col :last-child :last-child {
  margin-block-end: 0;
}
.side_by_side .media_col {
  flex-grow: 1;
}
/*
██████████████████████████████████████████████████████████████████████████████████████
    Buttons
██████████████████████████████████████████████████████████████████████████████████████
*/
.button {
  --_main_clr: #fff;
  --_bgc: var(--_main_clr);
  display: inline-flex;
  align-items: center;
  padding: 0.75em 1.4em;
  margin: 0;
  font-weight: var(--font_weight_medium);
  line-height: 1.2em;
  text-decoration: none !important;
  background-color: var(--_bgc);
  color: oklch(from var(--_bgc) round(1.21 - L) 0 0);
  border: none;
  border: 2px solid var(--_bgc);
  border-radius: 0.4ch;
  min-inline-size: fit-content;
  &:hover,
  &:focus-visible {
    --_lightness_multiplier: 0.8;
    --_bgc_hover: oklch(
      from var(--_bgc) calc(L * var(--_lightness_multiplier)) C H
    );
    background-color: var(--_bgc_hover);
    border-color: var(--_bgc_hover);
    color: oklch(from var(--_bgc_hover) round(1.21 - L) 0 0);
    --_shadow_tone: oklch(from var(--_bgc_hover) round(1.21 - L) 0 0);
    box-shadow:
      0 0 0.1ch oklch(from var(--_shadow_tone) L C H / 0.02),
      0 0 0.2ch oklch(from var(--_shadow_tone) L C H / 0.04),
      0 0 0.5ch oklch(from var(--_shadow_tone) L C H / 0.07),
      0 0 1ch oklch(from var(--_shadow_tone) L C H / 0.09);
  }
}
.button.hollow {
  --_main_clr: var(--clr_accent);
  --_contrast_clr: oklch(from var(--_main_clr) round(1.21 - L) 0 0);
  color: var(--_main_clr);
  border-color: var(--_main_clr);
  background-color: transparent;
  backdrop-filter: blur(1px);
  &:hover,
  &:focus-visible {
    background-color: var(--_main_clr);
    color: var(--_contrast_clr);
    box-shadow: none;
  }
}
.button.iconized::before {
  font-family: var(--fontawesome);
  font-size: 1.8ch;
  padding-inline-end: 1ch;
}
.button.iconized.telephone::before {
  content: "\f095" / "Telefonnummer:";
}
.button.iconized.email::before {
  content: "\f0e0" / "E-Mail";
}
.button.iconized.whatsapp::before {
  font-family: var(--fontawesome_brands);
  content: "\f232" / "WhatsApp";
}
.button.iconized.instagram::before {
  font-family: var(--fontawesome_brands);
  content: "\f16d" / "Instagram";
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
    VJS-Slider
███████████████████████████████████████████████████████████████████████████████████████████████
*/
.vjs_slider .slide {
  display: none;
  height: 100%;
  animation-name: fade;
  animation-duration: 2500ms;
  position: relative;
}
.vjs_slider .slide:first-of-type {
  display: block;
}
.vjs_slider .arrow {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.3rem;
  transition: 200ms ease-out;
  transition-property: opacity, background-color;
  transition-duration: 300ms, 200ms;
  user-select: none;
  font-size: 0;
  line-height: 0;
  vertical-align: middle;
  font-weight: 200;
}
.vjs_slider .arrow::after {
  content: "";
  display: block;
  position: relative;
  height: 2.8rem;
  aspect-ratio: 3/4;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="white" d="M7.33 24l-2.83-2.829 9.339-9.175-9.339-9.167 2.83-2.829 12.17 11.996z"/></svg>');
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.vjs_slider .arrow.prev::after {
  transform: rotate(180deg);
}
.vjs_slider .prev {
  left: 0;
  border-radius: 0 10% 10% 0;
}
.vjs_slider .next {
  right: 0;
  border-radius: 10% 0 0 10%;
}
.vjs_slider .arrow:hover,
.vjs_slider .arrow:focus-visible {
  background-color: rgba(11, 11, 11, 0.85);
}
.vjs_slider .slide img {
  border-radius: 0.5ch;
  width: 100%;
}
@keyframes fade {
  from {
    opacity: 0.1;
  }
  to {
    opacity: 1;
  }
}
/*
██████████████████████████████████████████████████████████████████████████████████████
  Hero (Section on HP)
██████████████████████████████████████████████████████████████████████████████████████
*/
section.hero {
  background-color: #333;
  background-image: url("../img/home/hero.webp");
  background-position: 50% 50%;
  background-size: cover;
  aspect-ratio: 1717/916;
  position: relative;
  @media (max-width: 35rem) {
    background-position: 60% 50%;
  }
}
section.hero .text_box {
  font-size: 0.8em;
  width: 35ch;
  max-width: 100%;
  color: #fff;
  @media (max-width: 70rem) {
    & {
      width: 45ch;
      padding: 2rem;
      background-color: rgb(0 0 0 / 0.7);
      backdrop-filter: blur(3px);
    }
  }
  @media (max-width: 30rem) {
    & {
      padding: 1rem;
    }
  }
}
section.hero .text_box *:not(.button) {
  color: inherit;
}
section.hero .text_box .logo {
  width: 100%;
  margin-block-end: 3ch;
}
section.hero .text_box .claim {
  text-transform: uppercase;
  font-size: 2.5ch;
  text-align: center;
  margin-inline-end: -0.3ch;
  line-height: 1.2em;
  margin-block-end: 1.5ch;
}
section.hero .text_box .claim span {
  display: block;
  text-align: inherit;
  line-height: inherit;
}
section.hero .text_box .claim span:first-of-type {
  word-spacing: 0.97ch;
  letter-spacing: 0.42ch;
}
section.hero .text_box .claim span:last-of-type {
  word-spacing: 0.6ch;
  letter-spacing: 0.35ch;
  color: oklch(from var(--clr_brand) calc(L * 1.2) C H);
  font-weight: var(--font_weight_medium);
}
section.hero .text_box .doings {
  font-size: 1.2em;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1ch;
}
section.hero .text_box .doings i {
  color: oklch(from var(--clr_brand) calc(L * 1.2) C H);
}
/*
██████████████████████████████████████████████████████████████████████████████████████
  Intro (Section on HP)
██████████████████████████████████████████████████████████████████████████████████████
*/
section.intro {
  background: var(--clr_main_bg)
    linear-gradient(
      125deg,
      oklch(from var(--clr_brand) L C H / calc(alpha - 0.7)) 0,
      oklch(from var(--clr_brand) L C H / calc(alpha - 1)) 30%,
      oklch(from var(--clr_brand) L C H / calc(alpha - 1)) 70%,
      oklch(from var(--clr_brand) L C H / calc(alpha - 0.7)) 100%
    );
  background-image: radial-gradient(
    circle,
    oklch(from var(--clr_brand) L C H / 0.6) 0,
    transparent 2px
  );
  background-size: 22px 22px;
}
/*
██████████████████████████████████████████████████████████████████████████████████████
  Services (Homepage)
██████████████████████████████████████████████████████████████████████████████████████
*/
section.services :last-child {
  margin-block-end: 0;
}
.service_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: min(2rem, 3vw);
  margin: 2ch auto 0 !important;
  max-width: 100%;
  padding: 0;
  width: 100%;
  @media (max-width: 65rem) {
    & {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (max-width: 40rem) {
    & {
      width: 35ch;
      grid-template-columns: 1fr;
      gap: 3ch;
    }
  }
}
.service_list:has(+ *) {
  margin-block-end: var(--text_block_spacer) !important;
}
.service_list > li {
  position: relative;
  margin: 0;
  aspect-ratio: 16/9;
  @media (max-width: 30rem) {
    & {
      aspect-ratio: 4/3;
    }
  }
}
.service_list .card {
  --corner_color: var(--clr_brand);
  --corner_length: 40px;
  --corner_width: 1px;
  display: grid;
  align-content: center;
  place-items: center;
  position: relative;
  block-size: 100%;
  background-color: oklch(1 0 1 / 3%);
  backdrop-filter: blur(2px);
  background-position: 50%;
  background-size: cover;
  font-size: 1.3em;
  color: oklch(from var(--clr_brand) calc(L * 1.8) C H);
  @media (max-width: 30rem) {
    & {
      font-size: 1.1em;
    }
  }
}
.service_list .card.beratung {
  background-image: url("../img/home/beratung.webp");
}
.service_list .card.flaechensondierung {
  background-image: url("../img/home/flaechensondierung.webp");
}
.service_list .card.tiefensondierung-bohrlochsondierung {
  background-image: url("../img/home/tiefensondierung.webp");
}
.service_list .card.verdachtspunktbergung {
  background-image: url("../img/home/verdachtspunktbergung.webp");
}
.service_list .card.baufeldfreimachung {
  background-image: url("../img/home/baufeldfreimachung.webp");
}
.service_list .card.baubegleitung {
  background-image: url("../img/home/baubegleitung.webp");
}
.service_list .card.dokumentation-kampfmittelfreigabe {
  background-image: url("../img/home/dokumentation.webp");
}
.service_list a.card {
  text-decoration: none;
  transition-duration: 300ms;
  transition-property: all;
  transition-timing-function: ease;
  color: oklch(from var(--clr_brand) calc(L * 1.8) C H);
}
.service_list a.card:hover {
  background-color: oklch(0 0 1 / 30%);
  --corner_width: 2px;
  --corner_length: 70px;
  --corner_color: oklch(from var(--clr_brand) calc(L * 1.2) calc(C * 2) H);
  color: oklch(from var(--clr_brand) calc(L * 1.8) calc(C * 1.5) H);
  box-shadow:
    0px 0px 3px rgba(255, 255, 255, 0.03),
    0px 0px 11px rgba(255, 255, 255, 0.06),
    0px 0px 25px rgba(255, 255, 255, 0.08),
    0px 0px 45px rgba(255, 255, 255, 0.11),
    0px 0px 70px rgba(255, 255, 255, 0.14);
}
.service_list .card::before,
.service_list .card::after,
.service_list .card .corner_bl,
.service_list .card .corner_br {
  border: var(--corner_width) solid transparent;
  width: var(--corner_length);
  aspect-ratio: 1;
}
.service_list .card::before,
.service_list .card::after {
  content: "";
  position: absolute;
  top: 0;
}
.service_list .card .corner_bl,
.service_list .card .corner_br {
  position: absolute;
  bottom: 0;
}
/* Oben links */
.service_list .card::before {
  left: 0;
  border-top-color: var(--corner_color);
  border-left-color: var(--corner_color);
}
/* Oben rechts */
.service_list .card::after {
  right: 0;
  border-top-color: var(--corner_color);
  border-right-color: var(--corner_color);
}
/* Unten links */
.service_list .card .corner_bl {
  left: 0;
  border-bottom-color: var(--corner_color);
  border-left-color: var(--corner_color);
}
/* Unten rechts */
.service_list .card .corner_br {
  right: 0;
  border-bottom-color: var(--corner_color);
  border-right-color: var(--corner_color);
}
.service_list .card span {
  color: inherit;
  text-align: center;
  padding-inline: 3ch;
  text-wrap: balance;
  line-height: 1.3em;
  @media (max-width: 40rem) {
    & {
      padding-inline: 2ch;
    }
  }
  @media (max-width: 30rem) {
    & {
      line-height: 1.3em;
    }
  }
}
.service_list .card p {
  color: #fff;
  text-align: center;
  padding-inline: 3ch;
  text-wrap: balance;
  line-height: 1.3em;
  font-size: 0.72em;
  margin-block-start: 1ch;
  margin-block-end: 0;
  font-weight: var(--font_weight_light);
}
/*
██████████████████████████████████████████████████████████████████████████████████████
  Credentials (Section on HP)
██████████████████████████████████████████████████████████████████████████████████████
*/
section.credentials .side_by_side {
  --text_col_width: 55%;
  --gap_horizontal: 4rem;
  align-items: center;
  @media (max-width: 60rem) {
    & {
      flex-direction: column !important;
      .text_col {
        flex-basis: unset !important;
      }
      .media_col {
        width: auto;
      }
    }
  }
}
section.credentials .text_col h2 {
  width: unset;
}
/*
██████████████████████████████████████████████████████████████████████████████████████
  Contact (Section on HP)
██████████████████████████████████████████████████████████████████████████████████████
*/
section.contact_cta .side_by_side {
  --text_col_width: 50%;
  --gap_horizontal: 5rem;
  align-items: center;
  gap: 5ch;
  @media (max-width: 65rem) {
    flex-direction: column;
  }
}
@media (max-width: 65rem) {
  section.contact_cta .side_by_side * {
    text-align: center;
  }
  section.contact_cta .side_by_side .text_col h2 {
    margin-inline: auto;
  }
}
/*
██████████████████████████████████████████████████████████████████████████████████████
  Kontakt
██████████████████████████████████████████████████████████████████████████████████████
*/
section.contact {
  padding-block: 8ch;
}
section.contact .side_by_side {
  --text_col_width: 35%;
  --gap_horizontal: 5rem;
  align-items: center;
  align-items: flex-start;
  row-gap: 10ch;
}
section.contact .text_col {
  color: #fff;
}
section.contact .text_col *,
section.contact .text_col a {
  color: inherit;
}
section.contact .text_col h1 {
  width: unset;
  font-size: 3em;
}
section.contact .text_col h1 .heading_kicker {
  color: var(--clr_accent);
}
section.contact .text_col .block + .block {
  margin-block-start: 3ch;
}
section.contact .formulator {
  --input_border: 1px solid var(--clr_brand);
  --_accent_color: oklch(from var(--clr_accent) calc(L * 0.8) calc(C * 1.2) H);
}
section.contact .formulator > *,
section.contact .formulator label {
  color: #fff;
}
section.contact .formulator form {
  grid-template-columns: 1fr;
  margin-block-end: 0;
}
section.contact .formulator input:not([type="submit"]),
section.contact .formulator select,
section.contact .formulator textarea {
  border-radius: 0;
}
/*
██████████████████████████████████████████████████████████████████████████████████████
  Unterseite "Leistungen"
██████████████████████████████████████████████████████████████████████████████████████
*/
#service_page > section > .side_by_side {
  --text_col_width: 50%;
  --gap_horizontal: 3rem;
  align-items: center;
  margin-block-start: 3ch;
}
#service_page > section + section {
  margin-block-start: var(--section_spacer);
}
#service_page > section h2 {
  margin-block-start: 0;
}
#service_page > section:nth-child(even) > .side_by_side {
  flex-direction: row-reverse;
}
#service_page > section > .side_by_side ul:not([class]) > li {
  margin-block-end: calc(var(--text_block_spacer) * 0.8);
}
#service_page > section > .side_by_side ul > li:last-child {
  margin-block-end: 0;
}
#service_page .gallery {
  --pic_min_width: 200px;
  --gap: 1ch;
}
#service_page .gallery > li:empty {
  position: relative;
  opacity: 0.2;
  background-color: var(--clr_brand);
}
#service_page .gallery > li:empty::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background-image: url("../img/logo.webp");
  background-position: 50%;
  background-size: 70% auto;
}
#service_page .gallery figure {
  aspect-ratio: 5/4;
}
#service_page .gallery figure[role="button"] {
  --border-radius: 0;
}
#service_page .gallery figure img {
  height: 100%;
  object-fit: cover;
  object-position: 50%;
}

/*
██████████████████████████████████████████████████████████████████████████████████████
  Footer
██████████████████████████████████████████████████████████████████████████████████████
*/
footer {
  background-color: var(--clr_main_bg);
  border-block-start: 2px solid rgb(255 255 255 / 0.05);
}
footer * {
  color: inherit;
}
footer > div {
  display: flex;
  flex-direction: column;
}
footer .main_line {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3ch 6ch;
  padding-block: 3ch;
}
@media (max-width: 60rem) {
  footer .main_line .col:has(.logo) {
    display: none;
  }
}
footer .main_line .col .logo img {
  width: 200px;
}
footer a {
  text-decoration: none;
  text-underline-offset: 0.3ch;
}
footer a:hover {
  text-decoration: underline;
  text-decoration-skip: objects;
}
footer a.iconized::before {
  font-family: var(--fontawesome);
  font-size: 1.8ch;
  padding-inline-end: 1ch;
  display: inline-block;
  text-decoration: none !important;
}
footer a.iconized.telephone::before {
  content: "\f095" / "Telefonnummer:";
}
footer a.iconized.email::before {
  content: "\f0e0" / "E-Mail";
}
footer .bottom_line {
  font-size: 0.9em;
  padding-block: 2ch;
  border-top: 1px solid rgb(255 255 255 / 0.2);
}
footer nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  justify-content: center;
  list-style: none;
  gap: 2ch;
}
footer nav ul li {
  margin-block-end: 0;
  line-height: 1rem;
}
footer nav a {
  line-height: 1.2em;
  text-decoration: none;
}
footer nav a:hover,
footer nav a:focus-visible {
  text-decoration: underline;
}
footer nav a * {
  line-height: inherit;
}
/*
██████████████████████████████████████████████████████████████████████████████████████
    Back-to-Top-Button
██████████████████████████████████████████████████████████████████████████████████████
*/
#b2t_btn {
  --_b2t_color: var(--clr_brand);
  --_b2t_color: oklch(from var(--clr_brand) calc(L * 0.8) calc(C * 0.6) H);
}
