/*
███████████████████████████████████████████████████████████████████████████████████████████████
  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(3px, 0.1em);
  --focus_outline_style: dashed;
  --focus_outline_offset: 0.1rem;
  --focus_outline_color: rgb(10, 208, 10);
}
@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: 0.35em 0.7em;
  background-color: #111;
  color: #fff;
  border: 0.7em solid #fff;
  border-radius: 0.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.2), 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.94);
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
  Figure with Caption
███████████████████████████████████████████████████████████████████████████████████████████████
*/
figure {
  position: relative;
  inline-size: fit-content;
  margin-inline: auto;
}
figure figcaption {
  contain: inline-size;
  padding: 0.6ch;
  font-size: 0.87em;
  font-style: italic;
  line-height: 1.35em;
}
figure:has(figcaption) .pic_source {
  bottom: unset;
  top: 5px;
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
  Figure-Gallery
███████████████████████████████████████████████████████████████████████████████████████████████
*/
.gallery {
  --transition_duration: 300ms;
  --border-radius: 0.3rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1rem;
}
ul.gallery > li {
  padding: 0;
  margin: 0;
}
.gallery figure[role="button"] {
  cursor: zoom-in;
  transition: transform var(--transition_duration) ease;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(3px);
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.01), 0px 0px 5px rgba(0, 0, 0, 0.03),
    0px 0px 12px rgba(0, 0, 0, 0.04), 0px 0px 21px rgba(0, 0, 0, 0.06),
    0px 0px 33px rgba(0, 0, 0, 0.07);
}
.gallery figure[role="button"]:hover {
  transform: scale(1.04);
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.01), 0px 0px 10px rgba(0, 0, 0, 0.02),
    0px 0px 22px rgba(0, 0, 0, 0.04), 0px 0px 38px rgba(0, 0, 0, 0.05),
    0px 0px 60px rgba(0, 0, 0, 0.06);
}
.gallery figure[role="button"] img {
  display: block;
  width: 100%;
  height: auto;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  filter: none;
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
  Table
███████████████████████████████████████████████████████████████████████████████████████████████
*/
table {
  inline-size: fit-content;
  border-collapse: separate;
  border-spacing: 3px;
}
table caption {
  font-weight: bold;
  text-align: left;
  padding-bottom: 0.5ch;
}
table td {
  /* background-color: rgba(0, 0, 0, .04); */
  padding: 0.3em 0.6em;
  vertical-align: top;
}
table td:hover {
  background-color: rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(6px);
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
  Blockquote
███████████████████████████████████████████████████████████████████████████████████████████████
*/
figure:has(> blockquote) {
  margin-bottom: var(--text_block_spacer, 2rem);
  max-width: 100%;
}
blockquote {
  display: block;
  position: relative;
  width: 45ch;
  max-width: 99%;
  padding: 1em 1.3em 0.8em;
  margin-top: 0.3rem;
  margin-left: 1%;
  border-radius: 0.4rem;
  border: 1px solid var(--color_primary, rgba(0, 0, 0, 0.3));
  background-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(3px);
  color: #111;
  text-wrap: pretty;
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.02), 1px 1px 4px rgba(0, 0, 0, 0.04),
    1px 2px 10px rgba(0, 0, 0, 0.04), 3px 4px 17px rgba(0, 0, 0, 0.06),
    4px 6px 27px rgba(0, 0, 0, 0.08);
}
blockquote::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  top: -0.7rem;
  left: -0.6rem;
  width: 1.7rem;
  aspect-ratio: 1;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNOS45ODMgM3Y3LjM5MWMwIDUuNzA0LTMuNzMxIDkuNTctOC45ODMgMTAuNjA5bC0uOTk1LTIuMTUxYzIuNDMyLS45MTcgMy45OTUtMy42MzggMy45OTUtNS44NDloLTR2LTEwaDkuOTgzem0xNC4wMTcgMHY3LjM5MWMwIDUuNzA0LTMuNzQ4IDkuNTcxLTkgMTAuNjA5bC0uOTk2LTIuMTUxYzIuNDMzLS45MTcgMy45OTYtMy42MzggMy45OTYtNS44NDloLTMuOTgzdi0xMGg5Ljk4M3oiLz48L3N2Zz4=");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.4;
}
blockquote * {
  position: relative;
  z-index: 1;
  color: inherit;
  text-wrap: inherit;
}
blockquote p {
  font-family: var(--font_serif);
  margin-bottom: 0;
  line-height: 1.5em;
  font-style: italic;
}
blockquote + figcaption {
  text-align: right;
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
  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: 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, 0.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: 0.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;
  grid-column: 1 / -1 !important;
  display: flex;
  align-items: center;
  justify-content: left;
  flex-wrap: wrap;
  gap: 0.3em 0.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 * {
  font-family: inherit;
  color: inherit;
}
.pic_source::before {
  content: "\00A9"/ "Copyrightzeichen";
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1.21em;
  aspect-ratio: 1;
  font-size: 1.15em;
  line-height: 1.05em;
  padding: 1px 0 0 1px;
}
.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 {
  --focus_outline_size: 3px;
  --focus_outline_offset: 0;
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 9rem;
  outline: 0 var(--focus_outline_style, dashed)
    var(--focus_outline_color, fuchsia);
  outline-offset: var(--focus_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-width: var(--focus_outline_size, 4px);
}
.pic_source span {
  display: none;
  font-size: 0.9em;
  margin-top: 0.15em;
  line-height: 1.2em;
}
.pic_source input[type="checkbox"]:checked ~ span {
  display: inline-block;
  padding: 0 1.3ch 1px 0;
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
    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: 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: 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: 50dvh;
  margin-top: 0;
  margin-bottom: 1em;
  position: relative;
  overflow: hidden;
  border-radius: 0.3rem;
}
.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.webp");
  background-repeat: repeat;
  background-position: 0 0;
}
.gmod .opt_in_banner {
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 1.5rem 1em;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  font-size: 0.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: 0.9em 1.2em;
  margin-top: 0.6rem;
  margin-bottom: 0.2rem;
  background-color: #fff;
  color: #000 !important;
  border: none;
  font-size: 1em;
  line-height: 1.2em;
  cursor: pointer;
  border-radius: 0.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: 0.75em;
  line-height: 1.4em;
}
#cwd * {
  color: inherit;
  line-height: inherit;
}
#cwd a {
  text-decoration: none;
}
#cwd a:hover {
  text-decoration: underline;
}
