body {
    padding-top: 70px;
}

.home-bg {
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Cursor nur nach Abschluss */
.home-bg::after {
  content: "";
}

.home-bg.cursor::after {
  content: "|";
  margin-left: 6px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* Navbar: Ausgangszustand */
.navbar {
  transition: padding 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Logo-Größe (falls du ein Wappen hast) */
.nav-logo {
  width: 100px;
  height: 40px;
  object-fit: contain;
  transition: width 200ms ease, height 200ms ease;
}

/* Zustand nach Scroll */
.navbar.nav--scrolled {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  box-shadow: 0 0.5rem 1.25rem rgba(0,0,0,0.25);
}

/* Logo mit schrumpfen */
.navbar.nav--scrolled .nav-logo {
  width: 80px;
  height: 32px;
}

.section-title {
    margin-top: 0;
    font-weight: 600;
    border-bottom: 4px double #24b662;
	border-radius: 25px;
    font-size: 30px;
    margin: 0 auto;
    padding: 10px 0;
    width: 350px;
	margin-bottom: 30px;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}


.home-bg {
    width: 100%;
    padding: 4rem 2rem;

}
.home-section {
    min-height: 100vh;
    display: flex;
    align-items: center;

    background: #000 url("./images/bg/bg.jpg") center center / cover no-repeat;
    position: relative;

}

.home-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.home-section > .container {
    position: relative;
    z-index: 1;
}

/* Thumbnails: lebendiger */
.gallery-img{
  cursor: pointer;
  border-radius: .75rem;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  will-change: transform;
}

.gallery-img:hover{
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  filter: saturate(1.05) contrast(1.02);
}

/* Modal Bild: weich rein */
#galleryModalImg{
  opacity: 0;
  transform: scale(.985);
  transition: opacity .15s ease, transform .15s ease;
}
#galleryModalImg.is-ready{
  opacity: 1;
  transform: scale(1);
}

/* Pfeile */
.gallery-nav{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.45);
    color: #fff;
    font-size: 40px;

    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
    z-index: 2;
}

.gallery-nav:hover{
  background: rgba(0,0,0,.65);
  transform: translateY(-50%) scale(1.03);
}

.gallery-prev{ left: 16px; }
.gallery-next{ right: 16px; }

/* Auf sehr kleinen Screens etwas kompakter */
@media (max-width: 576px){
  .gallery-nav{
    width: 44px;
    height: 44px;
    font-size: 32px;
  }
}

.board-card{
  background:#fff;
  border-radius: .5rem;
  overflow: hidden;
  box-shadow: 0 0 19px rgba(0,0,0,.16);
  height: 100%;
}

.board-cover{
  height: 105px;
  overflow: hidden;
}

.board-cover img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

.board-avatar{
  width: 120px;
  height: 120px;
  margin: -55px auto 0;
  border-radius: 50%;
  overflow: hidden;
  background:#fff;
  border: 4px solid #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
}

.board-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

.board-body{
  padding: 12px 20px 20px;
  text-align: center;
}

.board-name{
  margin: .25rem 0 0;
  font-weight: 600;
}

.board-role{
  opacity: .8;
  margin-bottom: .5rem;
}

.board-meta{
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: grid;
  gap: .5rem;
}

.board-meta i{
  width: 1.25rem;
  text-align: center;
  margin-right: .35rem;
  opacity: .85;
}

.board-mail{
  text-decoration: none;
}
.board-mail:hover{
  text-decoration: underline;
}
.board-link {
  color: inherit;
  text-decoration: none;
}
.board-link:hover {
  text-decoration: underline;
}

.board-text {
  display: inline-block;
  line-height: 1.25rem;
}

.board-duty {
  text-align: left;
}

.board-duty-title {
  font-weight: 600;
  margin-bottom: .25rem;
}

.board-duty-text {
  opacity: .9;
  line-height: 1.35rem;
}
