/* ============================================
   SICHELHENKET.DE — Stylesheet
   ============================================ */

/* --- Reset & Basis --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  scroll-behavior: smooth;
  position: relative;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #2C2C2C;
  background-color: #1a0000;
  background-image: url('/assets/img/weinberg.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  line-height: 1.7;
}

body > * {
  position: relative;
  z-index: 1;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Variablen --- */
:root {
  --gruen: #700000;
  --gruen-hell: #FDF6E3;
  --gold: #D4860A;
  --gold-hell: #FDF6E3;
  --terra: #8B4513;
  --creme: #FFFBF2;
  --weiss: #FFFFFF;
  --text: #1A1A1A;
  --text-hell: #666666;
  --border: #E8DFC8;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Wappen Wasserzeichen --- */
.wappen-bg {
  position: relative;
}

/* --- Section --- */
.section { padding: 80px 0; }

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #700000;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.2;
}

/* ============================================
   NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--gruen);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-wappen {
  height: 36px;
  width: auto;
  mix-blend-mode: multiply;
  filter: brightness(1.1);
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--weiss);
  letter-spacing: 0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--weiss);
  background: rgba(255,255,255,0.12);
}

.nav-link-helfer {
  background: var(--gold);
  color: var(--weiss) !important;
  padding: 6px 14px;
  border-radius: var(--radius);
}

.nav-link-helfer:hover {
  background: #b86e00;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--weiss);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 64px;
  background: #700000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(112, 0, 0, 0.55) 0%,
    rgba(80, 0, 0, 0.35) 50%,
    rgba(26, 10, 0, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 48px 24px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(52px, 10vw, 100px);
  font-weight: 700;
  color: var(--weiss);
  line-height: 1.0;
  margin-bottom: 24px;
}

.hero-date {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 600;
  color: #F5C842;
  margin-bottom: 8px;
}

.hero-location {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 20px;
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gruen);
  color: var(--weiss);
  border-color: var(--gruen);
}

.btn-primary:hover {
  background: #5C0000;
  border-color: #5C0000;
}

.btn-outline {
  background: transparent;
  color: var(--weiss);
  border-color: var(--weiss);
}

.btn-outline:hover {
  background: var(--weiss);
  color: var(--gruen);
}

.btn-secondary {
  background: transparent;
  color: var(--gruen);
  border-color: var(--gruen);
}

.btn-secondary:hover {
  background: var(--gruen);
  color: var(--weiss);
}

/* ============================================
   KACHELN
   ============================================ */
.kacheln {
  background: var(--weiss);
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.kacheln-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.kachel {
  background: transparent;
  padding: 32px 32px;
  text-align: left;
  transition: opacity 0.2s;
  display: block;
  border-left: 1px solid var(--border);
}

.kachel:first-child {
  border-left: none;
}

.kachel:hover {
  opacity: 0.7;
}

.kachel-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.kachel-title {
  font-family: 'Vollkorn', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.kachel-text {
  font-size: 13px;
  color: var(--text-hell);
  line-height: 1.6;
}

/* ============================================
   ÜBER DAS FEST
   ============================================ */
.ueber {
  background: transparent;
}

.ueber-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ueber-text p {
  color: var(--text-hell);
  margin-bottom: 16px;
  font-size: 15px;
}

.ueber-spende {
  background: #FDF6E3;
  border-left: 3px solid #D4860A;
  padding: 12px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: #8B5A00 !important;
  margin-bottom: 28px !important;
}

.ueber-bild {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.bild-placeholder {
  position: relative;
  background: #D4C9B8;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
}

.bild-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-active .placeholder-text {
  display: block;
}

.placeholder-text {
  display: none;
  font-size: 14px;
  color: #888;
  position: absolute;
}

/* ============================================
   SPENDE BANNER
   ============================================ */
.spende-banner {
  background: #700000;
  padding: 40px 0;
}

.spende-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.spende-herz {
  font-size: 40px;
  color: #FF6B6B;
  flex-shrink: 0;
}

.spende-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--weiss);
  margin-bottom: 4px;
}

.spende-text {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

/* ============================================
   GALERIE VORSCHAU
   ============================================ */
.galerie-vorschau {
  background: transparent;
}

.galerie-vorschau .section-title {
  text-align: center;
}

.galerie-vorschau .section-eyebrow {
  text-align: center;
}

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.galerie-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #D4C9B8;
}

.placeholder-bild {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #1A0000;
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--weiss);
  margin-bottom: 8px;
}

.footer-heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--weiss);
}

.footer-mail {
  font-size: 14px;
  color: var(--gold);
  transition: color 0.2s;
  display: block;
  margin-top: 8px;
}

.footer-mail:hover {
  color: #e5aa40;
}

.footer-bottom {
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--weiss);
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 900px) {
  .ueber-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .kacheln-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 600px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--gruen);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    padding: 10px 16px;
    font-size: 15px;
  }

  .hero-title {
    font-size: 52px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .kacheln-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .galerie-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .spende-inner {
    flex-direction: column;
    text-align: center;
  }

  .section { padding: 56px 0; }
}

.kacheln,
.hinweis-section,
.ueber,
.galerie-vorschau {
  background: rgba(255, 251, 242, 0.88);
}