/* =========================================================
   Internationale Dost Bestattungen – Beta
   Farben: Dunkelgrün & Beige (Logo), Gold als Akzent
   ========================================================= */

:root {
  --green-dk:  #10342a;   /* sehr dunkles Grün */
  --green:     #1c4a3a;   /* dunkelgrün (Logo) */
  --green-md:  #2a6650;   /* etwas heller */
  --beige:     #f5efe1;   /* heller Beige-Hintergrund */
  --beige-2:   #ece0c9;   /* etwas dunkler */
  --gold:      #c9a24b;   /* Gold/Messing (Logo-Schrift) */
  --gold-dk:   #a8842f;
  --surface:   #ffffff;
  --ink:       #2a2a24;
  --ink-soft:  #5f5b50;
  --line:      #e3d9c6;
  --shadow:    0 12px 32px rgba(16, 40, 32, 0.10);
  --radius:    16px;
  --maxw:      1160px;
  --serif:     "Georgia", "Times New Roman", serif;
  --sans:      "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); color: var(--ink); background: var(--beige);
  line-height: 1.7; font-size: 17px; -webkit-font-smoothing: antialiased;
  overflow-x: hidden; max-width: 100%;
}
html { overflow-x: hidden; }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; line-height: 1.25; color: var(--green-dk); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--ink-soft); }
a  { color: var(--green-md); text-decoration: none; }
a:hover { text-decoration: underline; }
img, video { max-width: 100%; }
img { display: block; }
* { overflow-wrap: break-word; word-wrap: break-word; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 78px 0; }
.section--green { background: var(--green-dk); }
.section--green h2, .section--green h3, .section--green p, .section--green li { color: #f1ece0; }
.section--beige2 { background: var(--beige-2); }
.section--white { background: var(--surface); }
.center { text-align: center; }
.lead { font-size: 1.15rem; max-width: 720px; }
.center .lead { margin-left:auto; margin-right:auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem;
  font-family: var(--sans); font-weight: 700; color: var(--gold-dk); margin-bottom: 12px; }
.section--green .eyebrow { color: var(--gold); }
.divider { width: 90px; height: 3px; background: var(--gold); border-radius: 2px; margin: 14px 0 0; }
.center .divider { margin: 14px auto 0; }

/* ---------- Buttons ---------- */
.btn { display:inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 600;
  font-family: var(--sans); cursor: pointer; border: 1px solid transparent; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--green-dk); }
.btn--gold { background: var(--gold); color: var(--green-dk); }
.btn--gold:hover { background: var(--gold-dk); color:#fff; }
.btn--whatsapp { background: #25D366; color: #fff; }
.btn--whatsapp:hover { background: #1da851; }
.btn--ghost { background: transparent; color: var(--green-dk); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface); }
.btn--white { background:#fff; color: var(--green-dk); }
.btn--white:hover { background: var(--beige); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- Notruf-Leiste ---------- */
.emergency { background: var(--gold); color: var(--green-dk); font-size: .93rem; }
.emergency .container { display:flex; align-items:center; justify-content:center; gap: 14px;
  padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; text-align:center; }
.emergency strong { color: var(--green-dk); }
.emergency a.tel { color: var(--green-dk); font-weight: 800; border-bottom: 1px dotted rgba(16,52,42,.5); }
.emergency .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-dk);
  display:inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.25} }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50;
  background: var(--green-dk); border-bottom: 3px solid var(--gold); }
.site-header .container { display:flex; align-items:center; justify-content:space-between;
  padding-top: 12px; padding-bottom: 12px; }
.brand { display:flex; align-items:center; gap: 12px; }
.brand img { height: 52px; width:auto; }
.brand .mark { width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  display:flex; align-items:center; justify-content:center; color: var(--green-dk);
  font-family: var(--serif); font-size: 1.4rem; font-weight: 800; flex-shrink: 0; }
.brand .name { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; line-height: 1.05; color: var(--gold); }
.brand .name small { display:block; font-family: var(--sans); font-size:.62rem;
  letter-spacing: .14em; text-transform: uppercase; color:#cdbd9a; font-weight: 600; }

.nav { display:flex; align-items:center; gap: 2px; }
.nav a { color: #ece4d2; padding: 8px 13px; border-radius: 8px; font-size: .95rem; font-weight: 500; }
.nav a:hover { background: rgba(255,255,255,.08); text-decoration: none; color:#fff; }
.nav a.active { color: var(--gold); font-weight: 700; }
.nav .btn { margin-left: 8px; padding: 9px 18px; }
.nav-toggle { display:none; background:none; border:none; cursor:pointer; font-size: 1.6rem; color: var(--gold); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--green-dk); color:#fff; overflow:hidden; }
.hero::before { content:""; position:absolute; inset:0;
  background: radial-gradient(circle at 75% 30%, rgba(201,162,75,.18), transparent 55%); }
.hero .container { position: relative; display:grid; grid-template-columns: 1.05fr .95fr; gap: 50px;
  align-items:center; padding: 84px 24px; }
.hero h1 { color:#fff; margin-bottom: 18px; }
.hero p { font-size: 1.15rem; margin-bottom: 26px; max-width: 540px; color: #d9e3dc; }
.hero .actions { display:flex; gap: 14px; flex-wrap: wrap; }
.hero ul.usp { list-style:none; margin: 0 0 26px; display:grid; gap: 8px; }
.hero ul.usp li { color:#e7eee8; }
.hero ul.usp li::before { content:"✓ "; color: var(--gold); font-weight: 800; }
.hero-img { height: 420px; border-radius: var(--radius); box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--green-md), var(--green-dk));
  border:1px solid rgba(201,162,75,.3); display:flex; align-items:flex-end; }
.hero-img .ph-label { color: rgba(255,255,255,.8); padding: 16px; font-size: .82rem; }

/* ---------- Hero mit Hintergrundvideo ---------- */
.hero--video { display:flex; align-items:center; min-height: 560px; }
.hero--video .container { display:block; grid-template-columns: none; padding: 90px 24px;
  max-width: 760px; margin-left: 0; }
.hero-video { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; z-index:0;
  background: linear-gradient(135deg, var(--green-md), var(--green-dk)); }
.hero-overlay { position:absolute; inset:0; z-index:1;
  background: linear-gradient(100deg, rgba(16,52,42,.88) 0%, rgba(16,52,42,.68) 45%, rgba(16,52,42,.45) 100%); }
.hero--video .container { position: relative; z-index: 2; }
.hero-videohint { position:absolute; right:14px; bottom:12px; z-index:3;
  background: rgba(0,0,0,.45); color:#f1ece0; font-size:.72rem; padding:5px 11px; border-radius:8px; }
@media (max-width: 900px) {
  .hero--video { min-height: 460px; }
  .hero--video .container { padding: 70px 24px; }
}

/* Platzhalter */
.ph { background: linear-gradient(135deg, var(--beige-2), #ddccae);
  display:flex; align-items:center; justify-content:center; color: var(--ink-soft);
  font-size:.85rem; border-radius: var(--radius); position: relative; overflow: hidden; }
.ph::after { content: "📷  " attr(data-label); position:absolute; bottom:10px; left:10px;
  background: rgba(255,255,255,.72); padding: 4px 10px; border-radius: 8px; font-size:.72rem; color: var(--ink-soft); }
.ph-16x9 { aspect-ratio:16/9; width:100%; }
.ph-4x3 { aspect-ratio:4/3; width:100%; }
.ph-1x1 { aspect-ratio:1/1; width:100%; }

/* ---------- Grids / Cards ---------- */
.grid { display:grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.card { background: var(--surface); border:1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: transform .15s ease; }
.card:hover { transform: translateY(-4px); }
.card .ic { width: 54px; height: 54px; border-radius: 14px; margin-bottom: 16px;
  background: var(--beige); display:flex; align-items:center; justify-content:center; font-size: 1.5rem;
  border: 1px solid var(--line); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .97rem; }
.card .more { display:inline-block; margin-top: 12px; font-weight: 600; color: var(--gold-dk); }

/* USP-Bänder auf grün */
.feature { text-align:center; }
.feature .ic { margin: 0 auto 14px; background: rgba(201,162,75,.15); border-color: rgba(201,162,75,.35); }

/* Steps */
.steps { counter-reset: step; display:grid; gap: 20px; }
.step { display:flex; gap: 18px; align-items:flex-start; }
.step .num { counter-increment: step; flex-shrink:0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--green-dk); font-family: var(--serif); font-size: 1.15rem; font-weight: 700;
  display:flex; align-items:center; justify-content:center; }
.step .num::before { content: counter(step); }
.step h3 { margin-bottom: 4px; }

/* Split */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items:center; }
.split.reverse .split-text { order: 2; }

/* Liste mit Haken */
.checklist { list-style:none; margin: 16px 0; }
.checklist li { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.checklist li::before { content:"✓ "; color: var(--gold-dk); font-weight: 800; }

/* Städte-Tags */
.cities { display:flex; flex-wrap:wrap; gap: 10px; justify-content:center; }
.city-tag { background: var(--surface); border:1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: .9rem; color: var(--green-dk); font-weight: 500; }

/* FAQ */
.faq-item { background: var(--surface); border:1px solid var(--line); border-radius: 14px;
  padding: 0; margin-bottom: 14px; overflow: hidden; }
.faq-item summary { padding: 18px 22px; font-weight: 600; cursor: pointer; color: var(--green-dk);
  font-family: var(--serif); font-size: 1.08rem; list-style: none; display:flex; justify-content:space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:"+"; color: var(--gold-dk); font-size: 1.3rem; }
.faq-item[open] summary::after { content:"–"; }
.faq-item .answer { padding: 0 22px 20px; color: var(--ink-soft); }

/* Kontakt */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-line { display:flex; gap: 14px; align-items:flex-start; margin-bottom: 18px; }
.info-line .ic { font-size: 1.3rem; }
.map-ph { height: 300px; border-radius: var(--radius); }
.form-box { background: var(--surface); border:1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display:block; font-size:.9rem; font-weight: 600; margin-bottom: 6px; color: var(--green-dk); }
.field input, .field textarea, .field select { width:100%; padding: 12px 14px; border:1px solid var(--line);
  border-radius: 10px; font-family: var(--sans); font-size: 1rem; background: var(--beige); color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.note { font-size:.85rem; color: var(--ink-soft); }
.badge-soft { display:inline-block; background: var(--beige-2); padding: 6px 14px; border-radius: 999px;
  font-size:.85rem; color: var(--ink-soft); }

/* CTA-Band */
.cta-band { background: linear-gradient(135deg, var(--green), var(--green-dk)); color:#fff; }
.cta-band h2 { color:#fff; }
.cta-band p { color: rgba(255,255,255,.9); }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 80;
  background:#25D366; color:#fff; width: 58px; height: 58px; border-radius: 50%;
  display:flex; align-items:center; justify-content:center; font-size: 1.7rem;
  box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.wa-float:hover { text-decoration:none; transform: scale(1.06); }

/* Footer */
.site-footer { background: var(--green-dk); color: #c4cdc4; padding: 58px 0 26px; border-top: 3px solid var(--gold); }
.site-footer a { color: #c4cdc4; }
.site-footer a:hover { color:#fff; }
.footer-grid { display:grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 34px; margin-bottom: 38px; }
.site-footer h4 { color: var(--gold); margin-bottom: 14px; font-size: 1rem; font-family: var(--sans); letter-spacing:.04em; }
.site-footer ul { list-style:none; }
.site-footer li { margin-bottom: 9px; font-size:.93rem; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); padding-top: 20px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap: 10px; font-size:.84rem; color:#9aa79c; }
.site-footer .brand .name { color: var(--gold); }

/* Responsive */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-img { height: 260px; order: -1; }
  .grid-3,.grid-4 { grid-template-columns: 1fr 1fr; }
  .split,.contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display:none; position:absolute; top:100%; left:0; right:0; flex-direction:column;
    background: var(--green-dk); border-bottom:1px solid rgba(255,255,255,.1); padding: 12px 24px; gap: 2px; align-items:stretch; }
  .nav.open { display:flex; }
  .nav .btn { margin: 8px 0 0; text-align:center; }
  .nav-toggle { display:block; }
  .site-header .container { position: relative; }
}
@media (max-width: 560px) {
  .grid-3,.grid-4,.grid-2,.footer-grid { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .container { padding: 0 18px; }
  .brand .name { font-size: 1.05rem; }
  .brand img { height: 42px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.45rem; }
  .hero--video { min-height: 0; }
  .hero--video .container { padding: 54px 18px; max-width: 100%; }
  .hero p, .lead { font-size: 1.02rem; }
  .hero .actions .btn, .cta-band .actions .btn { width: 100%; text-align: center; }
  .emergency .container { font-size: .82rem; gap: 6px; }
  .btn--lg { padding: 14px 22px; font-size: 1rem; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
