/* =========================================================
   Bestattungsinstitut Brigitte Möwius – Stylesheet
   Masterlayout: FireShot Capture 073 (Desktop 1920 px)
   ========================================================= */
:root{
  --red:#b20000;          /* Willkommens-Headline */
  --bordeaux:#800000;     /* Bestattungsarten, Icons, Button */
  --grey-bg:#edebec;      /* helle Flächen */
  --grey-box:#727272;     /* Infoboxen, Footer */
  --text:#333;
  --text-size:13px;       /* Fließtext Desktop */
  --sans:Arial,"Helvetica Neue",Helvetica,sans-serif;
  --roboto:"Roboto",Arial,sans-serif;
  --container:1000px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--grey-bg);color:var(--text);font:var(--text-size)/1.6 var(--sans);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
h1,h2,h3,p,ul{margin:0}
.container{max-width:var(--container);margin:0 auto;padding:0 10px}
.skip-link{position:absolute;left:-9999px;top:0;background:#fff;padding:8px 12px;z-index:100}
.skip-link:focus{left:10px}
.tel{text-decoration:none;white-space:nowrap}
.tel:hover{text-decoration:underline}

/* ---------- Header ---------- */
.site-header{background:#fff;height:108px;display:flex;align-items:center;position:relative;z-index:5}
.site-header .container{width:100%}
.logo{display:block;line-height:0;width:max-content}
.logo img{width:320px;height:auto}

/* ---------- Hero / Slider ---------- */
.hero{position:relative;height:442px;overflow:hidden;background:#1d2a10}
.slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 1.2s ease;display:flex;align-items:center;justify-content:center}
.slide::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.5)}
.slide.is-active{opacity:1}
.slide-inner{position:relative;text-align:center;color:#fff;padding:0 60px;max-width:1000px}
.hero-title{font:500 56px/67px var(--roboto);margin:0 0 13px}
.hero-sub{font:13px/1.4 var(--sans)}
.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);background:none;border:0;color:rgba(255,255,255,.75);width:40px;height:60px;cursor:pointer;padding:10px;z-index:2}
.hero-arrow svg{width:18px;height:34px}
.hero-arrow:hover{color:#fff}
.hero-arrow.prev{left:20px}
.hero-arrow.next{right:20px}

/* ---------- Willkommen ---------- */
.welcome{background:var(--grey-bg);padding:71px 0 40px;text-align:center}
.narrow{max-width:850px}
.welcome-title{font:400 30px/37px var(--roboto);color:var(--red)}
.divider{width:593px;max-width:100%;border:0;border-top:1px solid #b5b3b4;margin:30px auto 37px}
.sub-title{font:400 24px/1.3 var(--sans);color:#4a4a4a;margin-bottom:15px}
.sub-title.second{margin-top:30px;margin-bottom:13px}
.welcome p{color:#333}
.welcome p+p{margin-top:12px}

/* ---------- Bestattungsarten ---------- */
.arten{position:relative;background:#fff;padding:53px 0 89px}
.arten::before{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);border-left:40px solid transparent;border-right:40px solid transparent;border-top:25px solid var(--grey-bg)}
.arten-title{font:400 30px/1.2 var(--sans);color:var(--bordeaux);text-align:center;margin-bottom:29px}
.arten-list{list-style:none;padding:0 0 0 9px;display:grid;grid-template-columns:493px 1fr;row-gap:20px}
.arten-list li{position:relative;padding-left:34px;line-height:24px;color:#333}
.arten-list li::before{content:"";position:absolute;left:0;top:0;width:24px;height:24px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23800000' d='M256 8a248 248 0 1 0 0 496 248 248 0 0 0 0-496zm0 48a200 200 0 1 1 0 400 200 200 0 0 1 0-400m140.2 130.3-22.5-22.7a12 12 0 0 0-17-.1L215.3 303.7l-59.8-60.3a12 12 0 0 0-17-.1l-22.7 22.5a12 12 0 0 0-.1 17l90.8 91.5a12 12 0 0 0 17 .1l172.6-171.2a12 12 0 0 0 .1-17z'/%3E%3C/svg%3E") center/contain no-repeat}

/* ---------- Bildleiste ---------- */
.gallery{background:var(--grey-bg);padding:62px 36px;display:grid;grid-template-columns:repeat(3,1fr);gap:35px}
.gallery img{width:100%;height:246px;object-fit:cover}
.gallery img.urne{object-position:50% 58%}

/* ---------- Infoboxen ---------- */
.info{background:#fff;padding:73px 0 77px}
.info .container{max-width:1008px}
.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}
.info-box{position:relative;background:var(--grey-box);color:#fff;text-align:center;min-height:167px;padding:31px 15px 24px;font-family:var(--roboto);font-weight:300}
.info-icon{position:absolute;top:-23px;left:50%;transform:translateX(-50%);width:46px;height:46px;border-radius:50%;background:var(--bordeaux);border:3px solid #fff;display:flex;align-items:center;justify-content:center;color:#fff}
.info-icon svg{width:23px;height:23px}
.info-box h3{font:300 20px/1.3 var(--roboto);margin:0 0 15px}
.info-box h3 a,.info-box h3 .u{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.info-box p{font:300 16px/21px var(--roboto)}
.info-box a{color:#fff}
.info-box p .tel:hover{text-decoration:underline}

/* ---------- Karte ---------- */
.map{background:#fff;padding:0 9px 8px;position:relative}
.map img{width:100%;height:552px;object-fit:cover}
.map-btn{position:absolute;left:50%;top:276px;transform:translate(-50%,-50%);background:var(--bordeaux);color:#fff;text-decoration:none;font:15px/1 var(--sans);padding:9px 12px;display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.map-btn svg{width:13px;height:13px}
.map-btn:hover{background:#a00000}

/* ---------- Footer ---------- */
.site-footer{background:var(--grey-box);color:#fff;height:50px;display:flex;align-items:center}
.site-footer .container{width:100%;display:flex;justify-content:space-between;align-items:center;gap:20px}
.site-footer p{font:15px/1.4 var(--sans);margin-left:-14px}
.site-footer nav{display:flex;gap:36px;margin-right:6px}
.site-footer nav a{text-decoration:none;font-size:15px}
.site-footer nav a:hover{text-decoration:underline}

/* ---------- Unterseiten ---------- */
.page{background:#fff;padding:60px 0 70px;border-top:1px solid #e3e1e2}
.page .container{max-width:850px}
.page h1{font:400 30px/37px var(--roboto);color:var(--red);text-align:center;margin-bottom:25px}
.page .divider{margin:0 auto 40px}
.page h2{font:400 22px/1.3 var(--sans);color:#4a4a4a;margin:34px 0 10px}
.page h3{font:700 var(--text-size)/1.6 var(--sans);color:#333;margin:20px 0 4px}
.page p,.page li{color:#333}
.page p+p{margin-top:10px}
.page ul{padding-left:22px;margin:8px 0 10px}
.page a{color:var(--bordeaux)}
.page .note{background:var(--grey-bg);border-left:3px solid var(--bordeaux);padding:12px 16px;margin-top:30px}

/* ---------- Schnellkontakt (mobil) & nach oben ---------- */
.quick-contact{display:none}
.to-top{position:fixed;right:18px;bottom:18px;width:40px;height:40px;border:0;background:#444;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .3s;z-index:20}
.to-top.show{opacity:1;pointer-events:auto}
.to-top svg{width:18px;height:18px}

:focus-visible{outline:2px solid var(--bordeaux);outline-offset:2px}

/* =================== Responsive =================== */
@media (max-width:1024px){
  :root{--text-size:14px}
  .hero{height:380px}
  .hero-title{font-size:44px;line-height:52px}
  .gallery{padding:40px 20px;gap:20px}
  .gallery img{height:200px}
  .info-box h3{font-size:18px}
  .arten-list{grid-template-columns:1fr 1fr}
}
@media (max-width:767px){
  :root{--text-size:15px}
  body{padding-bottom:52px}
  .site-header{height:80px}
  .logo img{width:230px}
  .hero{height:320px}
  .slide-inner{padding:0 44px}
  .hero-title{font-size:30px;line-height:37px}
  .hero-arrow{width:32px;padding:6px}
  .hero-arrow.prev{left:4px}.hero-arrow.next{right:4px}
  .welcome{padding:40px 0 36px}
  .welcome-title{font-size:23px;line-height:30px}
  .welcome-title br,.welcome p br{display:none}
  .divider{margin:20px auto 26px}
  .sub-title{font-size:20px}
  .arten-list{grid-template-columns:1fr;padding-left:0;row-gap:14px;max-width:260px;margin:0 auto}
  .arten-title{font-size:26px}
  .gallery{grid-template-columns:1fr;padding:30px 16px;gap:16px}
  .gallery img{height:200px}
  .info{padding:50px 0 30px}
  .info-grid{grid-template-columns:1fr;gap:44px}
  .map{padding:0 0 0}
  .map img{height:340px;object-position:50% 50%}
  .map-btn{top:170px;font-size:14px}
  .site-footer{height:auto;padding:16px 0}
  .site-footer .container{flex-direction:column;text-align:center;gap:8px}
  .site-footer nav{margin:0}
  .quick-contact{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:30;height:52px}
  .quick-contact a{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;color:#fff;text-decoration:none;font:15px var(--sans);background:var(--bordeaux)}
  .quick-contact a+a{background:var(--grey-box)}
  .quick-contact svg{width:16px;height:16px}
  .to-top{bottom:64px;right:12px}
  .page{padding:40px 0 50px}
  .page h1{font-size:24px;line-height:31px}
}
