/*
██████████████████████████████████████████████████████████████████████████████████████
  FontAwesome
██████████████████████████████████████████████████████████████████████████████████████
*/
@import "vendor/fontawesome/fontawesome.min.css";
@import "vendor/fontawesome/brands.min.css";
@import "vendor/fontawesome/solid.min.css";
/*
██████████████████████████████████████████████████████████████████████████████████████
  Basics
██████████████████████████████████████████████████████████████████████████████████████
*/
:root {
  interpolate-size: allow-keywords;
}
/*
██████████████████████████████████████████████████████████████████████████████████████
  Resets
██████████████████████████████████████████████████████████████████████████████████████
*/
@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    background-repeat: no-repeat;
  }
  * {
    padding: 0;
    margin: 0;
  }
  html {
    block-size: 100%;
  }
  body {
    min-block-size: 100svh;
    display: grid;
    grid-template-rows: auto 1fr auto;
  }
  img,
  iframe,
  audio,
  video,
  canvas {
    display: block;
    max-inline-size: 100%;
    block-size: auto;
  }
  svg {
    max-inline-size: 100%;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    overflow-wrap: break-word;
  }
  p {
    text-wrap: pretty;
  }
  address {
    font-style: normal;
  }
}
mark {
  display: inline-block;
  padding-inline: 0.6ch;
  background-image: linear-gradient(
    45deg,
    #ffff17 25%,
    #fff824 25%,
    #fff824 50%,
    #ffff17 50%,
    #ffff17 75%,
    #fff824 75%,
    #fff824 100%
  );
  background-size: 36.77px 36.77px;
  background-repeat: repeat;
  color: #222 !important;
  border-radius: 3px;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
}
/*
██████████████████████████████████████████████████████████████████████████████████████
    Barrierefreiheit
██████████████████████████████████████████████████████████████████████████████████████
*/
:root {
  --focus_outline_size: max(3px, 0.1em);
  --focus_outline_style: solid;
  --focus_outline_offset: 0.1rem;
  --focus_outline_color: oklch(0.5 0.2 20);
}
@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: 1320px;
  --norm_max_width: 1100px;
  --narrow_max_width: 950px;
  --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);
}
/*
██████████████████████████████████████████████████████████████████████████████████████
  Link to telephone number
██████████████████████████████████████████████████████████████████████████████████████
*/
a[href^="tel:"] {
  letter-spacing: 0.06ch;
}
/*
██████████████████████████████████████████████████████████████████████████████████████
  Figure with Caption
██████████████████████████████████████████████████████████████████████████████████████
*/
figure {
  --border-radius: 0;
  position: relative;
  inline-size: fit-content;
  margin-inline: auto;
  border-radius: var(--border-radius);
  overflow: hidden;
}
figure[role="button"] {
  --transition_duration: 300ms;
  transition: transform var(--transition_duration) ease;
  cursor: zoom-in;
}
figure[role="button"]:hover {
  transform: scale(1.04);
  box-shadow:
    0px 0px 2px rgb(0 0 0 / 0.01),
    0px 0px 10px rgb(0 0 0 / 0.02),
    0px 0px 22px rgb(0 0 0 / 0.04),
    0px 0px 38px rgb(0 0 0 / 0.05),
    0px 0px 60px rgb(0 0 0 / 0.06);
}
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;
  --pic_min_width: 270px;
  --gap: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--pic_min_width), 1fr));
  gap: var(--gap);
}
ul.gallery {
  margin: 0;
  list-style: none;
}
.gallery > li {
  margin-bottom: 0;
}
.gallery > li::before {
  content: none;
  display: none;
}
.gallery figure[role="button"] {
  --border-radius: 3px;
  cursor: zoom-in;
  transition: transform var(--transition_duration) ease;
  margin-block: 0;
  padding: 0;
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: rgb(255 255 255 / 0.75);
  box-shadow:
    0px 0px 1px rgb(0 0 0 / 0.01),
    0px 0px 5px rgb(0 0 0 / 0.03),
    0px 0px 12px rgb(0 0 0 / 0.04),
    0px 0px 21px rgb(0 0 0 / 0.06),
    0px 0px 33px rgb(0 0 0 / 0.07);
}
.gallery figure[role="button"]:hover {
  transform: scale(1.04);
  box-shadow:
    0px 0px 2px rgb(0 0 0 / 0.01),
    0px 0px 10px rgb(0 0 0 / 0.02),
    0px 0px 22px rgb(0 0 0 / 0.04),
    0px 0px 38px rgb(0 0 0 / 0.05),
    0px 0px 60px rgb(0 0 0 / 0.06);
}
.gallery figure[role="button"] img {
  width: 100%;
  height: auto;
}
@media (max-width: 40rem) {
  .gallery {
    grid-template-columns: 1fr;
  }
}
/*
██████████████████████████████████████████████████████████████████████████████████████
  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 {
  padding: 0.3em 0.6em;
  vertical-align: top;
}
/*
██████████████████████████████████████████████████████████████████████████████████████
  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.2s ease;
}
/* Bildwechsel-Animation */
.cabinet_img.fade_out {
  opacity: 0;
}
.cabinet_img.fade_in {
  opacity: 1;
  transition-delay: 0.2s;
}
.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;
  }
}
/*
███████████████████████████████████████████████████████████████████████████████████████████████
  Copyright und KI-Kennzeichnung
███████████████████████████████████████████████████████████████████████████████████████████████
*/
.mcc {
  position: relative;
}
.media_credit {
  font-family: Arial, Verdana, Helvetica, sans-serif !important;
  position: absolute;
  z-index: 1;
  right: 3px;
  bottom: 3px;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.2rem;
  cursor: pointer;
}
section > .media_credit {
  grid-column: unset !important;
}
.media_credit label {
  position: relative;
  font-family: Arial, Verdana, Helvetica, sans-serif !important;
  font-size: 16px;
  font-weight: 300;
  grid-column: 1 / -1 !important;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.8ch 1.5ch;
  background-color: #333 !important;
  color: #fff !important;
  line-height: 1em;
  cursor: pointer;
  border-radius: 5rem;
  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);
}
.media_credit label * {
  font-family: inherit;
  color: inherit !important;
}
.media_credit label::before {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1.21rem;
  aspect-ratio: 1;
  font-size: 1.15em;
  line-height: 1.05rem;
  box-sizing: border-box;
}
.media_credit .copyright::before {
  content: "\00A9"/ "Copyrightzeichen";
  padding-top: 1px;
  padding-left: 1px;
}
.media_credit .ai::before {
  content: "KI";
  font-size: 0.8em;
}
.media_credit label:has(input[type="checkbox"]:checked)::before {
  justify-content: flex-start;
}
.media_credit label input[type="checkbox"] {
  position: absolute !important;
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  z-index: 1 !important;
  cursor: pointer;
}
.media_credit label:has(input[type="checkbox"]:checked) {
  padding: 0.2em 0.5em;
  border-radius: 0.4rem;
}
.media_credit label .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;
}
.media_credit label input[type="checkbox"]:focus-visible ~ .indicator {
  outline-width: var(--focus_outline_size, 4px);
}
.media_credit label span {
  display: none;
  position: unset !important;
  font-size: 0.9em;
  line-height: 1.2em !important;
}
.media_credit label input[type="checkbox"]:checked ~ span {
  display: inline-block;
}
.media_credit .ai:has(input[type="checkbox"]:checked)::before {
  display: none;
}
/*
██████████████████████████████████████████████████████████████████████████████████████
    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: 40dvh;
  border-radius: 0.3rem;
  background-color: #666;
  background-image: url("../img/gmod-bg.webp");
  background-repeat: repeat;
  background-position: 0 0;
}
.gmod > iframe {
  grid-column: inherit !important;
  height: inherit;
}
.gmod .opt_in_banner {
  background-color: rgb(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(2px);
}
.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;
  text-underline-offset: 0.25ch;
}
.gmod .opt_in_banner .show_map_btn {
  display: inline-block;
  padding: 0.75em 0.9em;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  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: 1px solid transparent;
  border-radius: 0.4rem;
}
.gmod .opt_in_banner :focus-visible {
  outline: 3px dashed #f0ff67;
  outline-offset: 4px;
}
.gmod .opt_in_banner .show_map_btn:focus-visible,
.gmod .opt_in_banner .show_map_btn:hover {
  background-color: black;
  border-color: #fff;
  color: #fff !important;
}
/*
██████████████████████████████████████████████████████████████████████████████████████
    Credits im Footer
██████████████████████████████████████████████████████████████████████████████████████
*/
#credits {
  padding: 1ch 2ch;
  color: #ddd;
  background-color: #222;
  text-align: center;
  font-size: 0.75em;
  line-height: 1.4em;
}
#credits * {
  color: inherit;
  line-height: inherit;
}
#credits a {
  text-decoration: none;
}
#credits a:hover {
  text-decoration: underline;
}
