/* ==========================================================================
   Kunst- und Bauschlosserei Tabbert
   1:1-Nachbau der Originalseite – eine zentrale Stylesheet-Datei
   Aufbau: Basis · Layout · Header · Hero · Inhalt · Kontakt · Galerie ·
           Footer/Suche · Utilities · Responsive · Print
   ========================================================================== */

/* --------------------------------------------------------------------------
   Schriften (nur lokal, keine externen Requests)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'FontAwesome';
  src: url('../fonts/fontawesome-webfont.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

/* --------------------------------------------------------------------------
   Reset / Basis
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

html,
body { min-height: 100%; }

body {
  margin: 0;
  min-width: 980px;
  background: #fff;
  color: #4c555d;
  font: normal 0.85em/1.5 'Helvetica', Arial, sans-serif;
  font-weight: 300;
  text-align: left;
  cursor: default;
}

p { margin: 0 0 10px; }

ul,
ol {
  margin: 10px 0;
  padding: 0 0 0 20px;
}

img,
video {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
  -ms-interpolation-mode: bicubic;
}

a {
  color: #808000;
  font-weight: 300;
  text-decoration: none;
  transition: color 0.4s linear 0.1s;
}

a:hover,
a:focus {
  color: #6b8e23;
  text-decoration: underline;
  transition: color 0.2s linear 0s;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font-weight: normal;
  line-height: 1;
  font-family: Georgia, serif;
  text-rendering: optimizelegibility;
}

h1,
.componentheading {
  display: block;
  margin: 0 0 26px;
  padding: 0 0 14px 10px;
  border-bottom: 5px solid #000;
  color: #000;
  font-size: 260%;
  font-weight: 900;
}

.uppercase-menu-title h1 { text-transform: uppercase; }

h2 {
  padding: 26px 0 16px;
  color: #808000;
  font-size: 150%;
}

h3 {
  padding: 20px 0 14px;
  font-size: 115%;
  font-weight: bold;
}

h4 { padding: 20px 0 14px; font-size: 110%; }
h5, h6 { padding: 20px 0 14px; font-size: 100%; }

strong, b { font-weight: bold; }

address { font-style: normal; }

table { border-collapse: collapse; }

button,
input,
select,
textarea { font-family: inherit; font-size: 100%; }

button { cursor: pointer; }

img::selection { background: transparent; }

[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   Layout / Grundgerüst
   -------------------------------------------------------------------------- */
.site {
  position: relative;
  min-height: 100vh;
}

.wrapper-website {
  position: relative;
  z-index: 10;
  width: 1080px;
  max-width: 94vw;
  margin: 0 auto;
}

.horizontal-band {
  position: relative;
  z-index: 1;
  height: 180px;
  background: #474440;
}

.no-image .horizontal-band { margin-top: 20px; }

.horizontal-band + .wrapper-website {
  margin-top: -100px;
  background: #fff;
  border-top: 6px solid #000;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.website-content { position: relative; }

.main-columns { display: flow-root; }

.main_content {
  position: relative;
  z-index: 2;
  float: left;
  width: 100%;
  box-shadow: 20px -11px 20px 0 rgba(0, 0, 0, 0.1),
              -20px -11px 20px 0 rgba(0, 0, 0, 0.1);
}

.main_component {
  position: relative;
  z-index: 1;
  display: flow-root;
  padding: 40px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header-website {
  position: relative;
  z-index: 30;
  height: 100px;
  background: #f2f2f2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.logo-module {
  position: relative;
  z-index: 10;
  display: inline-block;
  width: 180px;
  height: 100%;
  padding: 2px 0 20px;
  vertical-align: top;
}

.logo-module a {
  display: block;
  outline: none;
  text-decoration: none;
}

.logo-module img {
  display: block;
  width: 100%;
  height: auto;
  transition: all 0.2s linear;
}

/* Hauptnavigation --------------------------------------------------------- */
.drop-down {
  position: absolute;
  z-index: 20;
  bottom: 22px;
  left: 20px;
  margin-left: 180px;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 110%;
}

.drop-down ul,
.drop-down li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.drop-down li {
  position: relative;
  display: inline-block;
  vertical-align: top;
  z-index: 1;
  margin: 0;
  padding: 0;
}

.drop-down li a {
  display: block;
  margin: 0 1px 0 0;
  padding: 0 22px;
  color: #000;
  font-weight: normal;
  line-height: 30px;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s linear;
  word-wrap: break-word;
}

.drop-down li.active > a,
.drop-down li.current > a,
.drop-down li a:hover { color: #8f8e8d; }

.drop-down li a:hover { text-decoration: none; }

.title_menu,
.menu-close { display: none; }

/* --------------------------------------------------------------------------
   Hero-Slider
   -------------------------------------------------------------------------- */
.image-position {
  position: relative;
  z-index: 10;
}

.image-position > .hero-inner {
  width: 90%;
  max-width: 100%;
  margin: 20px auto -40px;
  text-align: center;
}

.hero-slider {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: #000;
  outline: none;
}

.hero-viewport {
  height: 100%;
  overflow: hidden;
}

.hero-slider .slides {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 2s linear;
  will-change: transform;
}

.hero-slider .slide {
  flex: 0 0 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

.hero-slider .slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  -webkit-user-select: none;
  user-select: none;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 30px;
  height: 30px;
  margin: -20px 0 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: url('../img/ui/pfeil-navigation.png') no-repeat;
  opacity: 0.65;
  text-indent: 9999px;
  cursor: pointer;
  transition: opacity 0.4s ease-in-out;
}

.hero-prev {
  left: 5px;
  background-position: 1px 0;
}

.hero-next {
  right: 5px;
  background-position: 100% 0;
}

.hero-slider:hover .hero-arrow { opacity: 0.8; }
.hero-slider:hover .hero-arrow:hover { opacity: 1; }

.hero-pause {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 11;
  width: 36px;
  height: 30px;
  border: 0;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 15px;
  line-height: 30px;
  opacity: 0;
  pointer-events: none;
}

.hero-pause:focus-visible {
  opacity: 1;
  pointer-events: auto;
}

.hero-slider:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

/* --------------------------------------------------------------------------
   Inhalt / Typografie
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }

.h1-long { /* wird nur mobil begrenzt, siehe Media Queries */ }

.line,
.intro-line,
.service-line,
.gap,
.gap-div { margin: 0; }

.plain-link,
.plain-link:hover,
.plain-link:focus {
  color: inherit;
  text-decoration: none;
}

.gap { margin: 0 0 10px; }
.gap-div { margin: 0; }

.intro-line {
  color: #4a4545;
  font-size: 14pt;
  line-height: 1.5;
}

.intro-line strong { font-weight: bold; }

.service-line {
  color: #666699;
  font-size: 12pt;
  font-weight: 700;
  line-height: 1.5;
}

.home-highlight {
  margin: 0 0 10px;
  padding: 0;
  color: #666699;
  font-family: 'Helvetica', Arial, sans-serif;
  font-size: 18pt;
  font-weight: 700;
  line-height: 1.5;
}

.highlight {
  color: #666699;
  font-size: 12pt;
}

.fs-12 { font-size: 12pt; }

.services-heading {
  margin: 0 0 10px;
  padding: 0;
  color: #666699;
  font-family: 'Helvetica', Arial, sans-serif;
  font-size: 14pt;
  font-weight: 700;
  line-height: 1.5;
}

/* Bilder im Inhalt ------------------------------------------------------- */
.js-border .main_component img {
  margin: 12px 1px 12px 0;
  padding: 3px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.26);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.js-border .main_component img.no-style,
.js-border .main_component .thumbnail img,
.js-border .main_component .contact-photo img,
.js-border .main_component .gm-style img {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.history-caption { font-size: 8pt; }

/* 404 -------------------------------------------------------------------- */
.button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 3px;
  background: #808000;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.button:hover,
.button:focus {
  background: #6b8e23;
  color: #fff;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact .page-header { margin-bottom: 22px; }

.page-header {
  padding: 0;
  border: 0;
}

.page-header h2 {
  margin: 0;
  padding: 8px 15px;
  border-left: 4px solid #808000;
  background: rgba(0, 0, 0, 0.06);
  color: #808000;
  font-size: 150%;
  letter-spacing: 0.5px;
  line-height: 1;
  text-transform: uppercase;
}

.thumbnail {
  display: block;
  margin-bottom: 20px;
  padding: 4px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  line-height: 1.42857143;
  transition: border 0.2s ease-in-out;
}

.pull-right { float: right !important; }

.contact-photo { margin: 0 0 20px; }

.contact-address {
  margin: 0 0 20px 70px;
}

.contact-address .contact-street,
.contact-address .contact-state,
.contact-address .contact-country {
  display: block;
  line-height: 1.42857143;
}

.contact-address .contact-street { margin-left: -3px; }

.contact-address .contact-emailto,
.contact-address .contact-telephone,
.contact-address .contact-fax,
.contact-address .contact-mobile,
.contact-address .contact-webpage {
  display: block;
  margin-top: 20px;
}

.contact-address .contact-emailto::before,
.contact-address .contact-telephone::before,
.contact-address .contact-fax::before,
.contact-address .contact-mobile::before,
.contact-address .contact-webpage::before {
  display: inline-block;
  width: 24px;
  margin-left: -31px;
  vertical-align: middle;
  font-family: 'FontAwesome';
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.contact-address .contact-emailto::before { content: '\f0a4'; }
.contact-address .contact-telephone::before { content: '\f095'; }
.contact-address .contact-fax::before { content: '\f02f'; }
.contact-address .contact-mobile::before { content: '\f10b'; }
.contact-address .contact-webpage::before { content: '\f08e'; }

.contact-address a { color: #808000; }
.contact-address a:hover { color: #6b8e23; }

/* --------------------------------------------------------------------------
   Galerie
   -------------------------------------------------------------------------- */
.gallery-section {
  margin-top: 30px;
  padding: 18px 36px;
}

.gallery-title {
  display: block;
  margin: 5px 0 10px;
  padding: 0 0 12px 6px;
  border-bottom: 3px solid #000;
  color: #808000;
  font-family: Georgia, serif;
  font-size: 130%;
  font-weight: normal;
  line-height: 1.076;
  text-transform: uppercase;
}

.gallery-spacer { height: 80px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 200px);
  justify-content: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-grid > li {
  margin: 0;
  padding: 0;
}

.gallery-grid a {
  position: relative;
  display: block;
  overflow: hidden;
  outline-offset: 3px;
  background: #000;
  line-height: 0;
}

.gallery-grid a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gallery-grid img {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
  border: 0;
  cursor: zoom-in;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-grid > li {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-grid > li:hover {
    z-index: 3;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
  }

  .gallery-grid > li:hover img {
    transform: scale(1.035);
    filter: brightness(1.05);
  }

  .gallery-grid > li:hover a::after { opacity: 1; }
}

.gallery-grid a:focus-visible img {
  transform: scale(1.035);
  filter: brightness(1.05);
}

.gallery-grid a:focus-visible::after { opacity: 1; }

.gallery-grid.is-masonry {
  display: block;
  position: relative;
  margin: 0 auto;
}

.gallery-grid.is-masonry > li {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
}

.gallery-grid.is-masonry img { width: 200px; }

/* Lightbox --------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: rgba(11, 11, 11, 0.8);
}

.lightbox.is-open { display: flex; }

.lightbox.is-open .lightbox__figure {
  animation: lightbox-zoom 0.3s ease;
}

@keyframes lightbox-zoom {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox__figure {
  position: relative;
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  line-height: 0;
}

.lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 120px);
  max-height: calc(100vh - 80px);
  margin: 0 auto;
  background: #444;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.lightbox__img.is-loading { opacity: 0.35; }

.lightbox__close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 28px;
  line-height: 44px;
  text-align: center;
  opacity: 0.65;
}

.lightbox__close:hover,
.lightbox__close:focus { opacity: 1; }

.lightbox__counter {
  position: absolute;
  top: 8px;
  right: 56px;
  z-index: 2;
  color: #ccc;
  font-size: 12px;
  line-height: 18px;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 90px;
  height: 110px;
  margin-top: -55px;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 0.65;
}

.lightbox__nav::before,
.lightbox__nav::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border: medium inset transparent;
}

.lightbox__nav::after {
  margin-top: -13px;
  border-top-width: 13px;
  border-bottom-width: 13px;
}

.lightbox__nav::before {
  margin-top: -21px;
  border-top-width: 21px;
  border-bottom-width: 21px;
}

.lightbox__prev { left: 0; }
.lightbox__next { right: 0; }

.lightbox__prev::after {
  left: 31px;
  border-right: 17px solid #fff;
}

.lightbox__prev::before {
  left: 25px;
  border-right: 27px solid #3f3f3f;
}

.lightbox__next::after {
  right: 31px;
  border-left: 17px solid #fff;
}

.lightbox__next::before {
  right: 25px;
  border-left: 27px solid #3f3f3f;
}

.lightbox__nav:hover,
.lightbox__nav:focus { opacity: 1; }

body.lightbox-open { overflow: hidden; }

@media screen and (max-width: 900px) {
  .lightbox__img {
    max-width: calc(100vw - 16px);
  }

  .lightbox__nav {
    transform: scale(0.75);
  }

  .lightbox__prev { transform-origin: left center; }
  .lightbox__next { transform-origin: right center; }
}

/* --------------------------------------------------------------------------
   Footer / Suche / Back-to-top
   -------------------------------------------------------------------------- */
.website-footer {
  padding: 12px 40px 26px;
  border-top: 1px solid #ddd;
  background: #f2f2f2;
  color: #222;
  font-size: 90%;
}

.website-footer .moduletable { margin: 0; }

.footer-search-menu {
  float: right;
}

.footer-search-menu.without_address {
  display: block;
  float: none;
  text-align: center;
}

.module-search {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 40;
}

.module-search form {
  position: relative;
  background: #fff;
  border-radius: 0 30px 0 0;
}

.search-icon {
  position: absolute;
  top: 10px;
  right: 13px;
  z-index: 1;
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.search-icon::before {
  content: '\f002';
  display: block;
  color: #444;
  font-family: 'FontAwesome';
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
}

.module-search input[type='search'] {
  position: relative;
  z-index: 10;
  box-sizing: content-box;
  width: 15px;
  height: 22px;
  margin: 0;
  padding: 9px 10px;
  border: 0;
  border-radius: 0 30px 0 0;
  outline: none;
  background: transparent;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  color: transparent;
  font-family: inherit;
  font-size: 100%;
  line-height: 1;
  cursor: pointer;
  transition: all 0.5s;
  -webkit-appearance: textfield;
}

.module-search input[type='search']::-webkit-search-decoration,
.module-search input[type='search']::-webkit-search-cancel-button {
  display: none;
  -webkit-appearance: none;
}

.module-search input[type='search']:focus {
  width: 150px;
  padding-right: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.3);
  border-right: 1px solid rgba(0, 0, 0, 0.3);
  box-shadow: 3px -3px 8px 0 rgba(0, 0, 0, 0.1) inset,
              0 0 12px rgba(0, 0, 0, 0.1);
  color: #000;
  cursor: auto;
}

.module-search input::placeholder { color: transparent; }

.search-results {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  z-index: 50;
  width: 340px;
  max-width: calc(100vw - 16px);
  max-height: 60vh;
  overflow: auto;
  padding: 12px 14px;
  border: 1px solid #ddd;
  background: #fff;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.25);
  font-size: 95%;
  text-align: left;
}

.search-results p { margin: 0 0 8px; }

.search-results ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-results li + li {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #eee;
}

.search-results a { display: block; font-weight: bold; }

.search-results small {
  display: block;
  color: #4c555d;
  font-weight: 300;
  line-height: 1.35;
}

.to-top {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 8px;
  z-index: 999;
  text-align: center;
  line-height: 1;
  cursor: pointer;
}

.to-top.is-visible { display: block; }

.icon-up::before {
  content: '\f0aa';
  display: inline-block;
  color: #fff;
  font-family: 'FontAwesome';
  font-size: 28px;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  opacity: 0.7;
  transition: all 0.3s ease-in-out;
}

.to-top:hover .icon-up::before { opacity: 0.9; }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 0;
  z-index: 100001;
  padding: 10px 16px;
  background: #000;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
  color: #fff;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid #808000;
  outline-offset: 2px;
}

.hero-slider :focus-visible,
.lightbox :focus-visible {
  outline-color: #fff;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

/* Desktop: fixierter Header */
@media screen and (min-width: 980px) {
  .header-website {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
  }

  body { padding-top: 100px; }
}

@media screen and (min-width: 980px) and (max-width: 1119px) {
  .image-position > .hero-inner { width: 90%; }
}

/* Tablet / Mobil: Header im Fluss, Menü einklappbar */
@media screen and (max-width: 979px) {
  body {
    min-width: 0;
    margin: 0;
    padding: 0;
  }

  .header-website { height: auto; }

  .logo-module {
    display: block;
    width: auto;
    height: auto;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 5px 5px 7px 0 rgba(0, 0, 0, 0.2);
  }

  .logo-module img { width: 100%; }

  .drop-down {
    position: relative;
    bottom: auto;
    left: auto;
    float: none;
    width: auto !important;
    height: auto;
    margin: 0;
    padding: 0;
    z-index: 30;
    font-size: 115%;
  }

  .drop-down .module { display: none; }

  .drop-down.is-open .module,
  .drop-down:target .module { display: block; }

  .drop-down .module { padding: 30px 2% 0; }

  .title_menu {
    display: block;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0 20px;
    border: 0;
    background: transparent;
    color: #4c555d;
    font-family: inherit;
    font-size: 120%;
    font-weight: normal;
    line-height: 60px;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
  }

  .icon-main-menu::before {
    content: '\f0c9';
    display: inline-block;
    margin-right: 4px;
    font-family: 'FontAwesome';
    font-size: 15px;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
  }

  .drop-down.is-open .title_menu { display: none; }

  .drop-down.is-open .title_menu.is-fixed { display: none; }

  .menu-close {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 40;
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #4c555d;
    font-size: 26px;
    line-height: 1;
  }

  .menu-close::before {
    content: '\f00d';
    font-family: 'FontAwesome';
    font-style: normal;
    font-weight: normal;
  }

  .drop-down.is-open .menu-close { display: block; }

  .drop-down .menu > li {
    position: relative;
    display: block;
    float: none;
    width: auto;
    height: auto;
    margin: 10px 0 0;
    padding: 10px 15px 0;
    border-top: 2px solid rgba(0, 0, 0, 0.12);
    line-height: inherit;
  }

  .drop-down .menu > li:first-child {
    margin-top: 0;
    border-top: 0;
  }

  .drop-down .menu > li > a {
    display: block;
    padding: 0;
    margin: 0;
    border: 0;
    font-weight: bold;
    line-height: 60px;
    text-align: center;
    text-decoration: underline;
    text-transform: uppercase;
    text-shadow: none;
    transition: none;
  }

  .drop-down .menu > li.current > a,
  .drop-down .menu > li.active > a {
    color: #8f8e8d;
    text-decoration: none;
  }

  .drop-down .menu > li > a:hover { text-decoration: none; }

  .drop-down.with-space { margin-bottom: 40px; }

  .title_menu.is-fixed {
    position: fixed;
    top: 6px;
    right: 0;
    width: auto;
    padding-right: 10px;
    background: #f2f2f2;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  }

  .website-content { min-height: 75vh; }

  .main_component { margin-bottom: 30px; }

  .image-position > .hero-inner { margin-bottom: -40px; }

  .hero-slider {
    height: auto;
    aspect-ratio: 2133 / 1333;
  }

  .hero-viewport,
  .hero-slider .slides,
  .hero-slider .slide { height: 100%; }

  .website-footer {
    position: relative;
    bottom: auto;
    height: auto;
    padding: 16px 30px 30px;
  }

  .footer-search-menu {
    float: none;
    text-align: center;
  }

  .gallery-spacer { margin-bottom: 30px; }
}

/* Telefon / kleines Tablet */
@media screen and (max-width: 767px) {
  .main_content {
    float: none;
    width: auto;
    margin-left: 0;
    padding: 0 20px 20px;
  }

  .main_component { padding: 40px; }

  .h1-long {
    font-size: clamp(20px, 5.6vw, 35.375px);
    overflow-wrap: break-word;
  }

  .contact-address { margin-left: 30px; }
}

@media screen and (max-width: 500px) {
  .hero-arrow,
  .hero-pause { display: none; }

  .contact-photo {
    float: none !important;
    max-width: 100%;
    margin: 0 auto 24px;
  }

  .contact-photo img {
    width: 100%;
    height: auto;
  }

  .contact-address { margin-left: 0; }

  .gallery-section { padding: 18px 36px; }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-slider .slides { transition: none !important; }
  .lightbox.is-open .lightbox__figure { animation: none !important; }

  .gallery-grid > li,
  .gallery-grid img,
  .gallery-grid a::after { transition: none !important; }

  .gallery-grid > li:hover,
  .gallery-grid a:hover img,
  .gallery-grid a:focus-visible img {
    transform: none !important;
    filter: none !important;
  }
}

@media print {
  body {
    min-width: 0;
    padding: 0;
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .header-website,
  .image-position,
  .horizontal-band,
  .website-footer,
  .module-search,
  .search-results,
  .to-top,
  .skip-link,
  .menu-close { display: none !important; }

  .wrapper-website {
    width: auto;
    max-width: none;
    margin: 0;
    border: 0;
    box-shadow: none;
  }

  .main_content {
    float: none;
    width: auto;
    padding: 0;
    box-shadow: none;
  }

  .main_component {
    padding: 1em 0;
    margin: 0;
  }

  a:link,
  a:visited {
    color: #520;
    background: transparent;
    font-weight: bold;
    text-decoration: underline;
  }

  .site a[href]::after {
    content: ' (' attr(href) ') ';
    font-size: 85%;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-grid img { width: 100%; }
}
