/* =============================================
   Bestattungen Landrichinger – Globales Stylesheet
   ============================================= */

:root {
  --primary: #2E2E2E;
  --secondary: #F5F1EB;
  --bg: #FAF8F5;
  --text: #303030;
  --text-light: #6B6358;
  --accent: #782480;
  --accent-light: #EEE9F2;
  --accent-hover: #621D69;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(120,36,128,.06), 0 1px 3px rgba(0,0,0,.04);
  --shadow-lg: 0 8px 30px rgba(120,36,128,.12);
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 1200px;
  --transition: all .3s ease;
  --border: 1px solid rgba(120,36,128,.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.7; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

/* =============================================
   Ornament Divider
   ============================================= */
.ornament { text-align: center; margin: 0 auto 32px; color: var(--accent); opacity: .3; font-size: 1.6rem; letter-spacing: 8px; }

/* =============================================
   Header
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250,248,245,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.header-logo { display: flex; align-items: center; gap: 12px; }
.header-logo img { height: 44px; width: auto; }

/* =============================================
   Navigation
   ============================================= */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  flex-wrap: nowrap;
}
.nav-links a {
  padding: 6px 9px;
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--accent); background: var(--accent-light); }
.nav-links a.active { color: var(--accent); font-weight: 600; background: var(--accent-light); }

.header-actions { display: flex; align-items: center; gap: 6px; }

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: .8rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; border: 1.5px solid rgba(120,36,128,.25); color: var(--accent); }
.btn-secondary:hover { border-color: var(--accent); background: var(--accent-light); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: #444; }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,.7); color: #fff; font-family: var(--font-body); }
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* =============================================
   Hamburger
   ============================================= */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: var(--transition); }
@media (max-width: 1100px) {
  .nav-links, .header-actions { display: none; }
  .hamburger { display: block; }
}

/* =============================================
   Mobile Nav
   ============================================= */
.mobile-nav { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.5); }
.mobile-nav.open { display: block; }
.mobile-nav-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(360px, 85vw);
  background: var(--bg);
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  animation: slideIn .3s forwards;
}
@keyframes slideIn { to { transform: translateX(0); } }
.mobile-nav-close { background: none; border: none; cursor: pointer; padding: 8px; float: right; }
.mobile-nav-close svg { width: 24px; height: 24px; }
.mobile-nav-links { list-style: none; margin-top: 48px; }
.mobile-nav-links a { display: block; padding: 14px 0; font-size: 1.05rem; font-weight: 500; color: var(--text); border-bottom: var(--border); }
.mobile-nav-links a.active { color: var(--accent); font-weight: 600; }
.mobile-nav-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.mobile-nav-actions .btn { justify-content: center; }
.mobile-nav-actions .btn { justify-content: center; }

/* =============================================
   Hero (Startseite)
   ============================================= */
.hero { position: relative; min-height: 85vh; display: flex; align-items: center; overflow: hidden; background: var(--primary); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(120,36,128,.18), rgba(46,46,46,.25)); }
.hero-content { position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; width: 100%; text-align: left; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 16px; font-family: var(--font-body); letter-spacing: -.02em; }
.hero .subtitle { font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,.85); max-width: 560px; margin: 0 0 32px; font-weight: 300; }
.hero-buttons { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; }

/* =============================================
   Page Hero (Unterseiten)
   ============================================= */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #782480 0%, #621D69 50%, #4A1650 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 {
  position: relative;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.page-hero .subtitle {
  position: relative;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  opacity: .9;
  max-width: 580px;
  margin: 0 auto;
  font-weight: 300;
  font-family: var(--font-body);
}
@media (max-width: 768px) { .page-hero { padding: 56px 0; } }

/* =============================================
   Intro Section
   ============================================= */
.intro-section { background: var(--bg); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 768px) { .intro-grid { grid-template-columns: 1fr; gap: 32px; } }
.intro-text h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 20px; color: var(--accent); }
.intro-text-center { max-width: 760px; margin: 0 auto; text-align: center; }
.intro-text-center p { font-size: 1.05rem; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.intro-text-center p:last-child { margin-bottom: 0; }

/* USP List */
.usp-list { list-style: none; margin-bottom: 28px; }
.usp-list li { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; font-size: .95rem; }
.usp-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(120,36,128,.15);
}
.usp-icon svg { width: 20px; height: 20px; color: var(--accent); }
.usp-list strong { display: block; font-family: var(--font-heading); font-weight: 600; margin-bottom: 2px; font-size: 1rem; }
.intro-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 3px solid rgba(120,36,128,.08); }
.intro-image img { width: 100%; height: 400px; object-fit: cover; }

/* =============================================
   Trustbar
   ============================================= */
.trustbar { background: var(--secondary); border-top: var(--border); border-bottom: var(--border); }
.trust-header { text-align: center; margin-bottom: 40px; }
.trust-header .stars { font-size: 1.6rem; color: #D4A017; margin-bottom: 8px; }
.trust-header h2 { font-size: 1.6rem; color: var(--accent); }
.trust-header p { color: var(--text-light); font-size: .95rem; margin-top: 4px; }
.trust-header a { color: var(--accent); font-weight: 600; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: var(--border); }
.review-stars { color: #D4A017; font-size: .9rem; margin-bottom: 12px; }
.review-text { font-size: .92rem; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; font-family: var(--font-heading); font-style: italic; }
.review-author { font-size: .85rem; font-weight: 600; color: var(--accent); }

/* =============================================
   Trauerfall Short
   ============================================= */
.trauerfall-short { background: var(--bg); }
.tf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 768px) { .tf-grid { grid-template-columns: 1fr; } }
.tf-content h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 16px; color: var(--accent); }
.tf-content p { color: var(--text-light); font-size: .95rem; margin-bottom: 16px; }
.tf-image { border-radius: var(--radius); overflow: hidden; min-height: 300px; border: 2px solid rgba(120,36,128,.1); }
.tf-image img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 300px; }

/* =============================================
   Section Header
   ============================================= */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; color: var(--accent); }
.section-header p { color: var(--text-light); font-size: .95rem; max-width: 600px; margin: 0 auto; }
.section-link { text-align: center; margin-top: 32px; }
.section-link a { color: var(--accent); font-weight: 600; font-size: .95rem; font-family: var(--font-heading); font-style: italic; }
.section-link a:hover { text-decoration: underline; }

/* =============================================
   Bestattungsarten Cards
   ============================================= */
.bestattungsarten { background: var(--secondary); border-top: var(--border); border-bottom: var(--border); }
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 600px) { .ba-grid { grid-template-columns: 1fr; } }
.ba-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: var(--border); }
.ba-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ba-card img { width: 100%; height: 200px; object-fit: cover; }
.ba-card-body { padding: 24px; }
.ba-card-body h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; color: var(--accent); }
.ba-card-body p { font-size: .88rem; color: var(--text-light); line-height: 1.6; }

/* =============================================
   Leistungen
   ============================================= */
.leistungen { background: var(--bg); }
.leistungen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .leistungen-grid { grid-template-columns: 1fr; } }
.leistung-card { background: var(--secondary); border-radius: var(--radius); overflow: hidden; transition: var(--transition); border: var(--border); }
.leistung-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.leistung-card img { width: 100%; height: 200px; object-fit: cover; }
.leistung-card-body { padding: 24px; }
.leistung-card-body h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; color: var(--accent); }
.leistung-card-body p { font-size: .88rem; color: var(--text-light); line-height: 1.6; }

/* =============================================
   Über Uns Short (Startseite)
   ============================================= */
.ueber-uns-short { background: var(--secondary); border-top: var(--border); border-bottom: var(--border); }
.uu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 768px) { .uu-grid { grid-template-columns: 1fr; } }
.uu-text h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 16px; color: var(--accent); }
.uu-text p { color: var(--text-light); font-size: .95rem; margin-bottom: 16px; }
.uu-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.uu-gallery img { border-radius: var(--radius); width: 100%; height: 120px; object-fit: cover; border: 2px solid rgba(120,36,128,.08); }

/* =============================================
   Instagram Feed
   ============================================= */
.insta-section { background: var(--bg); text-align: center; }
.insta-header { margin-bottom: 48px; }
.insta-header h2 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 8px; }
.insta-header p { color: var(--text-light); font-size: 1rem; }
.insta-icon { width: 32px; height: 32px; margin: 0 auto 16px; color: var(--accent); }
.insta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.insta-post { position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: var(--radius); cursor: pointer; box-shadow: var(--shadow); border: var(--border); }
.insta-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.insta-post:hover img { transform: scale(1.05); }
.insta-post .insta-overlay { position: absolute; inset: 0; background: rgba(120,36,128,.35); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s ease; }
.insta-post:hover .insta-overlay { opacity: 1; }
.insta-post .insta-overlay svg { width: 36px; height: 36px; color: #fff; }
.insta-handle { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: 1rem; transition: var(--transition); }
.insta-handle:hover { opacity: .7; }
@media (max-width: 768px) { .insta-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto 40px; } }

/* =============================================
   Ansprechpartner
   ============================================= */
.ansprechpartner { background: var(--bg); }
.ap-card {
  display: flex;
  gap: 40px;
  align-items: center;
  background: var(--secondary);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  border: 2px solid rgba(120,36,128,.1);
}
@media (max-width: 600px) { .ap-card { flex-direction: column; text-align: center; gap: 24px; padding: 28px; } }
.ap-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 4px solid var(--accent-light);
  box-shadow: 0 4px 16px rgba(120,36,128,.15);
}
.ap-info h3 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; margin-bottom: 4px; color: var(--accent); }
.ap-info .role { color: var(--text-light); font-size: .9rem; font-weight: 600; margin-bottom: 12px; font-style: italic; }
.ap-info p { font-size: .9rem; color: var(--text-light); margin-bottom: 4px; }
.ap-info a { color: var(--accent); font-weight: 600; }

/* =============================================
   FAQ
   ============================================= */
.faq { background: var(--secondary); border-top: var(--border); border-bottom: var(--border); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 12px; }
.faq-item details { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: var(--border); }
.faq-item summary {
  padding: 20px 24px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  font-family: var(--font-heading);
}
.faq-item summary:hover { background: var(--accent-light); }
.faq-item summary::after { content: '+'; font-size: 1.3rem; font-weight: 300; color: var(--text-light); }
.faq-item details[open] summary::after { content: '\2212'; }
.faq-answer { padding: 0 24px 20px; font-size: .9rem; color: var(--text-light); line-height: 1.7; }
.faq .faq-list + .section-header { margin-top: 48px; }

/* =============================================
   Trauerfälle Slider
   ============================================= */
.trauerfaelle { background: var(--bg); overflow: hidden; }
.tf-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 24px;
  scrollbar-width: thin;
}
.tf-slider::-webkit-scrollbar { height: 6px; }
.tf-slider::-webkit-scrollbar-thumb { background: rgba(120,36,128,.2); border-radius: 3px; }
.tf-card {
  min-width: 280px;
  max-width: 280px;
  scroll-snap-align: start;
  background: var(--secondary);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  flex-shrink: 0;
  border: var(--border);
  cursor: pointer;
}
.tf-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tf-card img { width: 100%; height: 200px; object-fit: cover; }
.tf-card-body { padding: 20px; }
.tf-card-body h4 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; color: var(--accent); }
.tf-card-body .dates { font-size: .82rem; color: var(--text-light); margin-bottom: 12px; }

/* =============================================
   Gedenk Modal
   ============================================= */
.gedenk-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(46,46,46,.6);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.gedenk-overlay.active { display: flex; }
.gedenk-modal {
  background: var(--bg);
  border-radius: var(--radius);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  border: 2px solid rgba(120,36,128,.12);
}
.gedenk-close { float: right; background: none; border: none; cursor: pointer; padding: 4px; }
.gedenk-close svg { width: 24px; height: 24px; }
.gedenk-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  display: block;
  border: 4px solid var(--accent-light);
}
.gedenk-name { text-align: center; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; color: var(--accent); }
.gedenk-dates { text-align: center; font-size: .9rem; color: var(--text-light); margin-bottom: 16px; }
.gedenk-spruch { text-align: center; font-family: var(--font-heading); font-style: italic; color: var(--text-light); font-size: 1rem; margin-bottom: 24px; padding: 0 16px; }
.gedenk-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.kerzen-section { text-align: center; margin-bottom: 24px; }
.kerzen-section h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; margin-bottom: 12px; color: var(--accent); }
.kerzen-btn { background: none; border: 2px solid #D4A017; border-radius: var(--radius); padding: 12px 24px; cursor: pointer; font-size: 1.4rem; transition: var(--transition); }
.kerzen-btn:hover { background: #FEF3C7; }
.kerzen-count { font-size: .82rem; color: var(--text-light); margin-top: 8px; }
.kommentar-section h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; margin-bottom: 12px; color: var(--accent); }
.kommentar-input {
  width: 100%;
  border: 1.5px solid rgba(120,36,128,.15);
  border-radius: var(--radius);
  padding: 12px;
  font-size: .9rem;
  font-family: var(--font-body);
  resize: vertical;
  min-height: 80px;
  background: #fff;
}
.kommentar-submit { margin-top: 8px; }

/* Sterbebild */
.sterbebild-section { margin-bottom: 28px; }
.sterbebild-section h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; margin-bottom: 16px; color: var(--accent); text-align: center; }
.sterbebild-card {
  max-width: 320px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid rgba(120,36,128,.15);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(120,36,128,.08);
  position: relative;
}
.sterbebild-card::before { content: '\2020'; display: block; font-size: 2rem; color: var(--accent); margin-bottom: 12px; opacity: .6; }
.sterbebild-card .sb-photo { width: 100px; height: 130px; object-fit: cover; margin: 0 auto 16px; display: block; border-radius: 4px; border: 1px solid rgba(120,36,128,.1); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.sterbebild-card .sb-name { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.sterbebild-card .sb-dates { font-size: .82rem; color: var(--text-light); margin-bottom: 14px; }
.sterbebild-card .sb-verse { font-family: var(--font-heading); font-style: italic; font-size: .88rem; color: var(--text-light); line-height: 1.6; margin-bottom: 14px; padding: 0 8px; }
.sterbebild-card .sb-footer { font-size: .72rem; color: var(--text-light); opacity: .6; border-top: 1px solid rgba(120,36,128,.1); padding-top: 10px; margin-top: 10px; }
.sterbebild-print-btn { margin-top: 12px; text-align: center; }
.sterbebild-print-btn .btn { font-size: .82rem; }
.sterbebild-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 2px solid rgba(120,36,128,.2);
  border-radius: var(--radius);
  padding: 10px 20px;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-body);
  transition: var(--transition);
}
.sterbebild-toggle:hover { background: var(--accent-light); border-color: var(--accent); }
.sterbebild-content { display: none; margin-top: 16px; }
.sterbebild-content.open { display: block; }

/* =============================================
   Floating Gedenk Button
   ============================================= */
.floating-gedenk {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 24px;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(120,36,128,.35);
  transition: var(--transition);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 8px;
}
.floating-gedenk:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(120,36,128,.45); }

/* =============================================
   Footer
   ============================================= */
.site-footer { background: var(--primary); color: #fff; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-col h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; margin-bottom: 16px; color: #fff; }
.footer-col p, .footer-col a { font-size: .88rem; color: rgba(255,255,255,.7); line-height: 1.8; }
.footer-col a:hover { color: #fff; }
.footer-col ul { list-style: none; }
.footer-col ul a { display: block; padding: 4px 0; }
.footer-col > p + p { margin-top: 12px; }
.footer-col ul + p { margin-top: 16px; font-size: 0.82rem; }
.footer-col ul + p strong,
.footer-col ul + p strong a { color: #fff; font-size: 1rem; }
.footer-col .footer-gap { margin-top: 12px; }
.footer-col p.footer-24h { margin-top: 16px; font-size: .82rem; }
.footer-col p.footer-24h strong a { color: #fff; font-size: 1rem; font-weight: 700; }
.footer-col > p + p, .footer-col .footer-gap { margin-top: 12px; }
.footer-24h { margin-top: 16px; font-size: .82rem; }
.footer-24h strong { color: #fff; font-size: 1rem; }
.footer-24h strong a { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: .8rem; color: rgba(255,255,255,.4); }

/* =============================================
   Cookie Banner
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  padding: 20px 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: var(--border);
}
.cookie-banner.show { display: flex; }
.cookie-banner p { font-size: .85rem; color: var(--text-light); flex: 1; min-width: 200px; }
.cookie-banner p a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { font-size: .82rem; padding: 8px 16px; }

/* =============================================
   Sub-Page: Steps Grid (Im Trauerfall)
   ============================================= */
.steps-section { background: var(--secondary); border-top: var(--border); border-bottom: var(--border); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: var(--border);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  border: 2px solid rgba(120,36,128,.15);
}
.step-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; color: var(--accent); }
.step-card p { font-size: .9rem; color: var(--text-light); line-height: 1.6; }

/* =============================================
   Sub-Page: Documents Grid
   ============================================= */
.documents-section { background: var(--bg); }
.documents-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
@media (max-width: 768px) { .documents-grid { grid-template-columns: 1fr; } }
.doc-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: var(--border); }
.doc-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; color: var(--accent); font-family: var(--font-heading); }
.doc-card ul { list-style: none; }
.doc-card li { font-size: .9rem; color: var(--text-light); padding: 6px 0; padding-left: 20px; position: relative; line-height: 1.5; }
.doc-card li::before { content: '\2022'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* =============================================
   Sub-Page: Detail Cards (Bestattungsarten)
   ============================================= */
.detail-cards { background: var(--bg); }
.detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0;
  border-bottom: var(--border);
}
.detail-card:last-of-type { border-bottom: none; }
.detail-card.reverse { grid-template-columns: 1fr 1fr; }
.detail-card.reverse .card-image,
.detail-card.reverse .video-wrapper { order: 2; }
.detail-card.reverse .card-content { order: 1; }
.detail-card.text-only { grid-template-columns: 1fr; max-width: 800px; margin: 0 auto; padding: 48px 0; }
.detail-card.text-only .card-content { text-align: center; }
.card-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 2px solid rgba(120,36,128,.08); }
.card-image img { width: 100%; height: 320px; object-fit: cover; }
.card-content h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; color: var(--accent); }
.card-content p { font-size: 1rem; color: var(--text-light); line-height: 1.8; margin-bottom: 12px; }
.card-content p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .detail-card, .detail-card.reverse { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .detail-card.reverse .card-image, .detail-card.reverse .video-wrapper, .detail-card.reverse .card-content { order: unset; }
  .card-image img { height: 260px; }
  .detail-card.text-only { padding: 40px 0; }
}

/* =============================================
   Sub-Page: Services Grid (Leistungen)
   ============================================= */
.services-section { background: var(--secondary); border-top: var(--border); border-bottom: var(--border); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: var(--border);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  border: 2px solid rgba(120,36,128,.15);
}
.service-card-icon svg { width: 24px; height: 24px; color: var(--accent); }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--accent); }
.service-card p { font-size: .9rem; color: var(--text-light); line-height: 1.6; }

/* =============================================
   Sub-Page: Vorsorge Section
   ============================================= */
.vorsorge-section { background: var(--bg); }
.vorsorge-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  background: var(--secondary);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid rgba(120,36,128,.1);
}
@media (max-width: 900px) { .vorsorge-box { grid-template-columns: 1fr; } }
.vorsorge-image { height: 100%; min-height: 320px; }
.vorsorge-image img { width: 100%; height: 100%; object-fit: cover; }
.vorsorge-content { padding: 40px; }
@media (max-width: 900px) { .vorsorge-content { padding: 32px 24px; } }
.vorsorge-content h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 20px; color: var(--accent); }
.vorsorge-content p { font-size: .95rem; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.vorsorge-content .cta { margin-top: 24px; }
.vorsorge-content .btn { font-size: 1rem; padding: 14px 28px; }

/* =============================================
   Sub-Page: History (Über uns)
   ============================================= */
.history-section { background: var(--secondary); border-top: var(--border); border-bottom: var(--border); }
.history-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .history-grid { grid-template-columns: 1fr; gap: 32px; } }
.history-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 2px solid rgba(120,36,128,.08); }
.history-image img { width: 100%; height: auto; display: block; }
.history-content h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 20px; color: var(--accent); }
.history-content p { font-size: 1rem; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.history-content p:last-child { margin-bottom: 0; }

/* =============================================
   Sub-Page: Gallery
   ============================================= */
.gallery-section { background: var(--bg); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  transition: var(--transition);
  border: 2px solid rgba(120,36,128,.08);
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff;
  font-size: .9rem;
  font-weight: 500;
}

/* =============================================
   Sub-Page: Highlights Grid
   ============================================= */
.highlights-section { background: var(--secondary); border-top: var(--border); border-bottom: var(--border); }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .highlights-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .highlights-grid { grid-template-columns: 1fr; } }
.highlight-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: var(--border);
}
.highlight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.highlight-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 2px solid rgba(120,36,128,.15);
}
.highlight-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--accent); }
.highlight-card p { font-size: .9rem; color: var(--text-light); line-height: 1.6; }

/* =============================================
   Sub-Page: Team Section
   ============================================= */
.team-section { background: var(--bg); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .team-grid { grid-template-columns: 1fr; max-width: 320px; margin: 32px auto 0; } }
.team-member {
  background: var(--secondary);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: var(--border);
  text-align: center;
}
.team-member:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.team-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
  display: block;
}
.team-photo-placeholder {
  width: 100%;
  height: 300px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: .4;
}
.team-info { padding: 20px 16px; }
.team-info h4 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; color: var(--accent); }
.team-info p { font-size: .88rem; color: var(--text-light); }
.team-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: .84rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-top: 10px;
  padding-top: 10px;
  border-top: var(--border);
}
.team-intro { color: var(--text-light); font-size: .95rem; max-width: 700px; margin: 0 auto 24px; line-height: 1.7; }

/* =============================================
   Sub-Page: Contact Card
   ============================================= */
.contact-section { background: var(--secondary); border-top: var(--border); border-bottom: var(--border); }
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: start;
  transition: var(--transition);
  border: 2px solid rgba(120,36,128,.1);
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
@media (max-width: 600px) { .contact-card { grid-template-columns: 1fr; text-align: center; } }
.contact-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 4px solid var(--accent-light); }
.contact-details h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 4px; color: var(--accent); }
.contact-details .role { color: var(--text-light); font-weight: 600; font-size: .95rem; margin-bottom: 20px; font-style: italic; }
.contact-details p, .contact-details a { font-size: .95rem; color: var(--text-light); line-height: 1.8; }
.contact-details a:hover { color: var(--accent); }

/* =============================================
   Sub-Page: CTA Box
   ============================================= */
.cta-section { background: var(--bg); text-align: center; }
.cta-section .btn { font-size: 1.05rem; padding: 16px 32px; }
.cta-box-section { background: var(--bg); }
.cta-box {
  background: linear-gradient(135deg, #782480 0%, #621D69 50%, #4A1650 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-box h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; }
.cta-box p { font-size: 1.1rem; opacity: .95; margin-bottom: 8px; font-family: var(--font-body); }
.cta-box a { color: #fff; font-weight: 700; font-size: 1.25rem; text-decoration: underline; text-underline-offset: 4px; }
.cta-box a:hover { opacity: .9; }
.cta-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.cta-links a { font-weight: 600; color: #fff; font-size: 1.05rem; }
.cta-links a:hover { text-decoration: underline; }
@media (max-width: 600px) { .cta-box { padding: 32px 24px; } }

/* =============================================
   Sub-Page: Vorsorge Checklist
   ============================================= */
.checklist-section { background: var(--bg); }
.checklist-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 768px) { .checklist-grid { grid-template-columns: 1fr; } }
.checklist-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: var(--border);
}
.checklist-card h4 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; color: var(--accent); }
.checklist-card ul { list-style: none; }
.checklist-card li { font-size: .9rem; color: var(--text-light); padding: 6px 0; padding-left: 28px; position: relative; line-height: 1.6; }
.checklist-card li::before { content: '\2713'; position: absolute; left: 0; color: var(--accent); font-weight: 700; font-size: 1rem; }

/* =============================================
   Sub-Page: Content Sections
   ============================================= */
.content-section { background: var(--bg); }
.content-section.alt { background: var(--secondary); border-top: var(--border); border-bottom: var(--border); }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 768px) { .content-grid { grid-template-columns: 1fr; gap: 32px; } }
.content-grid.reverse .content-image { order: 2; }
.content-grid.reverse .content-text { order: 1; }
@media (max-width: 768px) {
  .content-grid.reverse .content-image, .content-grid.reverse .content-text { order: unset; }
}
.content-text h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 16px; color: var(--accent); }
.content-text p { font-size: .95rem; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.content-text p:last-child { margin-bottom: 0; }
.content-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 2px solid rgba(120,36,128,.08); }
.content-image img { width: 100%; height: 320px; object-fit: cover; }
.content-image.original img { height: auto; object-fit: contain; }

/* =============================================
   Sub-Page: Video Section
   ============================================= */
.video-section { background: var(--secondary); border-top: var(--border); border-bottom: var(--border); }
.video-wrapper {
  max-width: 340px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(120,36,128,.08);
}
.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 600px) {
  .video-wrapper { max-width: 100%; }
}

/* =============================================
   Sub-Page: Gedenken Full Page
   ============================================= */
.gedenken-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .gedenken-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gedenken-grid { grid-template-columns: 1fr; } }
.gedenken-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: var(--border);
  cursor: pointer;
}
.gedenken-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.gedenken-card img { width: 100%; height: 220px; object-fit: cover; }
.gedenken-card-body { padding: 20px; text-align: center; }
.gedenken-card-body h4 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; color: var(--accent); }
.gedenken-card-body .dates { font-size: .82rem; color: var(--text-light); margin-bottom: 12px; }
.gedenken-card-body .btn { width: 100%; justify-content: center; font-size: .82rem; padding: 8px 16px; }
