body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  background: #fff;
  color: #222;
  font-size: 1.2rem;
}

a {
  color: #960000;
  text-decoration: underline;
  transition: color 0.2s;
}

a:hover,
a:focus {
  color: #7b2769;
  text-decoration: none;
}

.logo-container {
  background-color: white;
  padding: 1rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.logo-left,
.logo-right {
  font-size: 0.9rem;
  color: #444;
}

.logo-left {
  text-align: left;
  padding-right: 1rem;
  align-self: end;
}

.mobile-donate-link {
  display: none;
}

.logo-right {
  text-align: right;
  padding-left: 1rem;
  align-self: end;
}

.logo-center {
  justify-self: center;
}

.logo {
  max-height: 120px;
  height: auto;
}

@media (max-width: 600px) {
  .logo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 0.5rem;
    text-align: center;
    justify-items: center;
  }

  .logo-center {
    order: 1;
  }

  .logo-left {
    order: 2;
    font-size: 2rem;
    margin-top: 0.5rem;
    text-align: center;
    padding: 0;
    max-width: 100vw;
  }

  .logo-right {
    display: none;
  }

  .logo {
    max-height: 200px;
    width: auto;
  }

  .main-nav a {
    font-size: 2.2rem;
    padding: 0.7rem 1rem;
  }

  .logo {
    max-height: 200px;
    width: auto;
  }

  .logo-left {
    font-size: 1.5rem;
    line-height: 1.3;
    text-align: center;
    padding: 0;
    max-width: 100vw;
  }

  .logo-right {
    display: none;
  }

  .main-nav a {
    font-size: 2rem;
    padding: 0.5rem 0.7rem;
  }

  .logo {
    max-height: 160px;
    width: auto;
  }

  .ausbildung-grid {
    grid-template-columns: 1fr !important;
  }
}

.site-header {
  background: #fff;
  color: white;
  padding: 1rem;
  text-align: center;
}

.site-header .banner {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.site-header .slogan {
  font-style: italic;
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.slider {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  height: 450px;
  border-radius: 8px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 0;
  transition: opacity 1s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slider-dots {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.5);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.slider-dots button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: none;
  background: #666;
  opacity: 0.6;
  transition: all 0.3s ease;
  cursor: pointer;
}

.slider-dots button:hover,
.slider-dots button.active {
  background: #111;
  opacity: 1;
}

.main-nav {
  background: linear-gradient(to right, #7b2769, #e01523);
  padding: 0.5rem 1rem;
  border-bottom: 2px solid #ccc;
  font-family: "Barlow", sans-serif;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin: 0;
  gap: 1.5rem;
}

.main-nav a {
  text-decoration: none;
  color: #fff;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.main-nav a:hover {
  text-decoration: underline;
}

.donate-nav-link {
  white-space: nowrap;
}

main {
  padding: 2rem;
  max-width: 900px;
  margin: auto;
}

.site-footer {
  background: #f4f4f4;
  color: #222;
  padding: 2rem 1rem;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.site-footer {
  position: relative;
  background: #f4f4f4;
  color: #222;
  padding: 2rem 1rem;
  margin-top: 2rem;
  overflow: hidden;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  flex-wrap: nowrap;
  align-items: flex-start;
  z-index: 1;
  position: relative;
}

.footer-column {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-column p:first-of-type {
  margin-top: 0;
}

.footer-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: #960000;
  text-decoration: none;
  white-space: nowrap;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-note {
  font-style: italic;
}

.corner-icon {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 160px;
  width: auto;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.abteilungs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .abteilungs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .donate-nav-link {
    display: none;
  }

  .logo-left {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
  }

  .mobile-donate-link {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(to right, #7b2769, #e01523);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    line-height: 1;
    padding: 0.6rem 1.15rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  .mobile-donate-link:hover,
  .mobile-donate-link:focus {
    color: #fff;
    filter: brightness(1.05);
    transform: translateY(-1px);
  }
}

.abteilungs-img {
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.abteilungs-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08),
    0 1.5px 4px rgba(0, 0, 0, 0.04);
  padding: 2rem 1.5rem;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.person-img {
  width: 260px;
  height: 260px;
  margin-left: 3em;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: block;
}