/* ==== Grundstil ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  background: url('images/wallpaper.jpg') center center / cover no-repeat fixed;
}

/* Farbvariablen */
:root {
  --primary: #d2b48c;
  --accent: #8b0000;
  --light: #f8f8f8;
  --dark: #333;
}

/* ==== Header ==== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}
.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}
.logo-container:hover {
  text-decoration: none;
  color: inherit;
}
.logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  transition: 0.3s;
}
.logo:hover {
  transform: scale(1.05);
}
.logo-text {
  font-weight: 600;
  color: var(--accent);
  font-size: 1.3rem;
}
nav a {
  margin-left: 2rem;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: 0.3s;
}
nav a:hover {
  color: var(--accent);
}
.mobile-menu {
  display: none;
  font-size: 1.8rem;
  color: var(--accent);
  cursor: pointer;
}

/* ==== Hero ==== */
.hero {
  position: relative;
  max-width: 1400px;
  margin: 0 auto 3rem auto;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(210,180,140,0.8), rgba(139,0,0,0.6)),
    url('https://images.unsplash.com/photo-1514888286974-6c03e2ca1dba?w=1920') center top / cover no-repeat;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}
.hero p {
  font-size: 1.3rem;
  margin: 1rem 0 2rem;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  box-shadow: 0 4px 20px rgba(139, 0, 0, 0.3);
}
.btn:hover {
  background: #a00000;
  transform: translateY(-3px);
}

/* ==== Sektionen ==== */
section {
  padding: 5rem 5%;
  max-width: 1400px;
  margin: auto;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}
.section-title {
  text-align: center;
  color: var(--accent);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 3rem;
}

/* ==== About ==== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-text p {
  margin-bottom: 1rem;
  color: #555;
}
.about-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}
.about-image img {
  width: 100%;
  transition: transform 0.5s;
}
.about-image:hover img {
  transform: scale(1.05);
}

/* ==== Mission ==== */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.mission-card {
  background: #f7f7f7;
  border-radius: 20px;
  text-align: center;
  padding: 2.5rem;
  transition: 0.3s;
  border: 2px solid transparent;
}
.mission-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(210, 180, 140, 0.2);
  transform: translateY(-8px);
}
.mission-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ==== News Sektion ==== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.news-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(210, 180, 140, 0.35);
}

.news-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.news-content h3 {
  color: var(--accent);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.news-meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.news-meta i {
  color: var(--primary);
  margin-right: 0.3rem;
}

.news-content p {
  color: #555;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.news-content .btn {
  align-self: flex-start;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  transition: background 0.3s, transform 0.2s;
}

.news-content .btn:hover {
  background: #a00000;
  transform: translateY(-3px);
}

/* ==== Galerie ==== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-grid a {
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  display: block;
}
.gallery-grid img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* ==== Help ==== */
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.help-card {
  background: linear-gradient(135deg, rgba(210,180,140,0.95), rgba(139,0,0,0.85));
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  color: #fff;
  transition: all 0.3s ease;
  backdrop-filter: blur(3px);
}
.help-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(139, 0, 0, 0.25);
}
.help-card i {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 1rem;
}
.help-card h3 {
  color: #fff;
  margin-bottom: 1rem;
}
.help-card p {
  color: #fdfdfd;
  margin-bottom: 2rem;
}
.help-card .btn {
  background: #fff;
  color: var(--accent);
  transition: 0.3s;
}
.help-card .btn:hover {
  background: var(--accent);
  color: #fff;
}

/* ==== Kontakt ==== */
.contact-form {
  background: #fafafa;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #eee;
  border-radius: 10px;
  font-family: 'Poppins';
  transition: 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
}

/* ==== Footer ==== */
footer {
  background: rgba(51, 51, 51, 0.9);
  color: #fff;
  text-align: center;
  padding: 3rem 5%;
  backdrop-filter: blur(4px);
  box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.1);
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.social-links a {
  color: white;
  font-size: 1.8rem;
  transition: 0.3s;
}
.social-links a:hover {
  color: var(--primary);
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 1rem;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--primary);
}

/* ==== Back-to-top ==== */
#toTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.3rem;
  display: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  z-index: 1001;
}
#toTop:hover {
  background: #a00000;
}

/* ==== FS Lightbox Anpassung ==== */
.fslightbox-container {
  background: rgba(0, 0, 0, 0.95) !important;
  animation: fadeIn 0.4s ease;
}
.fslightbox-slide img {
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
  max-height: 85vh;
  object-fit: contain;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.fslightbox-toolbar button,
.fslightbox-nav button {
  color: #fff !important;
  opacity: 0.8;
  transition: 0.3s;
}
.fslightbox-toolbar button:hover,
.fslightbox-nav button:hover {
  opacity: 1;
  color: var(--primary) !important;
}

/* ==== Popup / Modal ==== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.modal-content {
  background: #fff;
  max-width: 500px;
  width: 90%;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  animation: popIn 0.4s ease;
}
.modal-content h2 {
  color: var(--accent);
  margin-bottom: 1rem;
}
.modal-content p {
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.modal-content .btn {
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.modal-content .btn:hover {
  background: #a00000;
}
@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ==== Responsive ==== */
@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
  }
  nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  }
  nav.active {
    display: flex;
  }
  .mobile-menu {
    display: block;
  }
  nav a {
    margin: 1.5rem 0;
    font-size: 1.2rem;
  }
  .hero {
    min-height: 70vh;
    background-position: center;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
}
