/* ============ Bestattungen Bast – Design System ============ */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/manrope-latin.woff2') format('woff2');
}

:root {
  --ink: #262a2d;
  --ink-soft: #5f666c;
  --deep: #2c3a3e;
  --deep-2: #37474c;
  --accent: #8a9b8e;
  --accent-dark: #74857a;
  --gold: #b39960;
  --bg: #ffffff;
  --bg-warm: #f5f4f0;
  --line: #e6e5e0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(30, 36, 40, .10);
  --container: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; letter-spacing: -.005em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.95rem); margin-bottom: .7em; }
h3 { font-size: 1.1rem; }
p + p { margin-top: 1em; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.kicker::before { content: ''; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 10px;
  font-weight: 700; font-size: .95rem; transition: all .2s ease; cursor: pointer; border: 2px solid transparent;
}
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-accent { background: var(--gold); color: #fff; }
.btn-accent:hover { background: #9c8450; transform: translateY(-2px); }
.btn-dark { background: var(--deep); color: #fff; }
.btn-dark:hover { background: var(--deep-2); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--deep); }

/* ---------- Topbar ---------- */
.topbar { background: var(--deep); color: rgba(255,255,255,.85); font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; gap: 12px; flex-wrap: wrap; }
.topbar-phone { font-weight: 700; color: #fff; }
.topbar-phone:hover { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-mark { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.brand-sub { font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav > a {
  font-weight: 600; font-size: .95rem; color: var(--ink-soft); padding: 6px 0;
}
.main-nav > a:hover { color: var(--ink); }
.nav-cta { color: #fff !important; }

.burger { display: none; background: none; border: none; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: all .25s ease; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 72vh; display: flex; align-items: center;
  background-size: cover; background-position: center; color: #fff;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(30, 37, 40, .93) 0%, rgba(30, 37, 40, .78) 55%, rgba(30, 37, 40, .5) 100%);
}
.hero h1, .hero-sub { text-shadow: 0 1px 12px rgba(15, 18, 20, .35); }
.hero-content { position: relative; max-width: 760px; padding-top: 70px; padding-bottom: 70px; }
.hero .kicker { color: #cdb98c; }
.hero .kicker::before { background: var(--gold); }
.hero h1 { color: #fff; margin-bottom: .5em; font-weight: 700; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.85); max-width: 580px; }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-warm { background: var(--bg-warm); }
.section-head { max-width: 780px; margin-bottom: 44px; }
.section-sub { color: var(--ink-soft); }

.split { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: start; }
.split-media { grid-template-columns: 1fr 1fr; align-items: center; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }

.verband-siegel { max-width: 150px; margin-top: 18px; }
.verband-note { font-size: .88rem; color: var(--ink-soft); margin-top: 12px; max-width: 300px; }

/* ---------- Bestattungsarten ---------- */
.arten-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.art-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px; text-align: center; transition: all .25s ease;
}
.art-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.art-icon { height: 64px; width: auto; margin: 0 auto 18px; }
.art-card h3 { margin-bottom: 10px; }
.art-card p { font-size: .95rem; color: var(--ink-soft); }

/* ---------- Leistungen ---------- */
.leist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.leist-card {
  background: var(--bg-warm); border-radius: 12px; padding: 26px 24px;
  border-top: 3px solid var(--gold);
}
.leist-card h3 { font-size: 1rem; margin-bottom: 8px; }
.leist-card p { font-size: .88rem; color: var(--ink-soft); }

/* ---------- Notfall-Band ---------- */
.notfall-band { background: var(--deep); color: #fff; padding: 72px 0; }
.notfall-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
.notfall-band h2 { color: #fff; }
.notfall-band p { color: rgba(255,255,255,.75); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.contact-card {
  background: var(--bg-warm); border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.contact-card a { font-weight: 600; }
.contact-card a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: #22292c; color: rgba(255,255,255,.72); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 64px 24px; }
.footer-mark { color: #fff; font-size: 1.2rem; }
.footer-claim { margin-top: 12px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer a:hover { color: var(--gold); }
.footer-links { display: grid; gap: 8px; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.09); }
.footer-bar-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px 24px; font-size: .85rem; color: rgba(255,255,255,.45); }

/* ---------- Legal ---------- */
.section-legal h1 { margin-bottom: .6em; }
.section-legal h2 { font-size: 1.2rem; margin-top: 1.8em; margin-bottom: .5em; }
.section-legal a { color: var(--gold); font-weight: 600; }
.container-narrow { max-width: 820px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .leist-grid { grid-template-columns: repeat(2, 1fr); }
  .arten-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .split, .split-media, .notfall-inner { grid-template-columns: 1fr; gap: 30px; }
  .cta-actions { justify-content: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .burger { display: flex; }
  .main-nav {
    position: fixed; top: 80px; left: 0; right: 0; bottom: 0; z-index: 49;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 28px 24px; gap: 4px; overflow-y: auto;
    transform: translateX(100%); transition: transform .28s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > a { font-size: 1.15rem; padding: 12px 0; width: 100%; }
  .nav-cta { margin-top: 18px; text-align: center; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .leist-grid { grid-template-columns: 1fr; }
  .hero { min-height: 82vh; }
  .topbar-inner { justify-content: center; text-align: center; }
  .brand-text { display: none; }
}
