/*
Theme Name: Kühlmeyer Modern
Author: Trifels Website Projekt
Description: Schlankes responsives Theme für Bestattungshaus Kühlmeyer.
Version: 1.0.6
Requires PHP: 7.4
Text Domain: kuehlmeyer-modern
*/
:root{--lila:#bfb2d8;--ink:#34303a;--cream:#f7f4ef;--muted:#67616b}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);background:#fff;line-height:1.65}a{color:inherit}a:focus-visible,button:focus-visible{outline:3px solid #6b528b;outline-offset:3px}.wrap{max-width:1160px;margin:auto;padding:0 24px}.topbar{background:var(--ink);color:#fff;text-align:center;padding:9px}.topbar a{font-weight:700}.site-header{background:#fff}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:95px}.brand{text-decoration:none;font-weight:700;font-size:1.3rem}.brand small{display:block;font-size:.72rem;letter-spacing:.12em;font-weight:400}.menu{display:flex;flex-wrap:wrap;gap:20px;list-style:none;margin:0;padding:0}.menu a{text-decoration:none}.hero{background:linear-gradient(110deg,rgba(39,34,46,.87),rgba(39,34,46,.38)),linear-gradient(145deg,#726781,#bfb2d8);color:#fff;padding:115px 0}.eyebrow{letter-spacing:.15em;text-transform:uppercase;font-size:.78rem;font-weight:700}.hero h1{font-family:Georgia,serif;font-size:clamp(2.6rem,5vw,4.6rem);line-height:1.12;max-width:760px;margin:18px 0}.hero p{max-width:620px;font-size:1.18rem}.btn{display:inline-block;background:var(--lila);color:#292332;padding:13px 22px;border-radius:5px;text-decoration:none;font-weight:700;margin:12px 12px 0 0}.btn.secondary{background:transparent;color:#fff;border:1px solid #fff}.section{padding:75px 0}.section.alt{background:var(--cream)}h2{font-family:Georgia,serif;font-size:clamp(2rem,3vw,2.8rem);line-height:1.2}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.tile{background:#fff;border:1px solid #e9e5e9;padding:26px;border-radius:8px}.tile h3{margin-top:0}.tile a{font-weight:700}.content{max-width:800px}.site-footer{background:var(--ink);color:#fff;padding:50px 0}.site-footer a{color:#fff}.footer-grid{display:flex;gap:40px;justify-content:space-between;flex-wrap:wrap}.wp-block-image img{height:auto}.entry{padding:55px 0;min-height:45vh}@media(max-width:800px){.header-inner{align-items:flex-start;flex-direction:column;padding-top:20px;padding-bottom:20px}.menu{gap:12px;font-size:.92rem}.hero{padding:75px 0}.grid{grid-template-columns:1fr}.section{padding:48px 0}}

/* Version 0.2: constrained full logo, compact header, responsive navigation */
.site-header{position:relative;z-index:2;border-bottom:1px solid #eee9f1}
.header-inner{min-height:100px;padding-top:14px;padding-bottom:14px}
.site-header .custom-logo-link{display:inline-flex;align-items:center;max-width:min(320px,100%);text-decoration:none}
.site-header img.custom-logo{display:block;width:auto!important;height:auto!important;max-width:300px!important;max-height:86px!important;object-fit:contain;object-position:left center}
.site-header nav{flex:1;display:flex;justify-content:flex-end}
.site-header .menu{align-items:center;justify-content:flex-end;gap:clamp(10px,1.5vw,24px)}
.site-header .menu a{font-size:.94rem;font-weight:600}
.site-header .menu a:hover{color:#765e91}
.hero{background-image:linear-gradient(100deg,rgba(37,32,44,.88),rgba(37,32,44,.34)),var(--hero-image,linear-gradient(145deg,#726781,#bfb2d8));background-position:center;background-size:cover}
.hero .wrap{position:relative}
@media(max-width:800px){.header-inner{align-items:center}.site-header nav{width:100%;justify-content:flex-start}.site-header .menu{justify-content:flex-start}.site-header img.custom-logo{max-height:70px!important;max-width:240px!important}}
@media(max-width:480px){.site-header img.custom-logo{max-width:210px!important;max-height:64px!important}.hero{padding:68px 0}.hero h1{font-size:2.5rem}}

/* v0.3: original supplied wordmark, controlled dimensions */
.brand-holder{flex:0 0 auto;max-width:280px}.brand-logo{display:block;line-height:0}.brand-logo img{display:block;width:280px;max-width:100%;height:auto;max-height:160px;object-fit:contain;object-position:left center}.header-inner{min-height:132px}.site-header nav{min-width:0}@media(max-width:800px){.brand-holder{max-width:230px}.brand-logo img{width:230px;max-height:135px}.header-inner{min-height:0}}

/* v0.4: clear compact navigation and supplied landscape hero */
.site-header .header-inner{min-height:104px;padding-top:10px;padding-bottom:10px;gap:32px}
.brand-holder{width:250px;max-width:250px;flex:0 0 250px}
.brand-logo img{width:250px;max-height:110px;object-fit:contain}
.site-header nav{min-width:0;flex:1}
.site-header .menu,.site-header .menu ul{list-style:none!important;margin:0;padding:0}
.site-header .menu{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px 22px}
.site-header .menu li{list-style:none!important;margin:0;padding:0}
.site-header .menu li::marker{content:''}
.site-header .menu a{display:block;text-decoration:none;font-size:14px;font-weight:600;white-space:nowrap;padding:8px 0}
.site-header .menu a:hover,.site-header .menu a:focus-visible{color:#72578d}
.hero{background-image:linear-gradient(90deg,rgba(30,29,36,.83) 0%,rgba(30,29,36,.53) 44%,rgba(30,29,36,.15) 100%),var(--hero-image,url('assets/burg-trifels.jpg'));background-size:cover;background-position:center 45%;min-height:540px;display:flex;align-items:center;padding:105px 0}
.hero h1{max-width:710px;text-shadow:0 2px 15px rgba(0,0,0,.16)}
.hero p{max-width:610px}
@media(max-width:1050px){.site-header .header-inner{flex-direction:column;align-items:center;gap:5px}.brand-holder{flex:auto;width:230px;max-width:230px}.brand-logo img{width:230px}.site-header nav{width:100%;justify-content:center}.site-header .menu{justify-content:center}}
@media(max-width:650px){.site-header .header-inner{align-items:flex-start}.site-header nav{justify-content:flex-start}.site-header .menu{justify-content:flex-start;gap:2px 15px}.site-header .menu a{font-size:13px}.hero{min-height:460px;padding:75px 0;background-position:54% center}.hero h1{font-size:clamp(2.2rem,9vw,3.2rem)}.hero p{font-size:1rem}}

/* v0.5: digital services, family identity, two locations and accessible layout */
.section-intro{max-width:760px;margin-bottom:30px}.section-intro h2{margin:12px 0}.section-intro p{margin:0;color:var(--muted)}
.digital-section{background:#f7f4f0}.digital-grid,.location-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.digital-card{background:white;border:1px solid #e7e0eb;border-radius:12px;padding:32px;display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 8px 30px rgba(45,34,55,.04)}.digital-card h3,.location-card h3{font-family:Georgia,serif;font-size:1.65rem;margin:10px 0}.digital-card p{flex:1;margin:0 0 15px}.digital-symbol{display:grid;place-items:center;background:#eee8f5;color:#625073;border-radius:10px;width:52px;height:52px;font-size:30px}.digital-card .btn{margin-top:auto}
.family-layout{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:60px}.family-layout h2{margin:15px 0 22px}.family-layout p{font-size:1.08rem}.family-statement{font-weight:700;color:#645078}.family-photo{margin:0}.family-photo img{width:100%;height:390px;object-fit:cover;border-radius:12px;display:block}.family-photo figcaption{font-size:.8rem;color:var(--muted);margin-top:9px}
.location-card{overflow:hidden;border:1px solid #e9e5e9;border-radius:12px;background:#fff}.location-card img{width:100%;height:300px;object-fit:cover;display:block}.location-content{padding:25px 28px}.location-content a{font-weight:700}.contact-strip{background:#f7f4ef;text-align:center}.contact-strip h2{margin-top:0}.footer-identity{text-align:center;border-bottom:1px solid rgba(255,255,255,.23);padding-bottom:28px;margin-bottom:32px}.footer-identity strong{font-family:Georgia,serif;font-size:clamp(1.4rem,2.5vw,2rem)}.footer-identity p{margin-bottom:0}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.family-layout{grid-template-columns:1fr;gap:24px}.family-photo img{height:auto;max-height:450px}.digital-grid,.location-grid{gap:16px}}
@media(max-width:650px){.digital-grid,.location-grid{grid-template-columns:1fr}.digital-card{padding:24px}.location-card img{height:240px}.section-intro{margin-bottom:22px}.site-header .menu{gap:2px 13px}.site-header .menu a{white-space:normal}}

/* v0.6 — spacious, image-led refinement */
:root{--cream:#f8f5f1}
.wrap{max-width:1320px;padding-left:clamp(24px,5vw,76px);padding-right:clamp(24px,5vw,76px)}
.section{padding:clamp(92px,9vw,152px) 0}
.section-intro{max-width:900px;margin-bottom:48px}
.section-intro h2{font-size:clamp(2.4rem,4.1vw,3.8rem);letter-spacing:-.025em}
.hero{min-height:min(78vh,820px);padding:135px 0;background-position:center 47%}
.hero h1{font-size:clamp(3.1rem,5.4vw,5.3rem);max-width:800px}
.hero p{font-size:1.13rem;line-height:1.75}
.site-header .header-inner{min-height:94px}
.brand-holder{width:225px;max-width:225px;flex-basis:225px}
.brand-logo img{width:225px;max-height:94px}
.digital-section{padding-top:100px;padding-bottom:112px}
.digital-grid{gap:32px}
.digital-card{padding:clamp(34px,4vw,58px);min-height:320px;border-radius:16px;box-shadow:0 18px 55px rgba(45,34,55,.045)}
.digital-card h3{font-size:clamp(1.65rem,2.2vw,2.1rem)}
.digital-card p{font-size:1rem;max-width:390px}
.family-section{padding-top:150px;padding-bottom:150px}
.family-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.18fr);gap:clamp(54px,7vw,110px)}
.family-layout h2{font-size:clamp(2.25rem,3.25vw,3.4rem);line-height:1.18;letter-spacing:-.025em;max-width:650px}
.family-layout p{max-width:520px;line-height:1.85}
.family-photo img{height:clamp(440px,43vw,620px);border-radius:4px;object-position:center}
.grid{gap:30px}.tile{padding:38px 34px;min-height:190px;border-radius:6px}.tile h3{font-size:1.3rem}
.location-grid{gap:36px}.location-card{border-radius:6px}
.location-card img{height:clamp(340px,34vw,480px)}
.location-content{padding:36px 36px 42px}
.location-card h3{font-size:clamp(1.6rem,2.3vw,2.15rem)}
.contact-strip{padding-top:115px;padding-bottom:125px}
.site-footer{padding-top:72px;padding-bottom:65px}
.footer-identity{padding-bottom:45px;margin-bottom:45px}
@media(max-width:1050px){.family-layout{gap:40px}.site-header .header-inner{min-height:0}}
@media(max-width:900px){.family-layout{grid-template-columns:1fr}.family-layout h2{max-width:800px}.family-photo img{height:auto;max-height:none;aspect-ratio:3/2}.section{padding:85px 0}.family-section{padding:100px 0}}
@media(max-width:650px){.wrap{padding-left:22px;padding-right:22px}.section{padding:70px 0}.hero{min-height:550px;padding:95px 0}.hero h1{font-size:clamp(2.5rem,10vw,3.5rem)}.digital-section{padding:75px 0}.digital-grid,.location-grid{gap:24px}.digital-card{min-height:0;padding:30px}.family-section{padding:80px 0}.family-layout{gap:32px}.family-photo img{aspect-ratio:4/3}.grid{gap:16px}.tile{min-height:0;padding:27px}.location-card img{height:290px}.location-content{padding:28px}.contact-strip{padding:75px 0}}

/* v0.7: family motto and three equal locations */
.hero{background-position:center 39%}
.hero h1{max-width:850px;font-size:clamp(3rem,5.2vw,5.2rem)}
.family-layout{grid-template-columns:minmax(0,1.13fr) minmax(0,1fr);gap:clamp(35px,5vw,75px)}
.family-layout h2{font-size:clamp(2.1rem,2.75vw,3rem);max-width:700px}
.location-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.location-card img{height:clamp(240px,24vw,350px)}
.location-card h3{font-size:clamp(1.35rem,1.8vw,1.75rem)}
.location-content{padding:25px}
.location-graphic{height:clamp(240px,24vw,350px);background:linear-gradient(145deg,#eee8f4,#d4c9e4);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;color:#433a50}
.location-graphic span{font-family:Georgia,serif;font-size:clamp(1.6rem,2.2vw,2.4rem);font-weight:bold}
.location-graphic small{margin-top:12px;font-size:1rem}
@media(max-width:950px){.location-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.family-layout{grid-template-columns:1fr}}
@media(max-width:650px){.location-grid{grid-template-columns:1fr}.location-card img,.location-graphic{height:290px}.hero{background-position:54% center}}

/* v0.8 — touch-friendly responsive navigation and clear opening hours */
.mobile-nav{display:none}.hours{padding:13px 0;border-top:1px solid #e8e1e9;border-bottom:1px solid #e8e1e9;font-size:.95rem;line-height:1.65}.location-content a{overflow-wrap:anywhere}.location-content{display:flex;flex-direction:column;align-items:flex-start}.location-content .hours{width:100%}.btn,.menu a{min-height:44px}.site-footer p{line-height:1.85}.site-footer a{overflow-wrap:anywhere}
@media(max-width:1000px){.site-header .header-inner{flex-direction:row;align-items:center;justify-content:space-between;gap:14px}.site-header .desktop-nav{display:none}.mobile-nav{display:block;position:relative;z-index:20}.mobile-nav summary{list-style:none;cursor:pointer;min-height:48px;padding:11px 16px;border:1px solid #d9cfe2;border-radius:6px;font-weight:700;background:#fff;white-space:nowrap}.mobile-nav summary::-webkit-details-marker{display:none}.mobile-nav summary span{margin-left:8px}.mobile-nav[open] nav{position:absolute;right:0;top:calc(100% + 8px);width:min(85vw,320px);background:#fff;box-shadow:0 12px 35px #30263a30;border:1px solid #e7e0eb;border-radius:8px;padding:10px}.mobile-nav .menu{display:flex;flex-direction:column;align-items:stretch;gap:0}.mobile-nav .menu a{display:flex;align-items:center;padding:10px 12px;font-size:1rem;white-space:normal}.mobile-nav .menu a:hover{background:#f7f4f0}.brand-holder{flex:0 1 225px}}
@media(max-width:650px){.site-header .header-inner{flex-direction:row;align-items:center}.brand-holder{flex:0 1 175px;max-width:175px}.brand-logo img{width:175px;max-height:85px}.mobile-nav summary{font-size:.9rem;padding:10px}.hero h1{overflow-wrap:normal}.digital-card .btn{width:100%;text-align:center;margin-right:0}.location-card img{object-position:center}.footer-grid{display:block}.footer-grid>div+div{margin-top:24px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

/* v0.9 — mobile overflow and narrow viewport fixes */
html{max-width:100%;overflow-x:clip}
body{width:100%;max-width:100%;overflow-x:clip}
img,video,iframe,embed,object{max-width:100%}
img{height:auto}
.wrap{width:100%;min-width:0}
.grid>*,.digital-grid>*,.location-grid>*,.family-layout>*,.footer-grid>*{min-width:0;max-width:100%}
.entry,.entry-content,.content{min-width:0;max-width:100%;overflow-wrap:break-word}
.entry-content table,.wp-block-table{display:block;max-width:100%;overflow-x:auto}
.hero h1,.section h2,.digital-card h3,.location-card h3{overflow-wrap:break-word;hyphens:auto}
@media(max-width:650px){
 .wrap{padding-left:18px;padding-right:18px}
 .site-header .header-inner{gap:8px;flex-wrap:nowrap}
 .brand-holder{flex:0 1 150px;width:auto;min-width:0;max-width:150px}
 .brand-logo img{width:150px;max-width:100%;height:auto}
 .mobile-nav{flex:0 0 auto;max-width:calc(100% - 120px)}
 .mobile-nav summary{font-size:.85rem;padding:9px 10px;white-space:nowrap}
 .mobile-nav[open] nav{width:min(300px,calc(100vw - 36px));max-width:calc(100vw - 36px)}
 .hero{min-height:460px;padding:72px 0}
 .hero h1{font-size:clamp(2.1rem,9vw,3.3rem);line-height:1.13}
 .hero p{font-size:1rem}
 .eyebrow{font-size:.68rem;letter-spacing:.09em}
 .section-intro h2{font-size:clamp(2rem,9vw,3rem)}
 .digital-grid,.location-grid,.grid{grid-template-columns:minmax(0,1fr)}
 .digital-card{width:100%;padding:24px;min-width:0}
 .digital-card .btn{max-width:100%;white-space:normal;overflow-wrap:anywhere}
 .family-layout{grid-template-columns:minmax(0,1fr)}
 .family-layout h2{font-size:clamp(1.9rem,8vw,2.7rem)}
 .family-photo img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
 .location-content{padding:24px}
 .location-content a{max-width:100%}
 .footer-grid{max-width:100%}
}
@media(max-width:360px){
 .wrap{padding-left:14px;padding-right:14px}
 .brand-holder{flex-basis:122px;max-width:122px}
 .brand-logo img{width:122px}
 .mobile-nav summary{font-size:.8rem;padding:8px}
 .hero h1{font-size:2rem}
 .digital-card{padding:18px}
 .digital-card h3{font-size:1.5rem}
 .btn{padding:12px 14px}
}
/* v1.0 inner pages and accessible contact form */
.page-v1{padding-top:70px;padding-bottom:85px}.content-wide{width:100%;max-width:1100px;margin:0 auto}.page-v1 h1{font:normal clamp(2.5rem,5vw,4.3rem)/1.15 Georgia,serif;max-width:950px;margin:14px 0 25px}.page-v1 h2{font-size:clamp(1.55rem,2.4vw,2.2rem)}.page-v1 .lead{font-size:clamp(1.2rem,2vw,1.5rem);max-width:800px;line-height:1.55}.page-v1 p{max-width:840px}.kind-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:45px 0}.kind-card{padding:32px;background:#f7f4ef;border:1px solid #e8e0ec;border-radius:12px;scroll-margin-top:20px}.kind-card h2{margin:12px 0}.kind-card p{min-height:115px}.kind-card .btn{margin-top:12px}.fineprint{font-size:.88rem;color:#625c66}.steps{max-width:850px;padding-left:25px}.steps li{margin-bottom:20px}.family-page{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center}.family-page img{width:100%;height:auto;border-radius:12px}.contact-columns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);gap:55px;margin-top:40px}.contact-form{display:flex;flex-direction:column;gap:10px}.contact-form>label{font-weight:600;margin-top:10px}.contact-form input:not([type=checkbox]),.contact-form select,.contact-form textarea{font:inherit;width:100%;border:1px solid #aaa0b1;border-radius:6px;padding:12px;background:#fff;color:#34303a}.contact-form .privacy-line{display:flex;align-items:flex-start;gap:10px;font-weight:400}.contact-form .privacy-line input{margin-top:7px;flex:none}.contact-form button{border:0;cursor:pointer;align-self:flex-start;font:inherit}.contact-aside{background:#f7f4ef;border-radius:12px;padding:28px;align-self:start}.contact-aside h2{margin-top:0}.phone-large{font-size:1.35rem;font-weight:700}.form-status,.form-error{padding:14px;border-radius:6px;background:#eaf5ec}.form-error{background:#fff0f0}.hp-field{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}.btn-outline{background:transparent;border:1px solid #8d7ca2}.existing-portal{margin-top:25px}@media(max-width:760px){.page-v1{padding-top:42px;padding-bottom:55px}.kind-grid,.family-page,.contact-columns{grid-template-columns:1fr}.kind-card{padding:23px}.kind-card p{min-height:0}.contact-columns{gap:28px}.contact-aside{padding:23px}.page-v1 h1{overflow-wrap:anywhere}}


/* Version 1.0.2: nature photographs, emergency steps and compact mobile header */
.trifelsruhe-hero{position:relative;overflow:hidden;border-radius:12px;margin:26px 0 36px}
.trifelsruhe-hero img{width:100%;height:clamp(260px,42vw,470px);object-fit:cover;display:block}
.trifelsruhe-gallery{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;align-items:center;margin:35px 0}
.trifelsruhe-gallery img{width:100%;height:340px;object-fit:cover;border-radius:12px}
.emergency-call{background:#f7f4ef;border:1px solid #e7dfec;border-radius:12px;padding:24px;margin:28px 0 38px;max-width:780px}
.emergency-call p{margin:0}.emergency-call .btn{margin-top:14px}
.emergency-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:25px 0 35px}
.emergency-step{border:1px solid #e7dfec;background:#f9f7f4;border-radius:10px;padding:23px}
.emergency-step .step-number{font:700 1rem system-ui;color:#705b8a;letter-spacing:.08em}
.emergency-step h2{font-size:1.5rem;margin:12px 0}
.kundencenter-note{max-width:800px;background:#f7f4ef;padding:25px;border-radius:12px;margin:28px 0}
@media(max-width:760px){.trifelsruhe-gallery,.emergency-steps{grid-template-columns:1fr}.trifelsruhe-gallery img{height:auto;max-height:400px}.topbar{font-size:clamp(11px,3.25vw,15px);padding:8px 3px;white-space:nowrap}.topbar a{white-space:nowrap}.emergency-step{padding:19px}}
@media(max-width:360px){.topbar{font-size:10.5px}}

/* 1.0.3: small-screen CTA and footer refinements */
@media(max-width:600px){.contact-form button.btn{max-width:100%;white-space:normal;text-align:center}.footer-identity strong{font-size:clamp(1.4rem,6vw,2rem)}.contact-form .privacy-line{line-height:1.55}}

/* v1.0.4: Readable legal pages, preserving all WordPress-authored content. */
.legal-page .content-wide{max-width:1020px}
.legal-page h1{margin-bottom:42px}
.legal-content{max-width:880px;font-size:1.025rem;line-height:1.85;color:#38333e;overflow-wrap:anywhere}
.legal-content p{max-width:100%;margin:0 0 1.35em}
.legal-content h2{font-family:Georgia,serif;font-weight:400;font-size:clamp(1.6rem,3vw,2.15rem);line-height:1.25;margin:2.2em 0 .75em;color:#302a37}
.legal-content h3{font-size:1.3rem;line-height:1.35;margin:1.8em 0 .7em;color:#302a37}
.legal-content h4{font-size:1.12rem;margin:1.5em 0 .65em}
.legal-content ul,.legal-content ol{padding-left:1.5rem;margin:0 0 1.5rem}
.legal-content li{margin-bottom:.5rem}
.legal-content a{overflow-wrap:anywhere;text-underline-offset:3px}
.legal-content hr{border:0;border-top:1px solid #e4dfe9;margin:2rem 0}
.legal-content .wp-block-group{margin-bottom:1.6rem}
@media(max-width:650px){.legal-page h1{margin-bottom:26px}.legal-content{font-size:1rem;line-height:1.75}.legal-content h2{margin-top:1.7em}}

/* v1.0.5: Reduce unintended blank space before privacy-policy content only.
   WordPress blocks and cookie-consent shortcodes are retained unchanged. */
.privacy-legal-page .legal-content > .wp-block-spacer:first-child,
.privacy-legal-page .legal-content > .wp-block-spacer:nth-child(2),
.privacy-legal-page .legal-content > .wp-block-spacer:nth-child(3){height:0!important;min-height:0!important;margin:0!important;padding:0!important}
.privacy-legal-page .legal-content > p:empty,
.privacy-legal-page .legal-content > p:has(> br:only-child){display:none}
.privacy-legal-page .legal-content > :first-child{margin-top:0!important}
.privacy-legal-page h1{margin-bottom:28px}
@media(max-width:650px){.privacy-legal-page h1{margin-bottom:20px}}

/* v1.0.6: targeted small-screen typography refinements. */
@media (max-width: 420px) {
  .page-v1 .bestattungsarten-title {
    font-size: clamp(1.72rem, 8.1vw, 2.1rem);
    line-height: 1.18;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    letter-spacing: -.025em;
  }
  .emergency-call .btn {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    padding: 13px 10px;
    text-align: center;
    font-size: .94rem;
    line-height: 1.5;
    overflow-wrap: normal;
    word-break: normal;
  }
}
