@charset "UTF-8";

/* custom styles */

.debugBorder {
    border: none; /*1px solid red; */
}

/* Typography */

body {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    line-height: 150%;
    background-color: #ebebeb;
}

.navbar {
    background-color: #ffffff !important;
}

/* Optional für Überschriften: */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 700; /* für fette Überschriften */
}

.pageHeader {
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 32px;
    padding-bottom: 32px;
    width: 100%;
}
h3 {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
}

.lead {
    font-size: small;
    line-height: 200%;
}

footer {
    font-size: smaller;
}
.customImgDescription {
    padding-top: 10px;
    font-size: smaller;
}
.customEmphasize {
    text-transform: uppercase;
}
.customListBlock {
    text-align: left;
    line-height: 200%;
}
.customListBlock ul,
.customListBlock ol {
    text-align: left;
}

#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
#lightbox.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

#lightbox .close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    background: rgba(255, 255, 255, 1);
    border: none;
    font-size: 1.2rem; /* kleiner als vorher */
    padding: 2px 8px; /* weniger Abstand */
    border-radius: 0.4rem; /* kleinerer Button */
    cursor: pointer;
    z-index: 10000;
}

#lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5) !important; /* statt blau, ein halbtransparentes Schwarz */
    outline: none !important;
}

.lightbox-trigger:focus,
.lightbox-trigger:active {
    outline: none !important;
    box-shadow: none !important;
    background: none !important;
}
.lightbox-trigger {
    filter: grayscale(1);
    transition:
        transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.25s, filter 0.3s;
}
body.detail .lightbox-trigger {
    filter: none;
}
.lightbox-trigger:hover {
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.13),
        0 1.5px 10px rgba(0, 0, 0, 0.05);
    filter: none;
}

body.detail .lightbox-trigger:hover {
    transform: scale(1.03);
    }

body.overview .preview-container {
    filter: grayscale(1);
    transition: filter 0.3s;
}
body.overview .preview-container:hover {
    filter: none;
}
.circle-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(200, 200, 200, 0.4); /* halbtransparent grau */
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.09);
    cursor: pointer;
    transition: background 0.2s;
}
.circle-btn:hover {
    background: rgba(200, 200, 200, 0.65);
}

.preview-container {
  position: relative;
  display: flex;  /* oder inline-block, aber block ist meist besser */
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
    transition: transform 0.2s cubic-bezier(.4,0,.2,1);
}
.preview-container img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  box-sizing: border-box;
    transition: inherit;
    border-radius: 4px;
}
.preview-container:hover img {
    filter: none; /* Bei Hover: Farbe zeigen */
}
.preview-container a {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
}

/* Overlay */
.preview-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(30,30,60,0.55);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  box-sizing: border-box;
     transition: inherit;
    border-radius: 4px;
}
.preview-container:hover .preview-overlay {
    opacity: 1;
    transform: none;
}
body.detail .preview-container:hover {
  transform: scale(1.03);
}

.preview-text {
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    font-size: medium;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 1rem;
}

.first-row {
    padding-top: 32px;
}

.nav-link.active {
  color: #473ddb;         /* Eigene Farbe */
  font-weight: bold;
  border-bottom: 2px solid #473ddb;
  background: none;
}

