/* NAR Lichtblick - One Page Inline Content */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --black: #1a1a1a;
  --white: #ffffff;
  --gray: #888888;
  --gray-light: #f5f5f5;
  --accent: #d5000c;
  --accent-light: #fce4e6;
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

a {
  color: var(--black);
  text-decoration: none;
  transition: opacity 0.2s, color 0.2s, transform 0.2s;
}

a:hover {
  opacity: 0.7;
  color: var(--accent);
}

/* Button Style */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background: #d67c5f;
  transform: translateY(-2px);
  opacity: 1;
  color: var(--white);
}

/* Active Link */
.nav-link {
  padding: 0;
  position: relative;
}

.nav-link.active {
  color: var(--accent);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-link.active:hover {
  opacity: 1;
  color: var(--accent);
}

.nav-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* Content Sections */
.content-section {
  padding-top: 2rem;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-section.hidden {
  display: none;
}

.content-text {
  width: 100%;
}

.content-text p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.content-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 2.5rem 0 1.25rem;
  color: var(--black);
  line-height: 1.3;
}

.content-text h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.75rem 0 0.75rem;
  color: var(--black);
  line-height: 1.3;
}

.content-text h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
  color: var(--black);
}

.content-text ul,
.content-text ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.content-text li {
  margin-bottom: 0.5rem;
}

/* Hero Full */
.hero-full {
  margin-bottom: 2rem;
}

.hero-full img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  margin-bottom: 2rem;
  border-radius: var(--radius);
}

.hero-full .hero-text {
  max-width: 800px;
}

.hero-text p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Hero Title Overlay Style */
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-intro {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 2rem;
}

/* Hero CTA Button */
.hero-cta {
  margin-top: 1.5rem;
}

/* Aktionen Split (2-column layout with grid images) */
.aktionen-split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.aktionen-text {
  padding-right: 0;
}

.aktionen-text p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.aktionen-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.aktionen-images img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: opacity 0.2s, transform 0.2s;
  border-radius: var(--radius);
  cursor: pointer;
}

.aktionen-images img:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

/* Bank Data */
.bank-data {
  background: var(--white);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
}

.bank-data p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* Card Style for Spenden and other highlighted sections */
.card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 2rem;
  margin: 1.5rem 0;
  border: 1px solid var(--gray-light);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-2px);
}

.card-highlight {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--white) 100%);
  border-color: var(--accent-light);
}

/* PDF List */
.pdf-list {
  list-style: none;
  padding: 0;
}

.pdf-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-light);
  transition: background 0.2s, padding 0.2s;
}

.pdf-list li:hover {
  background: var(--gray-light);
  padding-left: 0.75rem;
  border-radius: var(--radius);
}

.pdf-list li:last-child {
  border-bottom: none;
}

.pdf-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pdf-list a::before {
  content: '📄';
  font-size: 1rem;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: pointer;
  animation: fadeIn 0.3s ease-out;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  cursor: default;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--white);
  border: none;
  font-size: 2rem;
  line-height: 1;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 1001;
  padding: 0;
}

.lightbox-close:hover {
  background: var(--gray-light);
  transform: scale(1.1);
}

/* Main Navigation */
.main-nav {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.nav-section {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--gray-light);
  transition: border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.nav-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.2s;
}

.nav-section:hover::before {
  opacity: 1;
}

.nav-section:hover {
  border-color: var(--accent);
}

.nav-section:last-child {
  margin-bottom: 0;
}

.nav-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  padding: 0.25rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-full img {
    height: 300px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .aktionen-images {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .main-nav {
    padding: 1.5rem;
  }

  .nav-section {
    padding: 1.25rem;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .card {
    padding: 1.5rem;
  }

  .content-text h3 {
    font-size: 1.4rem;
  }

  .content-text h4 {
    font-size: 1.1rem;
  }
}