/*
███████████████████████████████████████████████████████████████████████████████████████████████
  FontAwesome
███████████████████████████████████████████████████████████████████████████████████████████████
*/
@import 'vendor/fontawesome/fontawesome.min.css';
@import 'vendor/fontawesome/brands.min.css';
@import 'vendor/fontawesome/solid.min.css';
/*
███████████████████████████████████████████████████████████████████████████████████████████████
    Barrierefreiheit
███████████████████████████████████████████████████████████████████████████████████████████████
*/
:root {
  --focus_outline_size: max(2px, .08em);
  --focus_outline_style: dashed;
  --focus_outline_offset: .1rem;
  --focus_outline_color: fuchsia;
}
@supports selector(:focus-visible) {
  *:focus {
    outline: none;
  }
}
*:focus-visible {
  outline:
    var(--focus_outline_size)
    var(--focus_outline_style)
    var(--focus_outline_color);
  outline-offset: var(--focus_outline_offset, var(--focus_outline_size));
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
    Grund-Layout mit grid
███████████████████████████████████████████████████████████████████████████████████████████████
*/
.content_grid {
  --padding_inline: 4vw;
  --wide_max_width: 1550px;
  --norm_max_width: 1100px;
  --narrow_max_width: 900px;
  --wide_size: calc( (var(--wide_max_width) - var(--norm_max_width)) / 2 );
  --norm_size: calc( (var(--norm_max_width) - var(--narrow_max_width)) / 2 );
  display: grid;
  grid-template-columns:
    [full_width-start]
      minmax(var(--padding_inline), 1fr)
        [wide-start]
          minmax(0, var(--wide_size))
            [norm-start]
              minmax(0, var(--norm_size))
                [narrow-start]
                  min( ((100% - var(--padding_inline) * 2) / 2 ), var(--narrow_max_width) / 2)
                    [middle]
                  min( ((100% - var(--padding_inline) * 2) / 2 ), var(--narrow_max_width) / 2)
                [narrow-end]
              minmax(0, var(--norm_size))
            [norm-end]
          minmax(0, var(--wide_size))
        [wide-end]
      minmax(var(--padding_inline), 1fr)
    [full_width-end];
}
.content_grid > :not(.full_width, .wide, .narrow),
.full_width > :not(.full_width, .wide, .narrow) {
  grid-column: norm;
}
.content_grid > .wide {
  grid-column: wide;
}
.content_grid > .norm {
  grid-column: norm;
}
.content_grid > .narrow {
  grid-column: narrow;
}
.content_grid > .full_width {
  grid-column: full_width;
  display: grid;
  grid-template-columns: inherit;
}
.content_grid > .full_width.force {
  display: block;
  grid-template-columns: unset;
}
.content_grid > .full_width > .wide {
  grid-column: wide;
}
.content_grid > .full_width > .narrow {
  grid-column: narrow;
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
    Skip-Header-Link
███████████████████████████████████████████████████████████████████████████████████████████████
*/
#skip_header {
  position: absolute;
  z-index: 5;
  top: -5rem;
  left: 2dvw;
  border: 0;
  padding: .35em .7em;
  background-color: #111;
  color: #fff;
  border: .7em solid #fff;
  border-radius: .5rem;
  font-weight: 400;
  outline-offset: 0;
  text-decoration: none;
  transition: top 350ms ease-out;
}
#skip_header * {
  color: inherit;
}
#skip_header:focus-visible {
  top: 1rem;
  box-shadow:
    0 0 2px rgba(0, 0, 0, 0.07),
    0 0 6px rgba(0, 0, 0, 0.13),
    0 0 14px rgba(0, 0, 0, 0.20),
    0 0 25px rgba(0, 0, 0, 0.27),
    0 0 40px rgba(0, 0, 0, 0.33),
    0 0 57px rgba(0, 0, 0, 0.940);
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
  Figure-Gallery
███████████████████████████████████████████████████████████████████████████████████████████████
*/
.gallery {
  --transition_duration: 350ms;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}
.gallery figure {
  position: relative;
  border-radius: .3rem;
}
.gallery figure::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 3rem 0 rgba(0,0,0,.5);
  opacity: 1;
  transition: opacity var(--transition_duration) ease-out;
}
.gallery figure:hover::after {
  opacity: 0;
}
.gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  filter: none;
  transition: filter var(--transition_duration) ease-out;
}
.gallery figure:has(> figcaption) img {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.gallery a:hover img,
.gallery figure:has([data-full]):hover img {
  filter: brightness(1.1) saturate(1.1);
}
.gallery figure figcaption {
  padding: 1em;
  color: #fff;
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
    Cabinet (Lightbox)
███████████████████████████████████████████████████████████████████████████████████████████████
*/
/* Cabinet-Overlay */
.cabinet {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(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) * .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, .25);
  border-radius: .4rem;
  transition: opacity .4s ease, transform .3s ease;
}
/* Bildwechsel-Animation */
.cabinet_img.fade_out {
  opacity: 0;
  transform: scale(.95);
}
.cabinet_img.fade_in {
  opacity: 1;
  transform: scale(1);
}
.cabinet_caption {
  color: #fff;
  padding: .2rem;
  margin-top: .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, .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:
    0 0 0px rgba(255, 255, 255, 0.05),
    0 0 1px rgba(255, 255, 255, 0.11),
    0 0 3px rgba(255, 255, 255, 0.16),
    0 0 4px rgba(255, 255, 255, 0.22),
    0 0 7px rgba(255, 255, 255, 0.27);
}
.cabinet_nav .cabinet_btn {
  --svg_shift: 1px;
}
.cabinet_btn:hover {
  background: rgba(255, 255, 255, .3);
  transform: scale(1.2);
  box-shadow: none;
}
.cabinet_btn:focus-visible {
  outline: 3px dashed #fff;
  outline-offset: 6px;
}
.cabinet_btn svg {
  fill: #fff;
}
.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: .5rem;
  }
}

/*
███████████████████████████████████████████████████████████████████████████████████████████████
  Picture Source
███████████████████████████████████████████████████████████████████████████████████████████████
*/
.psc {
  position: relative;
}
.pic_source {
  font-family: Arial, Verdana, Helvetica, sans-serif !important;
  font-size: 16px;
  font-weight: 300;
  position: absolute;
  z-index: 1;
  right: 5px;
  bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: left;
  flex-wrap: wrap;
  gap: .3em .5em;
  background-color: #333;
  color: #fff;
  line-height: 1em;
  cursor: pointer;
  border-radius: 1em;
  box-shadow:
    0 0 1px rgba(255, 255, 255, 0.05),
    0 0 2px rgba(255, 255, 255, 0.09),
    0 0 5px rgba(255, 255, 255, 0.14),
    0 0 8px rgba(255, 255, 255, 0.18),
    0 0 13px rgba(255, 255, 255, 0.23);
}
.pic_source.top {
  bottom: unset !important;
  top: 3px;
}
.pic_source * {
  color: inherit;
}
.pic_source::before {
  content: '\00A9';
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1.3em;
  height: 1.3em;
  font-size: 1.15em;
  line-height: 1.05em;
}
.pic_source input[type=checkbox] {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  z-index: 1;
  cursor: pointer;
}
.pic_source .indicator {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 9rem;
  outline: 4px dashed transparent;
  outline-offset: 1px;
  pointer-events: none;
}
.pic_source input[type=checkbox]:not(:checked) ~ .indicator {
  animation: indicator_rotation 6s infinite linear;
}
@keyframes indicator_rotation {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.pic_source input[type=checkbox]:focus-visible ~ .indicator {
  outline-color: magenta;
}
.pic_source span {
  display: none;
  padding: 0 .5em 2px 2px;
  line-height: 1em;
}
.pic_source input[type=checkbox]:checked ~ span {
  display: inline-block;
  padding: .25em .35em;
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
    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: .6;
  transition: all .3s ease;
  box-shadow:
    0 0 3.1px rgba(255, 255, 255, 0.062),
    0 0 7.4px rgba(255, 255, 255, 0.089),
    0 0 14px rgba(255, 255, 255, 0.11),
    0 0 25px rgba(255, 255, 255, 0.131),
    0 0 46.8px rgba(255, 255, 255, 0.158),
    0 0 112px rgba(255, 255, 255, 0.22)
  ;
}
#b2t_btn::before {
  content: '';
  display: inline-block;
  position: absolute;
  height: .76rem;
  width: .76rem;
  border: solid #FFF;
  border-width: .2rem 0 0 .2rem;
  transform: rotate(45deg);
  top: 40%;
  left: 50%;
  margin-left: -.38rem;
  transition: all .1s ease;
}
#b2t_btn:hover {
  opacity: 1;
}
#b2t_btn:hover::before {
  margin-top: -.15rem;
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
    Google Maps On Demand
███████████████████████████████████████████████████████████████████████████████████████████████
*/
.gmod {
  width: 100%;
  height: 50dvh;
  margin-top: 0;
  margin-bottom: 1em;
  position: relative;
  overflow: hidden;
  border-radius: .2rem;
}
.gmod > iframe {
  grid-column: inherit !important;
}
.gmod .bg_map {
  position: absolute;
  top: -1%;
  left: -1%;
  height: 102%;
  width: 102%;
  background-color: #666;
  background-image: url('../img/gmod-bg.png');
  background-repeat: repeat;
  background-position: 0 0;
}
.gmod .opt_in_banner {
  background-color: rgba(0,0,0,.8);
  color: #fff;
  padding: 1.5rem 1em;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  font-size: .9em;
  backdrop-filter: blur(1px);
}
.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: .9em 1.2em;
  margin-top: .6rem;
  margin-bottom: .2rem;
  background-color: #fff;
  color: #000 !important;
  border: none;
  font-size: 1em;
  line-height: 1.2em;
  cursor: pointer;
  border-radius: .4rem;
}
.gmod .opt_in_banner :focus-visible {
  outline: 3px dashed #f0ff67;
  outline-offset: 4px;
}
.gmod .opt_in_banner .show_map_btn:hover {
  background-color: #e8ffee;
  border-radius: 9rem;
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
    CWD im Footer
███████████████████████████████████████████████████████████████████████████████████████████████
*/
#cwd {
  padding: 1ch 2ch;
  color: #ddd;
  background-color: #222;
  text-align: center;
  font-size: .75em;
  line-height: 1.4em;
}
#cwd * {
  color: inherit;
  line-height: inherit;
}
#cwd a {
  text-decoration: none;
}
#cwd a:hover {
  text-decoration: underline;
}