/*
Theme Name: Frank Scheffer Techniek & Constructie
Theme URI: https://www.frankscheffer.nl
Author: Frank Scheffer
Description: Eigen responsive WordPress thema met werkzaamheden, projecten en contact.
Version: 7.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: frank-scheffer
*/
:root{--red:#b53527;--ink:#17252e;--muted:#586168;--line:#e5e8eb}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font:16px/1.6 Arial,sans-serif}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.wrap{width:min(1200px,92%);margin:auto}.site-header{background:#fff;position:sticky;top:0;z-index:99;box-shadow:0 2px 15px #0001}.header-inner{min-height:80px;display:flex;align-items:center;gap:25px;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px}.brand img{width:57px;height:57px;object-fit:contain}.brand strong{display:block;font:29px Georgia,serif;color:var(--red);line-height:1.1}.brand small{color:var(--red);font-size:12px}.nav{display:flex;gap:24px;align-items:center}.nav a{font-size:14px}.nav a:hover{color:var(--red)}.btn{display:inline-flex;align-items:center;gap:12px;padding:13px 22px;background:var(--red);color:#fff;border-radius:3px;font-weight:700;font-size:14px}.btn:hover{background:#8e261e}.btn-outline{border:1px solid #fff;background:transparent}.menu-toggle{display:none;background:none;border:0;font-size:28px}.hero{position:relative;min-height:520px;display:flex;align-items:center;color:#fff;background:#26343b center/cover no-repeat}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0b1820dc 0%,#0b18207a 50%,#0b182015 100%)}.hero .wrap{position:relative}.eyebrow{font-size:12px;letter-spacing:3px;text-transform:uppercase;font-weight:600}.hero h1{font:clamp(46px,6vw,78px)/.98 Georgia,serif;max-width:570px;margin:15px 0}.hero p{max-width:550px;font-size:18px}.actions{display:flex;gap:15px;flex-wrap:wrap;margin-top:25px}.services{display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:28px 0}.service{display:flex;gap:15px;padding:12px 18px;border-right:1px solid var(--line)}.service:last-child{border:0}.symbol{color:var(--red);font-size:32px;line-height:1}.service b{font-size:14px}.service p{margin:3px 0;font-size:13px;color:var(--muted)}section{scroll-margin-top:90px}.section{padding:76px 0}.soft{background:#f5f7f8}.split{display:grid;grid-template-columns:42% 58%;align-items:center;gap:45px}.split img{width:100%;height:390px;object-fit:cover}.section h2{font:clamp(34px,4vw,48px)/1.13 Georgia,serif;margin:10px 0 18px}.section p{color:#47535b}.section .eyebrow{color:#5c646a}.project-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:30px}.project{position:relative;overflow:hidden;background:#10232e;color:#fff}.project img{width:100%;height:180px;object-fit:cover;transition:transform .3s}.project:hover img{transform:scale(1.04)}.project div{padding:15px}.project b{display:block}.project small{color:#cfd7db}.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:25px}.benefits>div{padding:20px 0}.benefits b{display:block}.detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:35px}.detail{background:#fff;border:1px solid var(--line);overflow:hidden}.detail img{height:250px;width:100%;object-fit:cover}.detail .copy{padding:25px}.detail h3{font:28px Georgia,serif;margin:0}.contact-band{display:grid;grid-template-columns:1fr 1fr;background:#a93125;color:#fff}.contact-band .copy{padding:50px max(30px,calc((100vw - 1200px)/2));padding-right:40px}.contact-band h2{font:36px Georgia,serif;margin:0}.contact-band p{color:#fff}.contact-band img{width:100%;height:100%;min-height:270px;object-fit:cover}.footer{background:#202a30;color:#fff;padding:30px 0}.footer-inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;align-items:center}.footer small{color:#c7cdd0}.legal{font-size:12px;color:#c7cdd0}.page-title{background:#17252e;color:#fff;padding:65px 0}.page-title h1{font:50px Georgia,serif;margin:0}.content{padding:65px 0}.content h2{font:35px Georgia,serif}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.gallery img{width:100%;height:240px;object-fit:cover}.contact-links{display:flex;gap:20px;flex-wrap:wrap}.wp-block-image img{height:auto}@media(max-width:980px){.nav{gap:12px}.services,.project-grid,.benefits{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}.split img{height:330px}.brand strong{font-size:22px}}@media(max-width:720px){.menu-toggle{display:block}.nav{display:none;position:absolute;left:0;right:0;top:80px;background:#fff;padding:20px 5%;flex-direction:column;align-items:flex-start;box-shadow:0 8px 10px #0002}.nav.open{display:flex}.header-inner>.btn{display:none}.hero{min-height:480px}.services,.project-grid,.benefits,.detail-grid,.gallery{grid-template-columns:1fr}.service{border-right:0;border-bottom:1px solid var(--line)}.contact-band{grid-template-columns:1fr}.contact-band .copy{padding:35px 5%}.contact-band img{height:240px}.section{padding:50px 0}.project img{height:240px}}

.page-title p{max-width:680px;color:#e2e7e9;font-size:18px}.story{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center;padding:30px 0;border-bottom:1px solid var(--line);scroll-margin-top:105px}.story img{width:100%;height:300px;object-fit:cover}.story h2{margin:0 0 15px}.story p{color:var(--muted)}.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.contact-layout img{width:100%;height:380px;object-fit:cover}.muted{color:var(--muted)}.contact-links{margin:22px 0}.custom-logo-link img{max-height:60px;width:auto}.header-call{white-space:nowrap}@media(max-width:720px){.story,.contact-layout{grid-template-columns:1fr}.story img,.contact-layout img{height:250px}.page-title h1{font-size:38px}.brand strong{font-size:20px}}

.fs-editable{max-width:900px;margin:0 auto}.fs-editable p{line-height:1.7}

.tank-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:22px}.tank-gallery img{width:100%;height:150px;object-fit:cover}.hero{background-position:center 46%}.hero:before{background:linear-gradient(90deg,#0b1820e8 0%,#0b1820a8 48%,#0b182020 100%)}


/* v4.2: RVS tank photo as homepage background */
.hero{background-position:center 46%}
.hero:before{background:linear-gradient(90deg,rgba(9,20,27,.83),rgba(9,20,27,.52) 55%,rgba(9,20,27,.12))}

/* v4.4: logo replaces the brand text in the top navigation */
.header-inner{min-height:96px}
.brand{flex:0 0 auto}
.brand img,.brand .custom-logo-link img{width:170px;height:85px;max-height:85px;object-fit:contain}
@media(max-width:980px){.brand img,.brand .custom-logo-link img{width:140px;height:70px;max-height:70px}}
@media(max-width:720px){.header-inner{min-height:76px}.brand img,.brand .custom-logo-link img{width:124px;height:62px;max-height:62px}.nav{top:76px}}

/* v4.5 project photos */
.fs-project-photos{display:grid;gap:8px}.fs-project-photos img{width:100%;height:300px;object-fit:cover}.fs-photo-pair{grid-template-columns:1fr 1fr}.fs-photo-pair img{height:280px}@media(max-width:720px){.fs-project-photos img{height:230px}}

/* Installatietechniek: meer van de originele foto zichtbaar. */
.detail-grid .detail:nth-child(3) > img { object-fit:contain; background:#e9eaec; }

.terms-link{font-size:14px;color:#fff;text-decoration:underline;text-underline-offset:4px}.terms-link:hover,.terms-link:focus{color:#f1a69b}

/* v6.3: larger header logo, preserving existing layout and editable content */
@media (min-width:981px){
  .header-inner{min-height:112px}
  .brand img,.brand .custom-logo-link img{width:225px;height:102px;max-height:102px;object-fit:contain}
}
@media (min-width:721px) and (max-width:980px){
  .header-inner{min-height:100px}
  .brand img,.brand .custom-logo-link img{width:185px;height:88px;max-height:88px;object-fit:contain}
}
@media (max-width:720px){
  .header-inner{min-height:84px}
  .brand img,.brand .custom-logo-link img{width:148px;height:72px;max-height:72px;object-fit:contain}
  .nav{top:84px}
}

/* v6.4: larger logo and legible navigation, keeping v6.0 structure */
@media(min-width:981px){
 .header-inner{min-height:116px;gap:24px}
 .brand img,.brand .custom-logo-link img{width:275px;height:112px;max-height:112px;object-fit:contain}
 .nav{gap:25px}
 .nav a{font-size:17px;font-weight:600}
 .header-call{font-size:16px;padding:15px 23px}
}
@media(min-width:721px) and (max-width:980px){
 .header-inner{min-height:98px;gap:14px}
 .brand img,.brand .custom-logo-link img{width:195px;height:90px;max-height:90px}
 .nav{gap:12px}
 .nav a{font-size:15px}
 .header-call{font-size:15px;padding:12px 16px}
}
@media(max-width:720px){
 .header-inner{min-height:86px}
 .brand img,.brand .custom-logo-link img{width:170px;height:78px;max-height:78px}
 .nav{top:86px}
 .nav a{font-size:17px;font-weight:600}
}

/* v6.6: cropped logo removes the large blank margins in original JPG. */
@media(min-width:1101px){
 .header-inner{min-height:132px;gap:20px}
 .brand img{width:330px!important;height:auto!important;max-height:118px!important;object-fit:contain}
 .nav{gap:20px}.nav a{font-size:18px;font-weight:600;white-space:nowrap}
 .header-call{font-size:17px;padding:15px 21px}
}
@media(min-width:721px) and (max-width:1100px){
 .header-inner{min-height:106px;gap:12px}
 .brand img{width:235px!important;height:auto!important;max-height:92px!important}
 .nav{gap:11px}.nav a{font-size:15px;font-weight:600;white-space:nowrap}
 .header-call{font-size:15px}
}
@media(max-width:720px){
 .header-inner{min-height:92px}
 .brand img{width:205px!important;height:auto!important;max-height:82px!important}
 .nav{top:92px}.nav a{font-size:18px}
}

/* v6.7: explicit header sizing; override legacy styles without altering other sections */
@media (min-width:1101px) {
 .site-header .header-inner {min-height:142px; gap:26px;}
 .site-header .brand {flex:0 0 350px;}
 .site-header .brand img {display:block;width:350px!important;max-width:350px!important;height:auto!important;max-height:none!important;}
 .site-header .nav {gap:25px;}
 .site-header .nav a {font-size:20px!important;font-weight:600!important;line-height:1.35;}
 .site-header .header-call {font-size:18px!important;padding:17px 24px;}
}
@media (min-width:721px) and (max-width:1100px) {
 .site-header .header-inner {min-height:112px;}
 .site-header .brand img {width:225px!important;max-width:225px!important;height:auto!important;max-height:none!important;}
 .site-header .nav a {font-size:16px!important;}
}
@media (max-width:720px) {
 .site-header .brand img {width:205px!important;max-width:205px!important;height:auto!important;max-height:none!important;}
}

/* v6.9: sociale media in de footer; overige vormgeving ongewijzigd */
.footer-social{display:flex;align-items:center;gap:10px}
.footer-social a{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;color:#fff;border:1px solid #67737b;border-radius:4px;transition:background-color .2s,border-color .2s}
.footer-social a:hover,.footer-social a:focus-visible{background:#b53527;border-color:#b53527}
.footer-social svg{width:22px;height:22px;display:block}

/* Project cards with no featured image retain the original card dimensions. */
.project-grid .project:not(:has(img)) { min-height: 240px; }
