/*
███████████████████████████████████████████████████████████████████████████████████████████████
  FontAwesome
███████████████████████████████████████████████████████████████████████████████████████████████
*/
@import "fontawesome/fontawesome.min.css";
@import "fontawesome/brands.min.css";
@import "fontawesome/solid.min.css";
/*
███████████████████████████████████████████████████████████████████████████████████████████████
  Pico Base Variables
███████████████████████████████████████████████████████████████████████████████████████████████
*/
@media (min-width: 1536px) {
  .container {
    max-width: 1300px;
  }
}
:root,
:host {
  --pico-font-weight: 350;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  --pico-font-weight: 600;
  color: var(--ci_color);
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
  Defaults
███████████████████████████████████████████████████████████████████████████████████████████████
*/
:root {
  --fontawesome: "Font Awesome 6 Free";
  --fontawesome_brands: "Font Awesome 6 Brands";
  --ci_color: #063c72;
}
[data-theme="light"],
:root:not([data-theme="dark"]),
:host(:not([data-theme="dark"])) {
  --pico-color: #111;
}
html {
  scroll-padding-top: 3.5rem;
  scroll-behavior: smooth;
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
  Header
███████████████████████████████████████████████████████████████████████████████████████████████
*/
body > header {
  --animation_duration: 400ms;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background-color: var(--ci_color);
  transition: all var(--animation_duration) ease-in-out;
  padding-block: 0;
}
body > header.shrink {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  box-shadow: 0px 0px 1.7px rgba(0, 0, 0, 0.031),
    0px 0px 4px rgba(0, 0, 0, 0.044), 0px 0px 7.5px rgba(0, 0, 0, 0.055),
    0px 0px 13.4px rgba(0, 0, 0, 0.066), 0px 0px 25.1px rgba(0, 0, 0, 0.079),
    0px 0px 60px rgba(0, 0, 0, 0.11);
}
body > header .container {
  display: flex;
  justify-content: space-between;
  position: relative;
}
body > header .contact {
  font-size: 0.9em;
  color: #fff;
  margin-top: 1.2em;
}
body > header.shrink .contact {
  color: var(--pico-color);
}
body > header .contact * {
  color: inherit;
}
body > header .contact a {
  text-decoration: none;
}
body > header .contact a + a {
  margin-left: 1rem;
}
body > header .contact a:hover {
  text-decoration: underline;
  text-decoration-color: inherit;
}
body > header .contact a::before {
  font-family: var(--fontawesome);
  font-size: 1em;
  display: inline-block;
  width: 1.4rem;
  text-align: center;
  margin-right: 0.4em;
  text-decoration: none;
}
body > header .contact a.telephone::before {
  content: "\f095";
}
body > header .contact a.email::before {
  content: "\f0e0";
}
@media (max-width: 81rem) {
  body > header .contact {
    margin-block: 0.7em;
  }
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
    Viewport-Effects
███████████████████████████████████████████████████████████████████████████████████████████████
*/
.vpe.taut {
  opacity: 0;
  transform: translateX(20%);
  transition: all 0.4s ease-out;
}
.vpe.from_left.taut {
  transform: translateX(-20%);
}
body.nojs .vpe.taut,
.vpe.visible {
  opacity: 1;
  transform: translateX(0) !important;
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
  Main
███████████████████████████████████████████████████████████████████████████████████████████████
*/
body > main {
  padding-block: 0;
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
  Sections
███████████████████████████████████████████████████████████████████████████████████████████████
*/
main > section {
  padding-block: 3rem;
}
main > section + section {
  margin-bottom: 0;
}
main > section figure:has(+ p) {
  margin-bottom: var(--pico-typography-spacing-vertical);
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
  Hero
███████████████████████████████████████████████████████████████████████████████████████████████
*/
#hero {
  background-color: rgba(255, 255, 255, 0.5);
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.85) 30%,
    rgba(255, 255, 255, 0) 70%
  );
  padding-top: 8rem;
  padding-bottom: 5rem;
  position: relative;
  margin-bottom: 0;
}
#hero::before,
#hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
}
#hero::before {
  z-index: -2;
  background-image: url("../bilder/hero.jpg");
  background-position: 50% 50%;
}
#hero::after {
  z-index: -1;
  backdrop-filter: blur(3px);
}
#hero > .container > *:last-child {
  margin-bottom: 0;
}
#hero .logo_con {
  display: inline-block;
}
#hero .logo_con + * {
  margin-top: 2rem;
}
#hero .logo_con img {
  filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 7px #fff)
    drop-shadow(0 0 16px #fff) drop-shadow(0 0 25px #fff)
    drop-shadow(0 0 35px #fff);
}
@media (min-width: 768px) {
  #hero::after {
    backdrop-filter: blur(1px);
  }
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
  Unternehmen
███████████████████████████████████████████████████████████████████████████████████████████████
*/
#unternehmen {
  background-color: var(--ci_color);
  color: #fff;
}
#unternehmen * {
  color: inherit;
}
#unternehmen figure img {
  border-radius: 0.4rem;
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
  Leistungen
███████████████████████████████████████████████████████████████████████████████████████████████
*/
#leistungen {
  background-color: rgba(0, 0, 0, 0.1);
}
.accomplishments_list {
  display: grid;
  /* grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); */
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;

  margin-inline: auto;
  width: 900px;
  max-width: 100%;
}
.accomplishments_list .accomplishment {
  background-color: #fff;
  border-radius: 0.3rem;
  overflow: hidden;
}
.accomplishments_list .accomplishment figure img {
  display: block;
  width: 100%;
  max-width: 100%;
}
.accomplishments_list .accomplishment .text {
  padding: 1.5rem 1.5rem 1.2rem;
  font-size: 0.95em;
}
.accomplishments_list .accomplishment .text h3 {
  font-size: 1.2em;
  min-height: 2.35em;
}
.accomplishments_list .accomplishment .text ul {
  list-style: none;
  padding-left: 0;
}
.accomplishments_list .accomplishment .text ul li {
  list-style: inherit;
  padding-block: 0.6rem;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  line-height: 1.3em;
}
.accomplishments_list .accomplishment .text ul li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.accomplishments_list .accomplishment .text > *:last-child {
  margin-bottom: 0;
}
@media (max-width: 40rem) {
  .accomplishments_list {
    display: grid;
    grid-template-columns: auto;
  }
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
  Referenzen
███████████████████████████████████████████████████████████████████████████████████████████████
*/
#referenzen {
  background-color: rgba(0, 0, 0, 0.2);
  background-color: #fff;
}
#referenzen .container > *:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}
.gallery {
  display: grid;
  /* grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); */
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.7rem;
}
.gallery figure {
  margin: 0;
}
figure[role="button"] {
  cursor: zoom-in;
  transition: transform 0.3s ease;
  padding: 0;
  background-color: transparent;
  border: none;
  border-radius: 0;
}
figure[role="button"]:hover {
  transform: scale(1.05);
}
.gallery img {
  width: 100%;
  height: auto;
  border-radius: 0.2rem;
  display: block;
}
/* Einzelbilder außerhalb von Galerien */
figure:not(.gallery figure) img {
  display: block;
  max-width: 100%;
  height: auto;
}
figcaption {
  font-size: 0.9rem;
  line-height: 1.25em;
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
  Jobs
███████████████████████████████████████████████████████████████████████████████████████████████
*/
#jobs {
  background: linear-gradient(
    to bottom,
    rgba(6, 60, 114, 0.22) 0%,
    #fff 40%,
    #fff 100%
  );
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
  Kontakt
███████████████████████████████████████████████████████████████████████████████████████████████
*/
#kontakt {
  background-color: rgba(0, 0, 0, 0.3);
}
#kontakt .form_con {
  margin-top: 3rem;
}
.formulator {
  width: 800px;
  max-width: 100%;
  margin-inline: auto;
}
.formulator .intro {
  font-style: italic;
  font-size: 0.9em;
}
/* Honeypot */
.formulator .hp_con,
.formulator #e_mail_repeat,
.formulator #hp_label {
  display: none;
}
.formulator .consent_con {
  margin-bottom: 2rem;
}
.formulator .consent_text {
  display: inline;
  font-size: 0.85em;
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
    Cabinet (Lightbox)
███████████████████████████████████████████████████████████████████████████████████████████████
*/
/* Cabinet-Overlay */
.cabinet {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(4px);
}
.cabinet.active {
  opacity: 1;
  visibility: visible;
}
.cabinet_content {
  --button_margin: 1.5rem;
  --button_diameter: 2.2rem;
  --button_padding: calc(var(--button_diameter) * 0.25);
  position: relative;
  max-width: 90%;
  max-height: 85%;
  text-align: center;
}
.cabinet_img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  margin: 0 auto;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
  border-radius: 0.4rem;
  transition: opacity 0.4s ease, transform 0.3s ease;
}
/* Bildwechsel-Animation */
.cabinet_img.fade_out {
  opacity: 0;
  transform: scale(0.95);
}
.cabinet_img.fade_in {
  opacity: 1;
  transform: scale(1);
}
.cabinet_caption {
  color: #fff;
  padding: 0.2rem;
  margin-top: 0.2rem;
}
/* Navigation */
.cabinet_nav {
  position: fixed;
  top: 50%;
  width: 100%;
  left: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  padding-inline: var(--button_margin);
  box-sizing: border-box;
}
/* Basis-Stil für alle Lightbox-Buttons */
.cabinet_btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: var(--button_diameter);
  height: var(--button_diameter);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  pointer-events: auto;
  backdrop-filter: blur(3px);
  padding: var(--button_padding);
  box-shadow: 0px 0px 0px rgba(255, 255, 255, 0.05),
    0px 0px 1px rgba(255, 255, 255, 0.11), 0px 0px 3px rgba(255, 255, 255, 0.16),
    0px 0px 4px rgba(255, 255, 255, 0.22), 0px 0px 7px rgba(255, 255, 255, 0.27);
}
.cabinet_nav .cabinet_btn {
  --svg_shift: 1px;
}
.cabinet_btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.2);
  box-shadow: none;
}
.cabinet_btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}
.cabinet_btn.prev_btn svg {
  transform: rotate(180deg);
}
.cabinet_btn.prev_btn svg {
  margin-left: calc(-1 * var(--svg_shift));
  margin-right: var(--svg_shift);
}
.cabinet_btn.next_btn svg {
  margin-left: var(--svg_shift);
  margin-right: calc(-1 * var(--svg_shift));
}
/* Schließen-Button */
.cabinet_close {
  position: fixed;
  top: var(--button_margin);
  right: var(--button_margin);
  font-size: 1.8rem;
}
/* Anpassungen für kleinere Bildschirme */
@media (max-width: 70rem) {
  .cabinet_content {
    --button_margin: 0.5rem;
  }
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
  Footer
███████████████████████████████████████████████████████████████████████████████████████████████
*/
body > footer {
  padding-block: calc(var(--pico-block-spacing-vertical) * 2);
  background-color: var(--ci_color);
  color: #fff;
  font-size: 0.9em;
}
body > footer * {
  color: inherit;
}
body > footer .grid {
  display: grid;
  align-content: space-between;
  justify-content: space-between;
  align-items: center;
  justify-items: center;
  grid-template-columns: auto auto auto;
  gap: 4rem;
}
body > footer .block .heading {
  display: block;
  font-weight: bold;
  margin-bottom: 0.6em;
}
body > footer .block a {
  color: inherit;
  text-decoration-color: #fff;
}
body > footer .block.logo {
  align-self: center;
}
body > footer .block.logo img {
  display: block;
  width: 400px;
  max-width: 100%;
  margin-inline: auto;
  filter: grayscale(1) brightness(5);
}
body > footer .block.contact .box + .box {
  margin-top: 1rem;
}
body > footer .block.contact .box.channels {
  line-height: 2em;
}
body > footer .iconized::before {
  font-family: var(--fontawesome);
  font-size: 1em;
  display: inline-block;
  width: 1.4rem;
  text-align: center;
  margin-right: 0.4em;
  text-decoration: none;
}
body > footer .iconized.telephone::before {
  content: "\f095";
}
body > footer .iconized.mobile::before {
  content: "\f3cd";
}
body > footer .iconized.fax::before {
  content: "\f1ac";
}
body > footer .iconized.email::before {
  content: "\f0e0";
}
body > footer ul {
  padding-left: 0;
  margin-bottom: 0;
}
body > footer ul li {
  list-style: none;
}
body > footer .social_media {
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
}
body > footer .social_media a {
  display: inline-block;
  text-decoration: none;
}
body > footer .social_media a:hover {
  animation: pulse 1s infinite;
}
body > footer .social_media a img {
  height: 1.5rem;
  width: auto;
}
@media (max-width: 70rem) {
  body > footer .grid {
    grid-template-columns: auto auto;
  }
  body > footer .block.logo {
    display: none;
  }
}
@media (max-width: 35rem) {
  body > footer .grid {
    grid-template-columns: 1fr;
  }
}
@keyframes pulse {
  0% {
    filter: drop-shadow(0 0 0 rgb(255 255 255 / 1));
  }
  70% {
    filter: drop-shadow(0 0 20px rgb(255 255 255 / 0));
  }
  100% {
    filter: drop-shadow(0 0 0 rgb(255 255 255 / 0));
  }
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
  Picture Source
███████████████████████████████████████████████████████████████████████████████████████████████
*/
.psc {
  position: relative;
}
.pic_source {
  font-family: Arial, Verdana, Helvetica, sans-serif !important;
  position: absolute;
  z-index: 1;
  right: 3px;
  bottom: 3px;
  display: inline-block;
  background-color: #777;
  color: #fff;
  vertical-align: top;
  line-height: 1em;
  padding: 1px 0 0 0;
  font-size: 13px;
  cursor: pointer;
  border-radius: 10px;
  font-weight: 300;
  margin-bottom: 0;
}
.pic_source.top {
  bottom: unset !important;
  top: 3px;
}
.pic_source * {
  color: inherit !important;
  vertical-align: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
  margin: 0 !important;
  font-size: inherit !important;
  text-transform: none !important;
}
.pic_source::before {
  content: "\00A9";
  display: block;
  float: left;
  overflow: hidden;
  width: 1em;
  height: 1em;
  text-align: center;
  font-weight: 100;
  font-size: 1.2em;
  line-height: 1.05em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
.pic_source input[type="checkbox"] {
  display: none;
}
.pic_source span {
  display: none;
  padding-top: 1px;
  padding-right: 0.5em;
  line-height: 1em;
}
.pic_source input[type="checkbox"]:checked ~ span {
  display: inline-block;
}
.pic_source input[type="checkbox"]:checked ~ span:first-of-type {
  padding-left: 0.1em;
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
    Back-to-Top-Button
███████████████████████████████████████████████████████████████████████████████████████████████
*/
#b2t_btn {
  background: #000;
  position: fixed;
  z-index: 2;
  bottom: 1.5%;
  right: 1.5%;
  height: 2em;
  width: 2em;
  border: none;
  border-radius: 99em;
  opacity: 0.6;
  transition: all 0.3s ease;
  box-shadow: 0px 0px 3.1px rgba(255, 255, 255, 0.062),
    0px 0px 7.4px rgba(255, 255, 255, 0.089),
    0px 0px 14px rgba(255, 255, 255, 0.11),
    0px 0px 25px rgba(255, 255, 255, 0.131),
    0px 0px 46.8px rgba(255, 255, 255, 0.158),
    0px 0px 112px rgba(255, 255, 255, 0.22);
}
#b2t_btn::before {
  content: "";
  display: inline-block;
  position: absolute;
  height: 0.76rem;
  width: 0.76rem;
  border: solid #fff;
  border-width: 0.2rem 0 0 0.2rem;
  transform: rotate(45deg);
  top: 40%;
  left: 50%;
  margin-left: -0.38rem;
  transition: all 0.1s ease;
}
#b2t_btn:hover {
  opacity: 1;
}
#b2t_btn:hover::before {
  margin-top: -0.15rem;
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
    Google Maps On Demand
███████████████████████████████████████████████████████████████████████████████████████████████
*/
.gmod {
  width: 100%;
  height: 400px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  margin-top: 4rem;
  margin-bottom: 1em;
  position: relative;
  overflow: hidden;
}
.gmod.map_ribbon {
  height: 300px;
  border: none;
  margin-bottom: 0;
  filter: grayscale(0.5);
}
.gmod.map_ribbon:hover {
  filter: grayscale(0);
}
.gmod > iframe {
  grid-column: inherit !important;
}
.gmod .bg_map {
  position: absolute;
  top: -1%;
  left: -1%;
  height: 102%;
  width: 102%;
  background-image: url("../bilder/gmod-bg.png");
  background-repeat: repeat;
  background-position: 0 0;
  filter: blur(0.05rem);
}
.gmod .opt_in_banner {
  background-color: rgba(120, 120, 120, 0.8);
  color: #fff;
  padding: 1em;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  font-size: 0.85em;
}
.gmod .opt_in_banner .desc {
  color: #fff;
  text-align: center;
  margin-bottom: 1em;
  line-height: 1.3em;
}
.gmod .opt_in_banner .desc a {
  color: inherit !important;
}
.gmod .opt_in_banner .show_map_btn {
  display: inline-block;
  padding: 0.6em 1.2em;
  margin-bottom: 0.9em;
  background-color: #2aa549;
  color: #fff;
  border: none;
  font-size: 1em;
  line-height: 1.2em;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.3);
}
.gmod .opt_in_banner .show_map_btn:hover {
  background-color: #208039;
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
    CWD im Footer
███████████████████████████████████████████████████████████████████████████████████████████████
*/
#cwd {
  padding: 0.5em 1em;
  color: #fff;
  background-color: #222;
  text-align: center;
  font-size: 0.75em;
  line-height: 1.4em;
}
#cwd * {
  color: inherit !important;
  line-height: inherit !important;
  opacity: 0.8;
}
#cwd a {
  text-decoration: none !important;
}
#cwd a:hover {
  text-decoration: underline !important;
  opacity: 1;
}
