/* =========================================================
   Brügge Bestattung – Website-Stil
   Ruhig, würdevoll, seriös. Farbwelt aus dem Rechnungstool
   (Teal-Akzent) mit warmen, hellen Tönen.
   ========================================================= */

:root{
  --bg:#f4f1ea;          /* warmes Papierweiß         */
  --panel:#ffffff;
  --ink:#131f28;         /* fast schwarzes Schiefergrau – mehr Kontrast */
  --ink-soft:#33434d;    /* kräftiger für gute Lesbarkeit */
  --muted:#5a6870;       /* deutlich dunkler als vorher   */
  --accent:#2f6f8c;      /* Dein Teal – etwas satter       */
  --accent-dark:#255a73;
  --accent-soft:#e2edf3;
  --line:#ddd6c9;        /* warme Trennlinie, etwas kräftiger */
  --dark:#1a262e;        /* dunkle Sektionen (Kontakt)  */
  --dark-soft:#26343d;
  --gold:#9c7c4c;        /* dezenter warmer Akzent, kräftiger */
  --shadow:0 1px 3px rgba(20,40,50,.06), 0 10px 30px rgba(20,40,50,.07);
  --shadow-soft:0 1px 2px rgba(20,40,50,.05), 0 4px 14px rgba(20,40,50,.05);
  --serif:"Iowan Old Style","Palatino Linotype","Book Antiqua",Georgia,"Times New Roman",serif;
  --sans:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",Arial,sans-serif;
  --wrap:1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; font-size:112.5%; } /* 18px Basis – alles etwas größer & besser lesbar */
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--sans); font-size:19px; line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:var(--accent); text-decoration:none; }
a:hover{ color:var(--accent-dark); }

h1,h2,h3{ font-family:var(--serif); font-weight:600; color:var(--ink); line-height:1.2; letter-spacing:.2px; }
h1{ font-size:clamp(2.1rem,5vw,3.4rem); margin:0 0 .4em; }
h2{ font-size:clamp(1.6rem,3.4vw,2.3rem); margin:0 0 .5em; }
h3{ font-size:1.22rem; margin:0 0 .35em; }
p{ margin:0 0 1em; }

.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 24px; }
.section{ padding:88px 0; }
.section.tight{ padding:64px 0; }
.center{ text-align:center; }
.lead{ font-size:1.22rem; color:var(--ink-soft); max-width:60ch; }
.center .lead{ margin-left:auto; margin-right:auto; }

.kicker{
  display:inline-block; font-family:var(--sans); font-weight:700;
  font-size:.78rem; letter-spacing:.18em; text-transform:uppercase;
  color:var(--accent); margin-bottom:14px;
}
.kicker.on-dark{ color:#9fc6d8; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:9px; cursor:pointer;
  font-family:var(--sans); font-size:1rem; font-weight:600;
  padding:14px 24px; border-radius:10px; border:1.5px solid transparent;
  transition:.15s ease; white-space:nowrap;
}
.btn.primary{ background:var(--accent); color:#fff; border-color:var(--accent);
  box-shadow:0 6px 16px rgba(58,125,156,.28); }
.btn.primary:hover{ background:var(--accent-dark); border-color:var(--accent-dark); color:#fff; transform:translateY(-1px); }
.btn.ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn.ghost:hover{ background:#fff; border-color:var(--accent); color:var(--accent-dark); }
.btn.on-dark{ background:#fff; color:var(--dark); border-color:#fff; }
.btn.on-dark:hover{ background:#eaf3f7; color:var(--dark); }
.btn.big{ font-size:1.08rem; padding:16px 30px; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(245,242,236,.86); backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .bar{ display:flex; align-items:center; justify-content:space-between; gap:20px; height:76px; }
.brand{ display:flex; align-items:center; gap:14px; }
/* Siegel-Logo im Seitenkopf */
.brand img{ height:60px; width:60px; object-fit:contain; }
.brand .name{ font-family:var(--serif); font-weight:600; font-size:1.34rem; color:var(--ink); line-height:1.1; }
.brand .name small{ display:block; font-family:var(--sans); font-weight:500; font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-top:3px; }
.nav{ display:flex; align-items:center; gap:6px; }
.nav a{ color:var(--ink-soft); font-weight:600; font-size:1.04rem; padding:9px 14px; border-radius:8px; }
.nav a:hover{ background:#fff; color:var(--accent-dark); }
.header-cta{ display:flex; align-items:center; gap:14px; }
.header-phone{ display:flex; flex-direction:column; align-items:flex-end; line-height:1.1; }
.header-phone small{ font-size:.72rem; color:var(--muted); letter-spacing:.04em; }
.header-phone b{ font-size:1.05rem; color:var(--ink); }
.nav-toggle{ display:none; background:none; border:1.5px solid var(--line); border-radius:9px; padding:8px 11px; cursor:pointer; color:var(--ink); }

/* ---------- Hero ---------- */
.hero{ position:relative; overflow:hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(58,125,156,.10), transparent 60%),
    linear-gradient(180deg,#fbfaf7 0%, var(--bg) 100%); }
.hero .wrap{ display:grid; grid-template-columns:1.15fr .85fr; gap:56px; align-items:center; padding-top:76px; padding-bottom:88px; }
.hero .sub{ margin:0 0 30px; }
.hero .cta-row{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
.hero .assurance{ margin-top:26px; display:flex; align-items:center; gap:10px; color:var(--muted); font-size:.95rem; }
.hero .assurance .dot{ width:9px; height:9px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px var(--accent-soft); }

.hero-card{
  background:linear-gradient(180deg,#ffffff 0%,#f7f4ee 100%);
  border:1px solid var(--line); border-radius:20px;
  box-shadow:0 2px 6px rgba(20,40,50,.10), 0 22px 50px rgba(20,40,50,.14);
  padding:38px; text-align:center;
}
/* großes Siegel-Logo auf der Startseite – ruhig zentriert mit dezentem Schatten */
.hero-card .logo-badge{ display:block; margin:0 auto 6px; }
.hero-card .logo-badge img{ width:240px; max-width:100%; height:auto; object-fit:contain; margin:0 auto;
  filter:drop-shadow(0 6px 14px rgba(15,30,40,.12)); }
.hero-card .rule{ width:60px; height:3px; background:var(--gold); border-radius:2px; margin:18px auto 16px; opacity:.85; }
.hero-card .quote{ font-family:var(--serif); font-style:italic; font-size:1.2rem; color:var(--ink-soft); }

/* ---------- Werte / Trust ---------- */
.values{ background:var(--panel); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.values .grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; padding:34px 0; }
.value{ display:flex; align-items:center; gap:15px; padding:6px 12px; }
.value .ic{ flex:0 0 auto; width:46px; height:46px; display:grid; place-items:center; border-radius:12px; background:var(--accent-soft); color:var(--accent-dark); }
.value b{ display:block; font-size:1.08rem; }
.value span{ color:var(--muted); font-size:1rem; }

/* ---------- Über uns ---------- */
.about .grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
.about blockquote{ margin:22px 0; padding:8px 0 8px 24px; border-left:3px solid var(--gold);
  font-family:var(--serif); font-style:italic; font-size:1.18rem; line-height:1.55; color:var(--ink); }
.about .figure{ position:sticky; top:100px; }
.about .figure{ background:#fff; border:1px solid var(--line); border-radius:18px; padding:14px 14px 22px; box-shadow:var(--shadow-soft); text-align:center; }
.about .figure img{ width:100%; aspect-ratio:1/1; object-fit:cover; object-position:40% 35%; border-radius:13px; margin:0 0 16px; }
.about .figure .sig{ font-family:var(--serif); font-style:italic; font-size:1.5rem; color:var(--accent-dark); }
.about .figure .sig small{ display:block; font-family:var(--sans); font-style:normal; font-size:.85rem; letter-spacing:.06em; color:var(--muted); margin-top:4px; }

/* ---------- Leistungen ---------- */
.services .grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.service{
  display:flex; flex-direction:column; width:100%; text-align:left; font:inherit;
  background:var(--panel); border:1.5px solid var(--line); border-radius:16px;
  padding:30px 26px; box-shadow:var(--shadow-soft); transition:.18s ease; cursor:pointer;
}
.service:hover{ transform:translateY(-3px); box-shadow:var(--shadow); border-color:var(--accent); }
.service:focus-visible{ outline:3px solid var(--accent); outline-offset:2px; }
.service .ic{ width:52px; height:52px; display:grid; place-items:center; border-radius:13px; background:var(--accent-soft); color:var(--accent-dark); margin-bottom:16px; }
.service p{ color:var(--ink-soft); font-size:1.05rem; margin:0; }
.service .more{ margin-top:16px; display:inline-flex; align-items:center; gap:7px;
  color:var(--accent-dark); font-weight:700; font-size:1rem; }
.service .more::after{ content:"→"; transition:transform .18s ease; }
.service:hover .more::after{ transform:translateX(4px); }

/* ---------- Info-Fenster (Modal) für Leistungen ---------- */
.modal{
  position:relative; overflow:hidden;
  border:0; border-radius:18px; padding:0; width:min(620px,92vw); max-height:88vh;
  box-shadow:0 30px 80px rgba(15,30,40,.45); color:#fff; background:#1b2a33;
}
.modal::backdrop{ background:rgba(15,25,32,.55); backdrop-filter:blur(2px); }

/* Themen-Foto als kompletter Hintergrund des Fensters + Abdunklung für Lesbarkeit */
.modal-photo{ position:absolute; inset:0; z-index:0; }
.modal-photo svg, .modal-photo img{ width:100%; height:100%; display:block; object-fit:cover; }
.modal-scrim{ position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(180deg, rgba(18,27,33,.40) 0%, rgba(18,27,33,.70) 52%, rgba(16,24,29,.86) 100%); }

.modal-inner{ position:relative; z-index:2; padding:40px 40px 34px; overflow:auto; max-height:88vh;
  color:#fff; text-shadow:0 1px 4px rgba(0,0,0,.38); }
.modal-close{
  position:absolute; top:14px; right:14px; z-index:4; width:46px; height:46px; border-radius:50%;
  border:1px solid rgba(255,255,255,.4); background:rgba(18,27,33,.45); color:#fff; font-size:1.8rem;
  line-height:1; cursor:pointer; display:grid; place-items:center; backdrop-filter:blur(3px);
}
.modal-close:hover{ background:rgba(255,255,255,.92); color:var(--accent-dark); border-color:#fff; }
.modal .m-ic{ width:60px; height:60px; display:grid; place-items:center; border-radius:14px;
  background:rgba(255,255,255,.16); color:#fff; margin-bottom:18px; border:1px solid rgba(255,255,255,.28); }
.modal h3{ font-size:1.7rem; margin:0 0 .4em; color:#fff; }
.modal .m-list{ list-style:none; margin:6px 0 24px; padding:0; }
.modal .m-list li{ position:relative; padding:11px 0 11px 30px; border-bottom:1px solid rgba(255,255,255,.2);
  font-size:1.08rem; color:rgba(255,255,255,.95); line-height:1.55; }
.modal .m-list li:last-child{ border-bottom:0; }
.modal .m-list li b{ color:#fff; }
.modal .m-list li::before{ content:"✓"; position:absolute; left:0; top:11px; color:#e7c98a; font-weight:800; text-shadow:none; }
.modal .m-foot{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.modal .m-foot .btn{ flex:1 1 auto; justify-content:center; text-shadow:none; }
.modal .m-hint{ margin:14px 0 0; font-size:1rem; color:rgba(255,255,255,.85); }

/* ---------- Ablauf ---------- */
.steps{ background:var(--panel); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.steps .grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; counter-reset:step; }
.step{ position:relative; padding-top:12px; }
.step .num{ font-family:var(--serif); font-size:2.4rem; color:var(--accent); opacity:.35; line-height:1; margin-bottom:10px; }
.step h3{ margin-bottom:.3em; }
.step p{ color:var(--ink-soft); font-size:1.04rem; margin:0; }

/* ---------- Kontakt ---------- */
.contact{ background:var(--dark); color:#dfe8ec; }
.contact h2{ color:#fff; }
.contact .grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:start; }
.contact .lead{ color:#b9c7ce; }
.contact-lines{ margin-top:26px; display:flex; flex-direction:column; gap:18px; }
.cline{ display:flex; align-items:center; gap:16px; }
.cline .ic{ flex:0 0 auto; width:48px; height:48px; display:grid; place-items:center; border-radius:12px; background:var(--dark-soft); color:#9fc6d8; }
.cline small{ display:block; color:#a4b6bf; font-size:.9rem; letter-spacing:.04em; text-transform:uppercase; }
.cline a,.cline b{ color:#fff; font-size:1.28rem; font-weight:600; font-family:var(--serif); }
.cline a:hover{ color:#bfe0ef; }
.contact-card{ background:var(--dark-soft); border:1px solid #35454f; border-radius:18px; padding:34px; }
.contact-card h3{ color:#fff; }
.contact-card .hours{ display:flex; align-items:center; gap:12px; margin:6px 0 22px; color:#bfd6e0; }
.contact-card .hours .pulse{ width:10px; height:10px; border-radius:50%; background:#5fd39a; box-shadow:0 0 0 4px rgba(95,211,154,.18); }
.contact-card .btn{ width:100%; justify-content:center; }
.contact-card .note{ margin:16px 0 0; font-size:.9rem; color:#93a5ae; }

/* ---------- Footer ---------- */
.site-footer{ background:#18232a; color:#93a5ae; padding:44px 0 34px; }
.site-footer .row{ display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; }
.site-footer .brand .name{ color:#fff; }
.site-footer .brand .name small{ color:#7d919b; }
.site-footer nav{ display:flex; gap:22px; flex-wrap:wrap; }
.site-footer nav a{ color:#b7c5cc; font-weight:500; }
.site-footer nav a:hover{ color:#fff; }
.site-footer .copy{ margin-top:24px; padding-top:20px; border-top:1px solid #263640; font-size:.94rem; color:#8698a1; }

/* ---------- Rechtstexte (Impressum/Datenschutz) ---------- */
.legal{ background:#fbfaf7; }
.legal .wrap{ max-width:820px; }
.legal h1{ font-size:clamp(1.9rem,4vw,2.6rem); }
.legal h2{ font-size:1.35rem; margin-top:1.8em; }
.legal p,.legal li{ color:var(--ink-soft); font-size:1.02rem; }
.legal .back{ display:inline-flex; align-items:center; gap:7px; margin-bottom:26px; font-weight:600; }
.legal .todo{ background:#fdf6e6; border:1px solid #ecd9a8; border-left:4px solid var(--gold); border-radius:8px; padding:12px 16px; color:#7a5f22; font-size:.95rem; }
.legal address{ font-style:normal; }

/* ---------- Helfer ---------- */
.only-mobile{ display:none; }

/* ---------- Responsiv ---------- */
@media (max-width:900px){
  .nav, .header-phone{ display:none; }
  .nav-toggle{ display:inline-flex; }
  .nav.open{
    display:flex; position:absolute; top:76px; left:0; right:0; flex-direction:column;
    background:var(--panel); border-bottom:1px solid var(--line); padding:12px 16px; gap:2px;
    box-shadow:var(--shadow);
  }
  .nav.open a{ padding:12px; }
  .hero .wrap{ grid-template-columns:1fr; gap:36px; }
  .hero-card{ order:-1; }
  .values .grid{ grid-template-columns:1fr; gap:6px; padding:26px 0; }
  .about .grid{ grid-template-columns:1fr; gap:34px; }
  .about .figure{ order:-1; position:static; top:auto; }
  .services .grid{ grid-template-columns:1fr; }
  .steps .grid{ grid-template-columns:1fr 1fr; gap:22px; }
  .contact .grid{ grid-template-columns:1fr; gap:34px; }
  .emergency .grid{ grid-template-columns:1fr; gap:34px; }
  .section{ padding:60px 0; }
  .only-mobile{ display:block; }
}
@media (max-width:520px){
  .steps .grid{ grid-template-columns:1fr; }
  .site-footer .row{ flex-direction:column; align-items:flex-start; }
  .modal-inner{ padding:30px 22px 26px; }
  .modal h3{ font-size:1.45rem; }
}

/* ---------- Im Trauerfall (Soforthilfe / Checkliste) ---------- */
.emergency .grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.checklist{ background:var(--panel); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow-soft); padding:16px 30px; }
.checklist ol{ list-style:none; margin:0; padding:0; }
.checklist li{ display:flex; gap:16px; padding:18px 0; border-bottom:1px solid var(--line); }
.checklist li:last-child{ border-bottom:0; }
.checklist .ck{ flex:0 0 auto; width:30px; height:30px; border-radius:50%; background:var(--accent-soft);
  color:var(--accent-dark); display:grid; place-items:center; font-weight:700; font-size:.95rem; margin-top:2px; }
.checklist b{ display:block; margin-bottom:2px; }
.checklist p{ margin:0; color:var(--ink-soft); font-size:1.02rem; line-height:1.55; }

/* ---------- Kosten & Transparenz ---------- */
.costs{ background:var(--accent-soft); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.costs .inner{ max-width:760px; margin:0 auto; text-align:center; }
.costs .inner .lead{ margin-left:auto; margin-right:auto; }
.costs .inner p{ color:var(--ink-soft); }
.costs .inner .btn{ margin-top:10px; }

/* ---------- FAQ ---------- */
.faq .list{ max-width:780px; margin:0 auto; }
.faq details{ background:var(--panel); border:1px solid var(--line); border-radius:12px; margin-bottom:12px;
  box-shadow:var(--shadow-soft); overflow:hidden; }
.faq summary{ cursor:pointer; padding:18px 22px; font-family:var(--serif); font-size:1.12rem; font-weight:600;
  color:var(--ink); list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; font-family:var(--sans); font-size:1.6rem; line-height:1; color:var(--accent); font-weight:400; }
.faq details[open] summary::after{ content:"\2013"; }
.faq details > div{ padding:0 22px 20px; color:var(--ink-soft); }

/* ---------- Hinweisleiste (Datenschutz) ---------- */
.hinweis-leiste{ display:none; position:fixed; left:0; right:0; bottom:0; z-index:1000; background:#18232a; color:#dfe7eb; padding:14px 20px; box-shadow:0 -4px 18px rgba(0,0,0,.25); }
.hinweis-leiste.sichtbar{ display:flex; justify-content:center; align-items:center; gap:18px; flex-wrap:wrap; }
.hinweis-leiste p{ margin:0; font-size:.95rem; line-height:1.45; }
.hinweis-leiste a{ color:#fff; text-decoration:underline; }
.hinweis-leiste button{ background:var(--gold); color:#18232a; border:0; border-radius:8px; padding:9px 18px; font:inherit; font-weight:600; cursor:pointer; }
.hinweis-leiste button:hover{ filter:brightness(1.08); }
